ConnectionCompleteContext<T> constructor

const ConnectionCompleteContext<T>({
  1. required Node<T> sourceNode,
  2. required Port sourcePort,
  3. required Node<T> targetNode,
  4. required Port targetPort,
  5. required List<String> existingSourceConnections,
  6. required List<String> existingTargetConnections,
})

Creates a connection complete context.

Parameters:

  • sourceNode: The source node of the connection
  • sourcePort: The source port of the connection
  • targetNode: The target node of the connection
  • targetPort: The target port of the connection
  • existingSourceConnections: IDs of existing connections from the source port
  • existingTargetConnections: IDs of existing connections to the target port

Implementation

const ConnectionCompleteContext({
  required this.sourceNode,
  required this.sourcePort,
  required this.targetNode,
  required this.targetPort,
  required this.existingSourceConnections,
  required this.existingTargetConnections,
});