From 87ae0896e8984f0f3ee4e4a5ea57589a21b69166 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Fri, 2 Jul 2021 18:15:31 -0400 Subject: bad-auth: improve visibility --- content/posts/WIP-how-bsd-authentication-works/gen_dot.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 '}' -- cgit v1.2.3