# networkx.Graph.remove_edge¶

Graph.remove_edge(u, v)[source]

Remove the edge between u and v.

Parameters: u, v (nodes) – Remove the edge between nodes u and v. NetworkXError – If there is not an edge between u and v.

remove_edges_from()
>>> G = nx.path_graph(4)  # or DiGraph, etc