Skip to content

Commit

Permalink
docs: Fix overlapping 'weak' edges in ovs-vswitchd.conf.db.5.
Browse files Browse the repository at this point in the history
Multiple weak edges between nodes at the same rank overlaps with each other in
a dot/graphviz diagram. The vswitchd.pic used in ovs-vswitchd.conf.db.5 suffers
this problem.

Removing "constraint=false" allows graphviz to rank the nodes using the weak
edages as well so that the nodes at the ends of a weak edge won't be at the
same rank and allows mutlple 'weak' edges to be visible.

Signed-off-by: Shu Shen <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
shushen authored and blp committed Feb 13, 2015
1 parent 9d078ec commit d8a5ced
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ovsdb/ovsdb-dot.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def printEdge(tableName, type, baseType, label):
options = {}
options['label'] = '"%s%s"' % (label, arity)
if baseType.ref_type == 'weak':
options['constraint'] = 'false'
options['style'] = 'dotted'
print "\t%s -> %s [%s];" % (
tableName,
Expand Down

0 comments on commit d8a5ced

Please sign in to comment.