Rendering DOT Files

This week’s post is a bit more specialized than usual. DOT is famous and widely used markup language to describe graphs.

It is rare that someone is writing directly in this language. Instead, libraries are commonly used to save a graph structure in DOT format.

With the following command a valid DOT file can be rendered to a PNG picture file: dot -Tpng filename.dot -o filename.png