           c.setRadius(5);
            c.setStroke(3);
            c.setRouter(new draw2d.layout.connection.ManhattanBridgedConnectionRouter());
            return c;
         }
      }));


      // unmarshal the JSON document into the canvas
	  // (load)
	  var reader = new draw2d.io.json.Reader();
	  reader.unmarshal(canvas, jsonDocument);

	  // display the JSON document in the preview DIV
	  //
	  displayJSON(canvas);

	  // add an event listener to the Canvas for change notifications.
	  // We just du