Remove all edges specified in ebunch.
Parameters: | ebunch: list or container of edge tuples :
|
---|
See also
Notes
Will fail silently if the edge (u,v) is not in the graph.
Examples
>>> G=nx.path_graph(4)
>>> ebunch=[(1,2),(2,3)]
>>> G.remove_edges_from(ebunch)