Dot tree writer for graphviz