~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to dotgraph.py

  • Committer: Aaron Bentley
  • Date: 2005-09-20 21:10:11 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050920211011-418e92aa03c57fc8
Added skip labels to edges

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        return "%s->%s%s;" % (self.start.name, self.end.name, op)
100
100
 
101
101
def make_edge(relation):
 
102
    if hasattr(relation, 'start') and hasattr(relation, 'end'):
 
103
        return relation
102
104
    return Edge(relation[0], relation[1])
103
105
 
104
106
def dot_output(relations):