Example #1
0
 def show_dot_graph(self, graph, name):
     if option and option.viewdeps:
         from rpython.translator.tool.graphpage import GraphPage
         page = GraphPage()
         page.source = graph.as_dot()
         page.links = []
         page.display()
Example #2
0
 def view(self):
     """ NOT_RPYTHON """
     from rpython.translator.tool.graphpage import GraphPage
     page = GraphPage()
     page.source = self.as_dot()
     page.links = []
     page.display()