Remove all edges specified in ebunch.
Parameters : | ebunch: list or container of edge tuples :
|
---|
See also
Notes
Will fail silently if an edge in ebunch is not in the graph.
Examples
>>> G = nx.Graph() # or DiGraph, MultiGraph, MultiDiGraph, etc
>>> G.add_path([0,1,2,3])
>>> ebunch=[(1,2),(2,3)]
>>> G.remove_edges_from(ebunch)