Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for ASP.NET MVC, V1.4 (Read 4839 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 691
Joined: Apr 6th, 2003
Diagramming for ASP.NET MVC, V1.4
Feb 15th, 2013 at 1:29pm
Print Post  
We have released version 1.4 of MindFusion.Diagramming for ASP.NET MVC. It contains the following new features:

Table Nodes
A TableNode displays tabular data, and can be used to represent table schemas in database diagrams or classes in class-hierarchies. A table contains cells arranged in a grid, and every cell can display text and/or image. Cells, columns and rows can be customized in various ways - there are properties available for setting their extents, style, image and text alignment. The number of cells in a table's grid can be programmatically changed by calling methods such as redimTable, insertRow and insertColumn. If a table contains many rows, you can let users scroll them up or down by calling the setScrollable method.

Container Nodes
A ContainerNode can contain other diagram nodes. When a container is moved, its child nodes move too. Containers can be nested one within another to unlimited depth. They can be folded to a smaller size, hiding their child items, and unfolded to show content again. Nodes inside a container can be linked to nodes both inside and outside of it. If a link connects items in the same container, the container is not considered an obstacle by the auto-routing algorithm.

Styles and Themes
An instance of the Style class can be used to set items' appearance properties as a single unit via the setStyle method. In order for style attributes to be used, the respective local appearance properties of a DiagramItem objects must have undefined or null values. If an item's Style does not define a value for some attribute, it is looked up in the styling hierarchy, first in the diagram's Style, next in the current Theme, and finally in the set of default styles defined for each item class.

Diagram items can now cast shadows. The shadow color is specified via the setShadowColor method and the offset of a shadow from its item is set via setShadowOffsetX and setShadowOffsetY methods. Shadows aren't rendered if getEffectiveShadowColor returns null or undefined value.

One-way layout
The OneWayLayout class ensures that links enter into nodes from the same general direction and exit them from the opposite side. If the graph contains cycles, some links bend around the nodes to keep the enter/exit direction consistent. The algorithm aims to minimize the number of such links.

Parallel layouts (on server side)
The .NET 4 version of MindFusion.Diagramming takes advantage of the Task Parallel Library (TPL) to enable parallelism on the different layout algorithms. Set the EnableParallelism property on the Layout class to true to enable arranging different subgraphs on different threads to possibly improve performance on multiprocessor systems. In addition, the maximum degree of concurrency can be manipulated through the MaxDegreeOfParallelism property. Note that only independent subgraphs are processed in parallel, so the SplitGraph property of layout classes that provide it must also be set.

Preserve order in tree layout (on server side)
The Balance property of TreeLayout can be set to Preserve to keep the original geometric order of child nodes when arranging them under their parent. This can be used to arrange tree branches in a specific order by first positioning them in increasing horizontal or vertical positions.

~ The Locked property can be used to disable interaction with a diagram item.
~ Improved rendering speed when changing items' appearance properties.
~ Call the setTooltip method to associate tooltip text with an item. The tooltip appears when the mouse pointer hovers over an item for a second.
~ Specify the line width of item frames via the setStrokeThickness method.
~ initializeNode and initializeLink events are raised when users start drawing a node or a link interactively.
~ The NodeListView control can now host table and containers. The addBox and selectBox methods have been replaced by addNode and selectItem methods.
~ The setStartPoint and setEndPoint methods of links provide shortcuts for setting the first and last points in ControlPoints.

Registered customers with an active upgrade subscription can download the licensed version from the clients area on our site.

A trial version is available for download here:
Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint