4.3.3. networkx.classes.function.non_edges

networkx.classes.function.non_edges(graph)[source]

Returns the non-existent edges in the graph.

Parameters:

graph : NetworkX graph.

Graph to find non-existent edges.

Returns:

non_edges : iterator

Iterator of edges that are not in the graph.