summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-dot.in
diff options
context:
space:
mode:
authorShu Shen <shu.shen@radisys.com>2015-02-10 21:20:12 -0800
committerBen Pfaff <blp@nicira.com>2015-02-13 09:27:37 -0800
commitd8a5cedab523a99cdc97539f0cde21bb7f4932ec (patch)
treefb3323a2f2ded4a3eb03201ac277e9a6e7375a6e /ovsdb/ovsdb-dot.in
parent9d078ec2f17adc7cceb2793687f8faa1f1c6f4f3 (diff)
downloadopenvswitch-d8a5cedab523a99cdc97539f0cde21bb7f4932ec.tar.gz
docs: Fix overlapping 'weak' edges in ovs-vswitchd.conf.db.5.
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>
Diffstat (limited to 'ovsdb/ovsdb-dot.in')
-rwxr-xr-xovsdb/ovsdb-dot.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in
index 006d7ed90..134ce2269 100755
--- a/ovsdb/ovsdb-dot.in
+++ b/ovsdb/ovsdb-dot.in
@@ -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,