nodes#

nodes(G)[source]#

Returns a NodeView over the graph nodes.

This function wraps the G.nodes property.