Creating *.gv file for graph