Home | History | Annotate | Download | only in tools

Lines Matching refs:to

23 def GetPath(graph, fro, to):
25 yields all paths from |fro| to |to|, starting with the shortest."""
30 if t == to:
62 def GenerateDot(fro, to, paths):
104 to = MatchNode(g, argv[2])
106 paths = list(GetPath(g, fro, to))
109 GenerateDot(fro, to, paths)
111 print 'These paths lead from %s to %s:' % (fro, to)
115 print 'No paths found from %s to %s.' % (fro, to)