def nodes_iter(self, data=False):
        if data:
            return iter(self.node.items())
        return iter(self.node)
Return an iterator over the nodes.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.nodes_iter