Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

networkx.classes.function.non_edges

non_edges(graph)[source]

Returns the non-existent edges in the graph.

Parameters
graphNetworkX graph.

Graph to find non-existent edges.

Returns
non_edgesiterator

Iterator of edges that are not in the graph.