Add a means to debug the internal state of the diagram object.

Until we can render this new GL chart for real.

Change-Id: Iaf1a5fb903572c33d512705c9073b3795187f89b