Exemplo n.º 1
0
 def update_layout(self):
     nodes, groups = self._get_nodes_and_groups()
     d = Graph.get_drawing_data(self.dot, groups)
     d.addCallbacks(self._layout, self._out_of_date)
     d.addErrback(twisted.python.log.err)
Exemplo n.º 2
0
 def output_dot_description(self):
     nodes, groups = self._get_nodes_and_groups()
     print '\n'
     print Graph.generate_dot(groups)
     print '\n'