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


Rock and Roll

Posts: 564
Joined: Apr 6th, 2003
Diagramming for ASP.NET, V5.1
Jun 9th, 2014 at 2:03pm
Print Post  
We have released version 5.1 of NetDiagram. It contains the following new features:

Canvas mode improvements
~ undo / redo support: call diagram.setUndoEnabled(true) on client side to start tracking changes. Call undo() or redo() methods to restore diagram state. Actions cannot be undone after postback;
~ animations: the Animation JavaScript class can be used to animate values of various properties of nodes and links. An example is available at http://mindfusion.eu/_samples/animations/Animations.html
~ clipboard support: call the copyToClipboard, cutToClipboard and pasteFromClipboard methods to copy or paste selected items;
~ the swimlane grid is now rendered in Canvas mode;
~ the magnifier tool is now supported in Canvas mode;
~ ModificationStart, AutoResize and AutoScroll properties now work in Canvas mode;
~ enterInplaceEditMode and leaveInplaceEditMode events raised when the control shows or hides the in-place edit box;
~ linkPointed and nodePointed events raised when the mouse hovers over an item;
~ SelectOnly behavior is now supported in Canvas mode;

Intellisense support
The package now includes a MindFusion.Diagramming-vsdoc.js file providing code completion information. To load it in Visual Studio, add e /// <reference path="MindFusion.Diagramming-vsdoc.js" /> tag to the top of your script files. Use the static Diagram.create and Diagram.find methods instead of $create and $find to let Visual Studio infer the type of returned Diagram objects correctly.

Node list control
The NodeListView is a listbox control that can host any type of DiagramNode -derived objects. Nodes from the NodeListView control can be dragged onto the Diagram canvas, and when dropped will create a clone of the selected node at the mouse pointer position. NodeListView is supported in ImageMap and Canvas modes.

Resize multiple nodes
Now it is possible to resize multiple selected nodes simultaneously. To enable that, set the AllowMultipleResize property to true. When enabled, dragging a corner or side adjustment handle of any node resizes all nodes in the selection.

Export Visio 2013 files
The Visio2013Exporter class can export the content of Diagram and DiagramDocument objects to Visio 2013 VSDX files. In order to use it, add a reference to the MindFusion.Diagramming.Export.Visio.dll assembly. Similarly to the VDX format exporter, Visio2013Exporter relies on a template file, called Visio2013.vxt, containing some boilerplate Visio XML code. The template must be either located in same folder as the application assemblies, or its path must be specified via the TemplatePath property. At this time the exporter supports shapes from Visio basic stencil. Support for more shapes will be added upon request.

Visio2013Importer improvements
~ The importer now supports Visio group shapes. Child shapes in groups are no longer lost when importing, and their corresponding diagram nodes are attached to the corresponding group node.
~ Visio NURBS curves are now imported as Bezier-style links.
~ Fix for importing connectors with applied rotation transform.
~ Shapes with a ‘hidden’ attribute in master definition are now imported as invisible items.

Headers and footers in PDF
PdfExporter can now add headers and footers to exported pages. To specify their contents and font, set the HeaderFormat, HeaderFont, FooterFormat and FooterFont properties. Adding a %P placeholder to HeaderFormat or FooterFormat will render the current page number at its position.

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