summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/gen_dot.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/gen_dot.rb b/content/posts/WIP-how-bsd-authentication-works/gen_dot.rb
index d9e884a..d30790c 100644
--- a/content/posts/WIP-how-bsd-authentication-works/gen_dot.rb
+++ b/content/posts/WIP-how-bsd-authentication-works/gen_dot.rb
@@ -47,6 +47,8 @@ class FunctionDigraph
def emit
puts 'digraph G {'
+ puts 'rankdir=LR'
+ puts 'graph [pad="0.5", nodesep="1", ranksep="2"]'
@subgraphs.each(&:emit)
@pairs.uniq { |p| [p.to, p.from] }.each(&:emit)
puts '}'