def __iter__(self):
for each in self.nodes:<EOL><INDENT>yield each<EOL><DEDENT>
Return a iterator passing through all nodes in the graph.

            @rtype:  iterator
            @return: Iterator passing through all nodes in the graph.