nodes_iter

networkx.classes.function.nodes_iter(G)[source]

Return an iterator over the graph nodes.