remove_node
Function Usage
Removes a node from a graph.
Prototype
1 | remove_node(node: Node) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
node |
Input |
Node to be removed. |
Returns
None
Constraints
- If the node is not of the Node type, TypeError is thrown.
- If the operation fails, RuntimeError is thrown.
Parent topic: Graph