supports converting graphs to dot format and images