onConnectEnd property
Called when connection creation ends.
If targetNode and targetPort are non-null, a connection was successfully
created to that target. If both are null, the connection was cancelled.
position provides the graph coordinates where the event occurred.
Implementation
final void Function(
Node<T>? targetNode,
Port? targetPort,
GraphPosition position,
)?
onConnectEnd;