|Diagram for .NET Overview|
Nevron Diagram for .NET - the smart way to extend your WinForms and ASP.NET applications with interactive displays of graphs, flowcharts, networks, maps, UML and general purpose diagrams. It is a complete diagramming solution, packed with many interactivity features, shapes, automatic layouts, stunning visual effects and comes equipped with ready to use controls to help you boost your application development. Carefully crafted to meet different requirements and specific business needs, it provides unmatched extensibility options, which will help you to integrate the solution better into the context of your particular project.
Nevron Diagram for .NET features:
- Advanced automatic graph and tree layouts
- Numerous interactivity and editing features
- Hundreds of predefined shapes and extensibility options
- Tree/Graph Data Importers ... And much more...
You do not have the Flash Player required for this content to be displayer correctly.
|Shapes and Groups|
When constructing diagrams, you basically work with shapes. In Nevron Diagram for .NET there are two types of shapes:
- 2D shapes
2D shapes represent boxes, containing vector or raster primitives and text.
2D shapes are also called simply shapes.
- 1D shapes
1D shapes represent lines with different geometry and behavior,
which interconnect other shapes. 1D shapes are often called connectors.
Nevron Diagram for .NET provides an extensive set of predefined shapes (see Predefined Shapes),
but also lets you create custom shapes by simply composing drawing primitives
(lines, polylines, curves, rectangles, ellipses, text blocks etc.)
All types of shapes can be grouped to create groups. Groups can also be by preference 1D or 2D.
Groups act as if they are a single shape, but are in fact composed from other shapes.
Groups can be used for the creation of custom shapes.
All 1D shapes have plugs, while both 1D and 2D shapes can have an arbitrary number of ports.
A diagram with connections is thus primarily constructed by connecting plugs to ports.
Nevron Diagram for .NET also supports an extended type of connection,
which is performed by inward and outward ports - e.g. shapes can be connected by ports too.
In Nevron Diagram you can convert a 1D shape to a 2D shape and vice versa via a single property.
All types of shapes can have control points. Control points are used to visually change the
appearance of a shape by simply dragging them.
All types of shapes can have an arbitrary number of labels.
Labels can be anchored to specific aspects of the shape.
Nevron Diagram for .NET provides you with built-in options to consistenly customize the behavior of different diagram elements.
Following is a brief overview of the most important behavior customization features:
Protection helps you protect certain diagram element aspects from being changed or viewed by the user.
For example: you can protect shapes from being moved, resized, printed, exported to an image, deleted etc.
- Interaction style
The interaction style defines the aspects of a shape, for which a view must create trackers (visual editors with handles),
when the shape is selected.
For example: when a 2D shape is selected, the view will create trackers for its bounds, rotation angle and pin point.
If you want to remove the rotation angle and pin point trackers, you just have to apply the desired interaction style to the shape.
- Translation slaves
Translation slaves lets you specify the shapes, which are automatically translated when a certain shape is translated.
This helps you build rigid structures.
You won't find many diagram components, which work transparently with different measurement units.
In Nevron Diagram for .NET you can use Metric, English and pixel units to define your drawing content measurements.
The component also provides support for drawing scale, which lets you work with either too small or too large drawings
(for example: diagrams measured in nanometers or kilometers).
The automatic arrangement of diagrams is an indispensable feature,
especially when diagrams are either too large or are automatically generated.
Nevron Diagram for .NET comes equipped with a sophisticated set of automatic layouts.
Following is a brief overview:
- Obstacle Avoidance Routing
The obstacle avoidance routing of routable connectors addresses user laid-out diagrams in which certain connectors
must be automatically rerouted not to cross any obstacles (shapes) in their path.
Nevron Diagram for .NET provides support for both Mesh and Grid connectors routing, which is automatically performed.
Addressed are issues like minimal bendings, port headings etc.
- Tree Layouts
Nevron Diagram for .NET provides an extended set of automatic layouts, which deal with the shapes placement
and connectors routing in the case of diagrams, representing trees. Implemented is the following set of tree layouts:
- Layered Tree Layout
Layouts the tree vertices in layers.
Supports breadth compaction.
Produces both straight line and orthogonal tree drawings.
Supports layout direction (top-to-bottom, left-to-right etc.)
- Compact Depth Tree Layout
The depth arrangement of the vertices is as compact as possible.
This layout supports breadth compaction.
Produces both straight line and orthogonal tree drawings.
Supports layout direction (top-to-bottom, left-to-right etc.)
- Tip Over Tree Layout
Layouts the children vertices of a vertex in either a single row or a single column.
The children placement can be specified on a per-vertex basis. Produces orthogonal tree drawings.
- Balloon Tree Layout
Layouts the children vertices in a single circle around its parent vertex.
The children angular range can be controller.
Produces straight line tree drawings.
- Graph Layouts
Nevron Diagram for .NET provides an extended set of automatic layouts, which deal with the shape placement
and connector routing in the case of diagrams, representing graphs. Implemented is the following set of graph layouts:
- Layered Graph Layout (Hierarchical Graph Layout)
This layout distributes vertices to layers.
It tries to minimize the number of edge crossings and edge bends.
Supports layout direction (top-to-bottom, left-to-right etc.).
Produces polyline graph drawings.
- Orthogonal Graph Layout
This layout tries to display the graph only with orthogonal edges and tries
to minimize the drawing area, edge crossings and edge bends.
- Symmetrical Graph Layout
This is a force directed layout, which aims to produce a straight line graph drawing with uniform edge lengths.
It couples attractive and repulsive forces, which balance each other at user-specified desired edge length.
Because of that the produced drawings tend to be symmetrical.
- Spring Graph Layout
This is a force directed layout, which aims to produce a straight line graph drawing, which reflects the nature of the graph.
It couples an electrical force (repels the vertices, which are close to each other)
and a spring force (tries to enforce a certain distance between connected vertices).
The parameters of the spring force can be specified on a per edge basis
(e.g. some edges can be longer and/or stiffer than others).
- Barycenter Graph Layout
This is a force directed layout, which splits the graph into fixed and free vertices.
It places the fixed vertices at a strictly convex polygon and then places the free vertices
at their barycenter (center of mass). This layout produces straight-line graph drawings.
- Radial Graph Layout
This is a circular graph layout, which layouts the graph in concentric circles.
Produces straight-line graph drawings.
- Cells Layouts
Sometimes it is needed to arrange only the vertices of the graph.
In these cases each vertex can be treated a cell.
Nevron Diagram for .NET implements the following cells layouts:
- Stack Layout
The stack layout represents a directed, constrained cells layout, which stacks the cells in horizontal or vertical order.
Depending on the layout direction, the layout is constrained by either width or height.
- Flow Layout
The flow layout represents a directed constrained cells layout, which arranges the cells in horizontal or vertical lanes.
The flow layout does not preserve tabular metrics.
- Table Layout
The table layout represents a directed constrained cells layout, which arranges cells in a tabular manner (e.g. preserves tabular metrics).
- Dock Layout
The dock layout represents a space eating cells layout, which places vertices at per-vertex
specified docking areas of the currently available layout area.
|Thick client (WinForms) and Visual Editing|
Nevron Diagram for .NET provides the leading built-in support for developing thick client diagramming applications.
- Ready to use Controls
Nevron Diagram for .NET comes equipped with several ready to use controls, which can help you to create a standalone diagramming application in minutes.
In fact, the Diagram Designer application, which is included in the package, is built by only assembling the following controls:
- Drawing View
The drawing view helps you to display and edit drawing documents.
Drawing views are feature-rich and help you to zoom, pan, stretch and fit documents.
Drawing views can edit numerous shape features via interactive editors (trackers).
- Library View
The library view helps you to display and edit library documents.
You can drag and drop shapes from the library view to the drawing view and vice versa.
- Pan and Zoom Control
The pan and zoom control helps you to display a bird's eye view of the document, which is being edited in its master drawing view.
It also lets you interactively pan and zoom the master drawing view.
- Diagram Command Bars Manager
The diagram command bars manager helps you to visualize and execute the set of predefined commands,
which can be performed on drawing and library views.
- Diagram Properties Browser
The diagram, properties browser helps you to instantly edit the properties of the document,
the active layer, the selected element or the view.
- Diagram Status Bar
The diagram status bar displays important information about the current state of a drawing view
(size of the selected element, keyboard state, measurement unit etc.)
Nevron Diagram for .NET has support for Undo/Redo that works for everything that the user does.
The support for Undo/Redo is deeply integrated in the product and provides you with a transaction based programming model
- this means that not only user actions, but also programmable actions can be undone and redone.
Nevron Diagram for .NET takes a radical approach towards processing the user gestures in both drawing and library views.
All UI events are processed via tools, which are maintained by a controller, assigned to each view.
This helps you to easily configure the way, in which the user interacts with your diagram, which is achieved by simply enabling/disabling certain tools.
If the myriad of predefined tools does not fit in your particular integration case, you can enrich your application by implementing custom tools.
- Advanced Visual Aids
Nevron Diagram for .NET has the industry leading support for visual aids. Following is a brief overview:
All operations, which the user performs with shapes, are previewed.
For example: if you move shapes, drag and drop shapes, rotate or resize shapes, the diagram will automatically generate previews for the shapes, upon which the operation is performed.
This helps the user to see the effect of the action, before it is actually committed.
All previewed actions can be canceled by pressing the Esc key.
Previews are smartly snapped. Snapping is context sensitive.
For example, if you move a connector plug, it tries to snap to inward ports first.
If you move a shape, it tries to snap its outward ports to inward ports first.
If you rotate a shape, the diagram tries to snap the rotation angle and so forth.
Snapping can be tuned in numerous ways.
- Grid and Rulers
All previews can be snapped to grid lines and ruler ticks.
The grid and ruler components are built in each drawing view.
Both the grid and rulers have smart scales - for example, if you zoom in/out the diagram,
they try to adjust their tick steps automatically, in order to fill the view port area in the best way
(e.g. automatically increase or decrease the step).
They can of course have a fixed step too, if you prefer.
Both grid and rulers can operate in different measurement units.
- Auto scrolling
Auto-scrolling helps the user to scroll the view, while moving shapes, by just moving the mouse close the view rims.
- Attention to detail
Nevron Diagram for .NET pays great attention to visual aids details.
For example: The cursors, which appear on resize handles, are properly oriented.
Many operations accept Ctrl/Shift modifications (Ctrl + Move for example duplicates a shape).
Tooltips appear on handles, control points, rulers etc.
Connection ports are highlighted, to indicate connection.
Selection target shapes are highlighted.
Moved region bounds are projected on the rulers.
Mouse cursor position is projected on rulers.
Multiple moved shapes bounds are displayed. And many more…
|Thin client (ASP.NET) and AJAX|
Nevron Diagram for .NET provides built-in support for developing interactive thin client diagramming applications.
It can operate either in Postback Mode or in AJAX mode.
Following is a brief description of the thin client modes:
- ASP.NET AJAX Mode
Nevron Diagram for .NET comes with a powerful, yet easy to use built-in set of AJAX interactivity styles.
It is based on the Nevron AJAX Framework, which is a reliable, fault tolerant and cross-browser compatible
into an interactive client side application with flicker-free asynchronous image updates.
Following is a brief overview of the AJAX features of Nevron Diagram for .NET:
- Refresh and Auto Refresh
The diagram inside your web page can be configured to refresh itself within a specified update interval
by simply enabling auto refresh and implementing the server side logic that will modify the diagram on refresh.
- Client Side AJAX Tools
Most of the Nevron Diagram for .NET AJAX functionality is based on the controller/tools architecture.
Pure client side tools that work with an updateable diagram image are the Tooltip tool, the Dynamic cursor tool
and the Browser redirect tool.
In addition, a set of tools is available that intercept the user input and route it via AJAX calls to the server for processing.
All mouse events can be enabled for AJAX routing, helping you to create drill-down functionality and add hover effects.
The controller/tools architecture allows you to easily extend the AJAX functionality by creating new custom tools.
- Reliability and Fault Tolerance
You should think of an AJAX web page as of a classical client-server application.
The server is your ASP.NET AJAX enabled web form.
Client and server communicate asynchronously and once initialized, the client runs independently from the server and is operational even if the server is unavailable.
The Nevron AJAX Framework implements all the necessary logic, required to adequately notify
the user of server unavailability and to resume operation when the connection to the server is restored.
- ASP.NET Postback Mode
Nevron Diagram for .NET provides a set of useful features that help you to add interactivity to your web application,
while sticking to the more traditional and simple postback technology:
- Interactive Image Maps
Nevron Diagram for .NET can send an HTML image map to the client browser,
which allows you to build web applications with drill down capabilities.
The interactive image map helps you to add the following interactivity to your diagram:
- client side browser redirect, with configurable target URL for every diagram element;
- dynamic cursor, that changes when the user hovers over diagram elements
- client side tooltips.
It also provides a way to inject client side script blocks to be executed on user input on per-diagram element basis.
- SVG Image Response
The SVG image response sends to the client a rich vector graphics image.
This helps you to have the diagram image rescaled in the web browser without loss of quality,
which would be the case if rescaling raster format images.
The SVG format also allows for client side interactivity like mouse hover effects.