- Welcome, Guest. Please Login or Register
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
Page Index Toggle Pages: 1 Send Topic Print  
Diagramming for ASP.NET MVC, V2.8
Read 1317 times

Forum Admin   Offline
YaBB Administrator
Posts: 507
Gender: male
Rock and Roll

Diagramming for ASP.NET MVC, V2.8
Nov 29th, 2016 at 2:34pm
We have released version 2.8 of MindFusion.Diagramming for ASP.NET MVC. It adds the following new features:

Fluent API
Extension methods in MindFusion.Diagramming.Fluent and MindFusion.Diagramming.Layout.Fluent namespaces add support for fluent programming style:

using MindFusion.Diagramming.Fluent;
using MindFusion.Diagramming.Layout.Fluent;

	.CreateShapeNode(10, 10, 20, 20)
		.Font("Arial", 12)
		.Text("Task <i>1</i>")
		.ToolTip("This is the task");

new TreeLayout()

DiagramLink improvements
  • The component no longer keeps a separate segmentCount field, removing a common source of errors. The SegmentCount property now calculates its value from ControlPoints elements. The UpdateFromPoints(updateGroups, updateSegments) overload has been removed too.
  • SegmentCount setter no longer refuses changing number of segments if auto-routing is enabled or the link is a self-loop.
  • DiagramLink.HeadPen property lets you customize arrowhead strokes independently of line segments strokes.
  • The new Spline element of LinkShape enumeration draws links as interpolating splines that pass through all of their control points:

  • CaptionFormat properties of TableNode and ContainerNode let you set alignment for table and container captions.
  • Enable the AllowResizeHeaders property of swimlanes Grid to let users resize grid rows and columns interactively. The control raises HeaderStartResizingScript validation event when the user tries to resize, and HeaderResizedScript event when the operation completes.
  • NodeSize and DefaultNodeSize properties of NodeListView can be set to SizeF.Empty, in which case the control will use the sizes stored in node.Bounds.
  • The control now supports cyclic attachment created using DiagramNode.attachTo method, where moving any of the attached nodes will move all other nodes in the cycle.
  • Shapes.RoundRect corner arcs keep constant radius and no longer deform when the node size changes to non-rectangular.
  • ItemAddedScript and ItemRemovedScript events raised when an item is added or removed, either from code or interactively.

Installer for the latest version can be downloaded here, or from the clients area on our site:

Updated assemblies and script files are also available as MindFusion.Diagramming.Mvc NuGet package.

IP Logged    
Page Index Toggle Pages: 1 Send Topic Print