server/graph/force-simulation/topology.js
/**
   * Resolve source/target id of link with searching link-endpoint node.
   * @private
   */
Resolve source/target id of link with searching link-endpoint node.
@private
Resolve source / target id of link with searching link - endpoint node . @private
_resolveLinkRef() {
    for (const graph of this.networks) {
      for (const link of graph.links) {
        const source = this._findNodeByPath(link.sourcePath)
        const target = this._findNodeByPath(link.targetPath)
        this._errorLinkEndNodeNotFound('Source', source, link)
        this._errorLinkEndNodeNotFound('Target', target, link)
        link.sourceId = source.id
        link.targetId = target.id
      }
    }
  }
_resolveLinkRef ( ) { for ( const graph of this . networks ) { for ( const link of graph . links ) { const source = this . _findNodeByPath ( link . sourcePath ) const target = this . _findNodeByPath ( link . targetPath ) this . _errorLinkEndNodeNotFound ( 'Source' , source , link ) this . _errorLinkEndNodeNotFound ( 'Target' , target , link ) link . sourceId = source . id link . targetId = target . id } } }
Resolve source/target id of link with searching link-endpoint node.
Resolve source / target id of link with searching link - endpoint node .