Per Debo: move graphviz routine out of Graph class