Updated the visualizer to emit a string.