Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

networkx.classes.function.nodes

nodes(G)[source]

Returns an iterator over the graph nodes.