getInputConnections method
Gets all input connections for a node
Implementation
List<Connection> getInputConnections(String nodeId) {
return connections.where((conn) => conn.targetNodeId == nodeId).toList();
}
Gets all input connections for a node
List<Connection> getInputConnections(String nodeId) {
return connections.where((conn) => conn.targetNodeId == nodeId).toList();
}