add support for images, generate dot graphs as png images in .dot directory