nodes_iter
non_neighbors
Enter search terms or a module, class or function name.
Returns all of the neighbors of a node in the graph.
If the graph is directed returns predecessors as well as successors.
graph : NetworkX graph
Graph to find neighbors.
node : node
The node whose neighbors will be returned.
neighbors : iterator
Iterator of neighbors