Warning

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

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

Iterator of edges that are not in the graph.