NetworkX
non_edges()
Returns the nonexistent edges in the graph.
Graph to find nonexistent edges.
Iterator of edges that are not in the graph.