Model in JQuery Diagram widget

The Diagram model represents the data to render the Diagram and to manipulate the Diagram elements. The following code illustrates how to define Diagram model.

  • javascript
  • //Creates diagram
    $("#Diagram").ejDiagram({
    	//Sets Diagram model properties
    	width: "100%",
    	height: "100%",
    	pageSettings: {
    		pageWidth: 2000,
    		pageHeight: 2000
    	}
    });

    Diagram Model

    To explore more model properties, refer to Model Properties.