def nodes(self, data=False):
        if data:
            return iter(self.node.items())
        return iter(self.node)
Return an iterator over the nodes.
dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py/TimingGraph.nodes