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.


PyGraph.remove_nodes_from(index_list, /)#

Remove nodes from the graph.

If a node index in the list is not present in the graph it will be ignored.


index_list (list) – A list of node indicies to remove from the the graph