Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
neighbors
Returns a list of nodes connected to node n.