code: public void render(Graphics g) {
  		// last list generation
  		if (list == -1) {
  			list = GL.glGenLists(1);
  			GL.glNewList(list, SGL.GL_COMPILE);
  				render(g, diagram);
  			GL.glEndList();
  		}
  		
  		GL.glCallList(list);
  		
  		TextureImpl.bindNone();
  	}
docs: Render the diagram to the given graphics context
  
  @param g The graphics context to which we should render the diagram