graphviz open dot file window code example Example: ubuntu dot to png dot filename.dot -Tpng -o image.png