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


Rock and Roll

Posts: 685
Joined: Apr 6th, 2003
Diagramming for ASP.NET MVC, V1.5
May 29th, 2013 at 6:23am
Print Post  
We have released version 1.5 of MindFusion.Diagramming for ASP.NET MVC. It contains the following new features:

Node effects
Two visual effects, represented by GlassEffect and AeroEffect classes, can be applied to nodes. To apply an effect, create an instance of the respective class, set up its properties, then add the instance to the Effects collection of a node (or to Diagram.NodeEffects collection to apply it to all nodes). Effects can be added, removed or modified at any time and this will immediately reflect on the diagram. Effects of different types can be applied simultaneously. It is also possible to apply more than one effect of the same type.

Radial gradients
Nodes can be filled using radial gradients by passing objects in following format to setBrush. If the gradient should blend only two colors, they can be specified using color1 and color2 fields instead of colorStops.

Code
Select All
var brush =
{
 type: "RadialGradientBrush",
 colorStops:
 [
  { position: 0, color: "white" },
  { position: 0.5, color: "lightGray" },
  { position: 1, color: "blue" }
 ],
 x1: 20, y1: 20, radius1: 30,
 x2: 40, y2: 20, radius2: 80
};
node.setBrush(brush);
 



Multiple labels per link
The LinkLabel class allows multiple captions to be displayed for a single DiagramLink object. Link labels provide a set of properties allowing full customization of their display and positioning. Labels can also be arranged automatically to avoid overlapping nodes and other labels by setting LinkLabel.AutoArrange to true.

New events
~ nodeSelected and linkSelected events are now raised when an item is selected, either programmatically or by the user.
~ nodeDeselected and linkDeselected events are now raised when an item is deselected, either programmatically or by the user.
~ nodeDoubleClicked and linkDoubleClicked events raised when the user double clicks an item.
~ nodeCreating is now also raised while the user drags a node from the NodeListView control.

Miscellaneous
~ Call setVirtualScroll to enable virtual scrolling mode. In this mode, the canvas stays as big as its containing div, and its content is drawn with a translation bound to the div's scrollbar positions. This allow displaying large diagrams in browsers and on mobile devices where the size of HTML canvas elements is limited.
~ resizeToFitText method added to ShapeNode.
~ Improved support for nested containers.
~ DiagramView's *Script properties have been modified to chainable methods.
~ Use the FromRequest method of the DiagramView for easier recreation of the view's data after postback.
~ FallbackContent property allows specifying of a fallback content for the DiagramView.

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: 
https://www.mindfusion.eu/MvcDiagramTrial.zip
   
Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint