From d8a5cedab523a99cdc97539f0cde21bb7f4932ec Mon Sep 17 00:00:00 2001 From: Shu Shen Date: Tue, 10 Feb 2015 21:20:12 -0800 Subject: [PATCH] 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 Signed-off-by: Ben Pfaff --- ovsdb/ovsdb-dot.in | 1 - 1 file changed, 1 deletion(-) 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, -- 2.20.1