getInputConnections method

List<Connection> getInputConnections(
  1. String nodeId
)

Gets all input connections for a node

Implementation

List<Connection> getInputConnections(String nodeId) {
  return connections.where((conn) => conn.targetNodeId == nodeId).toList();
}