Model in EJ 1 ASP.NET Core Diagram

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>

    Model_img1

    To explore more model properties, refer to Model Properties.