This shell script and gvpr program show the phases (steps) that dot performs,
The dot document https://www.graphviz.org/documentation/TSE93.pdf) (refers to passes. The dot program refers to Phases. (e.g. dot -Gphase=1 myfile.gv will terminate after completing phase 1)