rustworkx.PyDAG.remove_nodes_fromΒΆ
- PyDAG.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.
- Parameters:
index_list (iterable[int]) β An iterable of node indices to remove from the graph.