iink-ts - v5.0.0
    Preparing search index...

    Function resolveEdgeNodes

    • Resolves which two Nodes an Edge connects. The server fills connected/ports once a diagram has more than one shape — trust it first, since it reflects the actual recognition rather than a geometric guess. Falls back to matching endpoints against node bounding boxes when connected is absent (e.g. a lone edge with nothing to connect to).

      Parameters

      Returns [TJIIXNodeElement, TJIIXNodeElement] | undefined

      Tuple of the source/target Node, or undefined if either end can't be resolved