Converted the visualizer to only create Graphviz strings so it can be used anywhere.
Updated
Added serialization of State to Json using JSON.NET example