
| 
| 

| 
| | |  |  |  |  |  |  | Diagram Document Object Model |
|  |  |  |  |  |  | The Diagram Document Object Model represents the set of objects, which you can use to build a diagramming document. The Diagram Document Object Model is built on top of the Nevron DOM and is in the context of the Nevron Diagram .NET product simply called DOM.
Following is a brief summary of the most important DOM features:
- Fully Extensible

You can subclass any DOM object and override its behavior

- Interface Based Framework

DOM object features are neatly grouped in interfaces. The framework is in this way decoupled to a large extent from the actual object types it works with.

- Hierarchical Scene Management

DOM objects reside in hierarchical scenes composed from nodes and elements.

- Styles

The visual appearance of all DOM objects is controlled via inheritable styles.

- Permissions

Any action, which modifies DOM objects, must have the right permissions to do so. Permissions are also inheritable.

- Measurement Units

Currently supported are three measurement unit systems: GDI+, Metric and English, with complete set of the respective measurement units. You can also plug your own measurement unit systems (for example extend the component to support Japanese measurement units).

- Documents

Documents are the root containers of diagramming elements. They provide core support for services, view management and data exchange capabilities.

- Drawing Documents - drawing documents are assembled from stencils, layers and models. They provide you with the ability to define a drawing.

- Library Documents - library documents are assembled from masters. They provide you with the ability to store reusable drawing clippings.

- Masters

Masters are collections of diagram elements, which can be instanced in any drawing.

- Stencils

Stencils can display reusable content. Currently provided are arrowheads and point stencils, which can host any model. Stencils are specially optimized to display predefined content.

- Layers

The content of drawing document is neatly organized in layers. Layers can be nested.

- Models

Models are the primary diagram building blocks. Models can be freely transformed.

- Primitive Models - Implemented is a complete set of graphics primitives (strokes, closed figures and texts).

- Aggregate Models - Aggregate models are assembled from other primitive and/or aggregate models.

- Shapes

Shapes are aggregate models, which represent logical abstractions. Shapes can be involved in complex relationships. Shapes can have multiple ports, plugs and labels. Since any model can represent the geometry of a shape, shapes can even be nested.

- Groups

Models can be grouped and manipulated as if they were a single model.

- Graph Management

The DOM provides the necessary means to help you easily manage directed and undirected graphs. In this way the DOM is a powerful tool for graph drawing of any type.

- Routing

Models, which represent routes can avoid other models, which represent obstacles. Supported are Mesh and Grid routing.

- Persistency

Documents can be saved in XML, binary and SOAP format.

- Printing

Documents can be printed on single or multiple pages. Implemented is built in support for print preview.

- Image Export

An entire document or only portions of it can be exported to image of any type (JPG, PNG, BMP etc.). For documents defined in absolute measurement units (e.g. inches, millimeters etc.) you can also specify the target device resolution (helps you generate ready to print images).

- History

The entire DOM API is protected by history. Any property or method, which modifies the DOM objects state records history. The history can contain an unlimited number of actions. History actions can be grouped in transactions. Transactions can be committed or rolled back. Also nested transactions are supported . The history is implemented as a service so you can easily override it, suspend or lock it.

- Entities

Implemented is a large amount of entities, which facilitate batch operations on logically connected sets of nodes. Currently implemented are entities for basic layouts, transformation, translation, deletion, format and ZOrder operations.

- Event Handling

All events are fired from an event sink service, which provides you with the ability to consistently intercept all types of events regardless of the diagram you work with. Interactivity events (mouse, keyboard and drag drop events) support event bubbling.

|  |
|  |  |  |  |  |  | Shape Factories |
|  |  |  |  |  |  | Nevron Diagram for .NET comes equipped with numerous predefined vector shapes, which can come handy in many applications. The predefined shapes are consistently created by shape factories. Currently implemented are the following shape factories:
- Basic Shapes Factory

Produces basic shapes (Rectangle, Square, Ellipse, Circle, Rounded Rectangle, N-Grams, N-Gons etc.). A total of 16 basic shapes are provided.

- Flowcharting Shapes Factory

Produces shapes related to flowcharting (Process, Decision, Document, Data etc.). At total of 31 flowcharting shapes are provided.

- Network Shapes Factory

Produces shapes related to network modeling (Computer, Server, Printer, Terminal, Hub etc.). A total of 28 networking shapes are provided.

- Brainstorming Shapes Factory

Produces shapes related to brainstorming (Smiley face, Frowny face, Attention, Note etc.). A total of 36 brainstorming shapes are provided.

- Symbol Shapes Factory

Produces common symbol shapes (Poison, Warning, Recycle, Men, Women etc.). A total of 17 symbol shapes are provided.

- Traffic Signs Shapes Factory

Produces traffic signs shapes (Stop, No entry, Speed limit etc.) A total of 54 traffic sign shapes are provided.

- Simple Network Shapes Factory

Tailored to meat the requirements of the developers, which want to display large network diagrams, which need a low level of detail for the individual network particles.

- Electrical Symbols Shapes Factory

Added were many electical symols shapes, which will facilitate the display of simple and complex electrical schemes.

- Floor Plan Shapes Factory

These shapes target the users, which need to display floor plans. The floor plan shapes are defined in their actual size.

- Country Flags Shapes Factory

General purspose shapes, which represent country flags.

- Travel Shapes Factory

General purspose shapes for displaying travel networks and diagrams.

- Food Shapes Factory

Included are 22 shapes related to food.

- Weather Shapes Factory

Included are 26 shapes related to weather.

Stay tuned with Nevron Diagram for .NET since in each release we are going to add more and more shapes.
|  |
| |  |  |  |  |  |  | Diagram for Web Forms (ASP.NET AJAX) |
|  |  |  |  |  |  | - WebForm View

In the context of WebForms the interactive viewing of DOM documents is achieved with WebForm views, which support many image output formats as well as HTML image maps and postback events.

- AJAX Support for Web Forms

Nevron Diagram for .NET supports ASP.NET 2.0 AJAX 1.0. Nevron web controls allow AJAX callback handling of the following mouse events: click, double click, move, down and up. The web controls can be forcibly refreshed at client-side and auto-refresh feature is available.

|  |
| | | |
|
|