Model

7 Jun 20191 minute to read

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.