This documents the development version of NetworkX. Documentation for the current release can be found here.
Returns the non-neighbors of the node in the graph.
- graphNetworkX graph
Graph to find neighbors.
The node whose neighbors will be returned.
Iterator of nodes in the graph that are not neighbors of the node.