workflow.graph.node.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/workflow > Graph > node
Graph.node() method
Retrieves a node by id.
Signature:
node(id: NodeId): Node<T>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| id | NodeId | the node identifier |
Returns:
Node<T>
Exceptions
- if the id is not found