| |
|
|
 |
|
Getting Started | Description | Source |
| Displaying an Existing Diagram | This is the easiest way to initialize the diagram web control, and is suitable for existing applications that have already created a diagram using the Windows version of the product. Provide a handler for the Page.Load event in the code-behind class of the Web Forms page hosting the diagram control and invoke the DiagramWebControl.LoadBinaryDocument(string filename) method to initialize the diagram from a serialized Essential Diagram document file. |  |  |
| Creating a New Diagram | The Essential Diagram API can be used to create a new diagram from scratch. This approach involves creating the required Essential Diagram objects such as symbols and links, and directly adding them the DiagramWebControl's Model. |  |  |
| Enabling Client Interactivity | The DiagramWebControl supports client interactivity through the use of a client-side image map and client-side JavaScript. Setting the diagram control's RenderImageMap property instructs the control to generate the required image map. The user actions supported straight out of the box include single and multiple node selection, node drag and drop, node tooltips, node URL links etc., |  |  |
|
|
|
|
|