def topological_nodes(self):
return nx.lexicographical_topological_sort(self._multi_graph,<EOL>key=lambda x: str(x.qargs))<EOL>
Yield nodes in topological order.

Returns:
    generator(DAGNode): node in topological order