Franck Pommereau

sorted nodes in snakes.plugins.gv

...@@ -90,7 +90,7 @@ class Graph (Cluster) : ...@@ -90,7 +90,7 @@ class Graph (Cluster) :
90 body = [] 90 body = []
91 lines = ["subgraph %s {" % self, self._dot_attr(self.attr, "graph"), 91 lines = ["subgraph %s {" % self, self._dot_attr(self.attr, "graph"),
92 body, "}"] 92 body, "}"]
93 - for node in self.nodes() : 93 + for node in sorted(self.nodes()) :
94 body.append(node) 94 body.append(node)
95 body.append(self._dot_attr(self.attributes[node])) 95 body.append(self._dot_attr(self.attributes[node]))
96 for child in self.children() : 96 for child in self.children() :
......