onConnectStart property
Called when starting to create a connection from a port.
Provides the source node and port. Check Port.isOutput or Port.isInput to determine the port direction. Useful for showing UI hints or validation messages.
Implementation
final void Function(Node<T> sourceNode, Port sourcePort)? onConnectStart;