From 38e98b05a930104f78fc34ca25064eeb77d3c2d7 Mon Sep 17 00:00:00 2001
From: Dante Catalfamo
Date: Fri, 2 Jul 2021 17:29:26 -0400
Subject: bsd-auth: work on graph node separation

---
 content/posts/WIP-how-bsd-authentication-works/gen_dot.rb | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'content/posts')

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 '}'
-- 
cgit v1.2.3