createGraphViz method added