Use a localised webpage for the StateGraphViewer, and send in SVG for new
states using javascript.