diff options
author | Dante Catalfamo | 2021-07-02 18:15:31 -0400 |
---|---|---|
committer | Dante Catalfamo | 2021-07-02 18:15:31 -0400 |
commit | 87ae0896e8984f0f3ee4e4a5ea57589a21b69166 (patch) | |
tree | 531bd71fc1925d64ceab4d6f470e9dedefec46fb | |
parent | 38e98b05a930104f78fc34ca25064eeb77d3c2d7 (diff) | |
download | blog-87ae0896e8984f0f3ee4e4a5ea57589a21b69166.tar.gz blog-87ae0896e8984f0f3ee4e4a5ea57589a21b69166.tar.bz2 blog-87ae0896e8984f0f3ee4e4a5ea57589a21b69166.zip |
bad-auth: improve visibility
-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 '}' |