non_edges#

non_edges(graph)[source]#

Returns the nonexistent edges in the graph.

Parameters:
graphNetworkX graph.

Graph to find nonexistent edges.

Returns:
non_edgesiterator

Iterator of edges that are not in the graph.