We have released version 2.6 of MindFusion.Diagramming for ASP.NET MVC. It adds the following new features:
Resize table columns and rowsColumns and rows of a TableNode can now be resized interactively if its AllowResizeColumns or AllowResizeRows properties are enabled. In order to resize, move the mouse pointer to the border line on column's right side or row's bottom side until it shows resize cursor and start dragging. The control raises tableColumnResizing and tableRowResizing events to let you validate new size or prevent resizing some elements. The tableColumnResized and tableRowResized events are raised after the operation completes.
Shape librariesThe ShapeLibrary class lets you use custom geometric shapes created using MindFusion ShapeDesigner tool. Call the ShapeLibrary.loadFromXml(url) method on client side to load a library XML file. ShapeLibrary.getShapes() returns an array of the loaded Shape objects. Location of a shape library can also be specified server-side through the DiagramView's ShapeLibraryLocation property. The NodeListView.ShapeLibraryLocation property creates a prototype ShapeNode object for each shape from the specified library.
Miscellaneous~ Items can now be deleted using Backspace key when running on Mac;
~ Caption divider line in TableNode and ContainerNode is now rendered clipped when caption height is smaller than corner radius;
~ Diagram.TooltipDelay property specifies the delay in milliseconds before showing tooltips;
~ The NodeListView.Orientation property lets you set the view's orientation to Horizontal or Vertical (members of MindFusion.Diagramming.Orientation enum);
~ Fixed overlaps in client-side TreeLayout when arranging nodes of different sizes;
~ Anchor points indices are now serialized;
~ Deserialization of custom item classes now works regardless of whether names contain Node or Link suffix;
Installer for the latest version can be downloaded here, or from the
clients area on our site:
https://www.mindfusion.eu/MvcDiagramTrial.zipUpdated assemblies and script files are also available as
MindFusion.Diagramming.Mvc NuGet package.
Enjoy!