Fixed issues with the graph visitor

* Fixed a bug where the visitor would visit the same edge twice
* Fixed calculus for graph vertices which need metrics from multiple edges
* Better separation of concerns for GraphvizVisitor, which used to parse the vertex when inside the visitEdge method