isInputToOutput property
bool
get
isInputToOutput
Whether this connection goes from an input port to an output port.
This is the reverse of the typical direction. Some applications may allow or disallow this based on their requirements.
Implementation
bool get isInputToOutput =>
sourceNode.inputPorts.contains(sourcePort) &&
targetNode.outputPorts.contains(targetPort);