diff options
-rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/gen_dot.rb | 4 |
1 files changed, 3 insertions, 1 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 d30790c..eceef28 100644 --- a/content/posts/WIP-how-bsd-authentication-works/gen_dot.rb +++ b/content/posts/WIP-how-bsd-authentication-works/gen_dot.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true SOURCE_DIR = File.join Dir.home, 'src', 'github.com', 'openbsd', 'src', 'lib', 'libc', 'gen' @@ -48,7 +49,8 @@ class FunctionDigraph def emit puts 'digraph G {' puts 'rankdir=LR' - puts 'graph [pad="0.5", nodesep="1", ranksep="2"]' + puts 'splines=ortho' + puts 'graph [pad="0.5", nodesep="0.5", ranksep="1.5"]' @subgraphs.each(&:emit) @pairs.uniq { |p| [p.to, p.from] }.each(&:emit) puts '}' |