This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.


PyDiGraph.remove_node(node, /)#

Remove a node from the graph.


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.