Note
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.
rustworkx.PyDAG.remove_edges_from#
- PyDAG.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.
- Parameters:
index_list (iterable) – An iterable of node index pairs to remove from the graph
- Raises:
NoEdgeBetweenNodes – If there are no edges between a specified pair of nodes.