Converted the visualizer to only create Graphviz strings so it can be used anywhere.