NetworkX

Previous topic

edges_iter

Next topic

set_node_attributes

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.