aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2018-03-22 11:48:35 +0100
committerSimon Warta <[email protected]>2018-03-22 11:48:35 +0100
commita6a538144917eb64492a90734a09879cbe2ae8ab (patch)
tree0c3c8842b882e6edeb9df2489e2812088aedcb69 /src
parent245b68195d7fe80aab83fe44017fa611e0d5a7ae (diff)
Default to horizontal dot graph
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/show_dependencies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripts/show_dependencies.py b/src/scripts/show_dependencies.py
index 9185b8805..edf2d91e0 100755
--- a/src/scripts/show_dependencies.py
+++ b/src/scripts/show_dependencies.py
@@ -43,7 +43,7 @@ parser.add_argument('--format',
parser.add_argument('--engine',
nargs='?',
choices=["fdp", "dot"],
- default="fdp",
+ default="dot",
help='The graph engine (drawing mode only)')
parser.add_argument('--all', dest='all', action='store_const',
const=True, default=False,
@@ -198,6 +198,7 @@ if args.mode == "draw":
tmpdir = tempfile.mkdtemp(prefix="botan-")
g2 = gv.Digraph(format=args.format, engine=args.engine)
+ g2.attr('graph', rankdir='RL') # draw horizontally
for key in direct_dependencies:
g2.node(key)
for dep in direct_dependencies[key]: