summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2021-07-02 17:29:26 -0400
committerDante Catalfamo2021-07-02 17:29:26 -0400
commit38e98b05a930104f78fc34ca25064eeb77d3c2d7 (patch)
tree111b1a44334eddeed5bbf8299d4cc873176f8a9b
parent20767d53f8c93be8986e03f608bfcf2f9b49ffa9 (diff)
downloadblog-38e98b05a930104f78fc34ca25064eeb77d3c2d7.tar.gz
blog-38e98b05a930104f78fc34ca25064eeb77d3c2d7.tar.bz2
blog-38e98b05a930104f78fc34ca25064eeb77d3c2d7.zip
bsd-auth: work on graph node separation
-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 '}'