docs: Fix overlapping 'weak' edges in ovs-vswitchd.conf.db.5.
authorShu Shen <shu.shen@radisys.com>
Wed, 11 Feb 2015 05:20:12 +0000 (21:20 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Feb 2015 17:27:37 +0000 (09:27 -0800)
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 <shu.shen@radisys.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdb-dot.in

index 006d7ed..134ce22 100755 (executable)
@@ -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,