summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-dot.in
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-10-08 15:25:28 -0700
committerBen Pfaff <blp@nicira.com>2013-10-08 15:25:28 -0700
commit86c656829b053aa7344df401be1f2d09af2b2b63 (patch)
treeaf4c3b78a7eaf66b0bfa0d254b378e6b39f58a1c /ovsdb/ovsdb-dot.in
parentc4454e890796e06df34b7846520c05af46c7d9fc (diff)
downloadopenvswitch-86c656829b053aa7344df401be1f2d09af2b2b63.tar.gz
vswitchd: Improve the readability of the E-R diagram.
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'ovsdb/ovsdb-dot.in')
-rwxr-xr-xovsdb/ovsdb-dot.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in
index 85c126d15..8ea84738c 100755
--- a/ovsdb/ovsdb-dot.in
+++ b/ovsdb/ovsdb-dot.in
@@ -41,6 +41,7 @@ def schemaToDot(schemaFile):
schema = ovs.db.schema.DbSchema.from_json(ovs.json.from_file(schemaFile))
print "digraph %s {" % schema.name
+ print '\trankdir=LR;'
print '\tsize="6.5,4";'
print '\tmargin="0";'
print "\tnode [shape=box];"