dot Command Examples

Render an image of a linear directed network graph from a graphviz file. Layouts: dot, neato, twopi, circo, fdp, sfdp, osage & patchwork. More information: https://graphviz.org/doc/info/command.html.

dot -T {{png}} -O {{path/to/input.gv}}

dot -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}

dot -T {{format}} -O {{path/to/input.gv}}

echo "{{digraph {this -> that} }}" | dot -T {{gif}} > {{path/to/image.gif}}

dot -?