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).
Resolves which two Nodes an Edge connects. The server fills
connected/portsonce 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 whenconnectedis absent (e.g. a lone edge with nothing to connect to).