News & Events

Visualise the output of .dot file using GraphViz / dot (Linux)

Something I managed to miss from earlier Graph related posts, was how to visualise the graph using GraphViz

With your output .dot file you can simply call:

dot -Tps filename.dot -o outfile.ps

Will generate ps file for the jpg version you can simply modify the line to:

dot -Tjpeg filename.dot -o outfile.jpg

Simple an easy?


outfile_mgStuart James