print the tree with dot in a png diagram.