Regardless of whether you are creating a WinForm or an ASP.NET diagramming application, with Nevron Diagram for .NET you use the same API to create your diagram documents.
The set of objects you can use to construct a document is called document object model (DOM). The DOM of Nevron Diagram for .NET is very consistent and designed to be further extended.
It all starts from the type of document you want to construct. In the diagram you basically have two types of documents:
- Drawing Document - represents a diagram drawing. A drawing basically consists of shapes, residing in layers. Shapes can be linked to form complex graph relationships. Drawings can be automatically laid-out, visually edited and exported to various raster and vector formats (for example: BMP, PNG, SVG to name a few). Drawings can be printed.
- Library Document - represents a collection of reusable drawing clippings (masters), which you can drag and drop in the drawing document. Masters can contain one or more shapes and the connections between them.
Both types of documents are constructed from a consistent set of elements, the most notable ones being shapes. Documents are displayed inside different views in the context of WinForm and ASP.NET environments.