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.

  • <ej:Diagram runat="server" ClientIDMode="Static" ID="DiagramWebControl" Width="100%" Height="100%">
             <PageSettings PageWidth="2000" PageHeight="2000"/>

    define Diagram model

    To explore more model properties, refer to Model Properties.