We have released version 1.6 of MindFusion.Diagramming for JavaScript. It contains the following new features:
Node effectsTwo 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.
Glass effects are demonstrated on the following sample pages:
http://mindfusion.eu/demos/jsdiagram/StockShapes.htmlhttp://mindfusion.eu/demos/jsdiagram/Anchors.htmlMultiple labels per linkThe 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 allows 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.
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://mindfusion.eu/JsDiagramTrial.zip Enjoy!