output graph of images to dot (graphviz)