Dot is no longer my friend. What can I do? (10h SVG Render Process)

  • This document explains the phases, but uses the word pass.
  • This issue added debugging information to the output (if -v added to the command line)
  • Here is an issue to document the phase attribute - still a future item

Here is a Linux command line that uses phase. It provides run times for each phase (additive). The stdout files show how dot builds the final graph and the stderr files help one understand what fast & slow look like.

f=myFile.gv;
T=svg;
for P in 1 2 3 4 999;do    # 999 means run completely
  F=${f%.*}.$P;
  echo -e "\n$F" >&2
  time -p dot -v -Gphase=$P $f -T$T  -o$F.$T 2>$F.errs ;
done
1 Like