rustworkx.PyDiGraph.remove_node#
- PyDiGraph.remove_node(node, /)#
Remove a node from the graph.
- Parameters:
node (int) – The index of the node to remove. If the index is not present in the graph it will be ignored and this function will have no effect.