EdgeDrawCancelReason
since v1.2.0EdgeDrawCancelReason =
"noTarget"|"invalidConnection"|"invalidTarget"
Reason an edge draw gesture was cancelled.
noTarget— the user released on empty space (no target node/port snapped)invalidConnection—validateConnection()returned falseinvalidTarget— the target node doesn’t exist or the target port has wrong type