getTargets (name, excludeSubflows) {
                const targets = registry.name[name] || []
                if (excludeSubflows) {
                    return targets.filter(e => e.isSubFlow !== true)
                }
                return targets
            }
Get a list of targets registerd to this name
@param {string} name Name of the target
@param {boolean} [excludeSubflows] set `true` to exclude
@returns {[LinkTarget]} Targets registerd to this name.