From: Wolfgang Bangerth Date: Wed, 15 Jan 2020 20:52:30 +0000 (-0700) Subject: Give edges between same-kind tutorials a larger weight. X-Git-Tag: v9.2.0-rc1~650^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b223adbb8332f08a34586fa9af9a074d8adeb872;p=dealii.git Give edges between same-kind tutorials a larger weight. --- diff --git a/doc/doxygen/scripts/steps.pl b/doc/doxygen/scripts/steps.pl index 1c66735f1b..1f466e5c56 100644 --- a/doc/doxygen/scripts/steps.pl +++ b/doc/doxygen/scripts/steps.pl @@ -168,10 +168,23 @@ foreach $step (@ARGV) # Determine the style of the arrow that connects # the two nodes. If the two nodes are of the same # kind, use the same color as the nodes as this makes - # reading the flow of the graph a bit easier. + # reading the flow of the graph a bit easier. Furthermore, + # set the edge weight to 5 (instead of the default of 1) + # to try and keep programs of the same kind together. The + # exception is the "basic" tutorial programs: these are + # going to be connected by edges of weight 100, ensuring + # that they are all essentially aligned vertically. if ($kind_map{$source} eq $kind_map{$destination}) { $edge_attributes = "color=\"$colors{$kind_map{$source}}\","; + if ($kind_map{$source} eq "basic") + { + $edge_attributes .= "weight=100,"; + } + else + { + $edge_attributes .= "weight=5,"; + } } # If the destination is a code gallery program, used a dashed line