getOutputConnections method

List<Connection> getOutputConnections(
  1. String nodeId
)

Gets all output connections for a node

Implementation

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