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.