Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.classes.function.non_edges

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 of edges that are not in the graph.

Return type

iterator