adding logic to handle GraphVis png generation when GraphVis is installed