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


Rock and Roll

Posts: 711
Joined: Apr 6th, 2003
Diagramming for ASP.NET MVC, V4.3.1
Jan 22nd, 2025 at 9:42am
Print Post  
We have released version 4.3.1 of MindFusion.Diagramming for ASP.NET MVC. It adds the following new features and improvements:

Node constraints
The constraints property lets you apply size and direction constraints to a node. It returns a NodeConstraints object with following properties:
  • keepRatio: a bool value indicating whether the initial width/height ratio of a node should be preserved.
  • maxHeight: the maximum node height allowed.
  • maxWidth: the maximum node width allowed.
  • minHeight: the minimum node height allowed.
  • minWidth: the minimum node width allowed.
  • moveDirection: a member of the DirectionConstraint enumeration. Set it to Horizontal or Vertical to let users move a node only in specified direction.

These constraints are considered when a user modifies the node interactively. They are ignored if node placement is changed programmatically by using API methods and properties.

Tag Helpers
The following tag helpers can now be imported from MindFusion.Diagramming.Mvc namespace:
  • <mindfusion-diagramview> creates a DiagramView instance.
  • <mindfusion-ruler> creates a Ruler instance.
  • <mindfusion-zoomcontrol> creates a ZoomControl instance.
  • <mindfusion-overview> creates an Overview instance.
  • <mindfusion-nodelistview> creates a NodeListView instance.

Code
Select All
@addTagHelper *, MindFusion.Diagramming.Mvc
....
<mindfusion-diagramview
    component=(DiagramView)ViewBag.DiagramView
    style="width:100%; height:100%;">
</mindfusion-diagramview>
 


Distribution for the latest version can be downloaded here, or from the clients area on our site:
https://www.mindfusion.eu/MvcDiagramTrial.zip

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

Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint