Adds a node. If a node with the same ID already exists, it is replaced.
(node: N)
| 59 | |
| 60 | /** Adds a node. If a node with the same ID already exists, it is replaced. */ |
| 61 | addNode(node: N): void; |
| 62 | /** Adds multiple nodes. Existing nodes with the same IDs are replaced. */ |
| 63 | addNodes(nodes: N[]): void; |
| 64 | /** Updates a node by merging a partial object. No-op if the node does not exist. */ |
no outgoing calls
no test coverage detected