Model

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.

  • razor
  • //Creates diagram
        <div>
           <ej-diagram id="diagram" width="1000px" height="600px" enable-context-menu="false"></ej-diagram>
        </div>

    To explore more model properties, refer to Model Properties.