Model

23 Sep 20201 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.

  • 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.