EdgeRelinkCancelReason
since v1.4.0EdgeRelinkCancelReason =
"noTarget"|"invalidConnection"|"cancelled"
Reason an edge relink gesture ended without changing the edge.
noTarget— the endpoint was dropped on empty canvas while dangling edges are disabled, ordanglingEdges.shouldKeepOnDropreturned false for the detached edgeinvalidConnection— the drop target failed validation: it was rejected bylinking.validateConnection(context reasonrelink), or it is not a valid target at all (hidden node, hidden or missing port, port with the wrong direction)cancelled— the gesture was aborted (Esc key, NgDiagramService.cancelActiveInteraction, or another gesture took over the pointer), or the endpoint was dropped back on its original node and port, which changes nothing