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_edges_from(index_list, /)#
Remove edges from the graph.
Note if there are multiple edges between the specified nodes only one will be removed.
index_list (list) – A list of node index pairs to remove from the graph
NoEdgeBetweenNodes – If there are no edges between a specified pair of nodes.