Diagramming for ASP.NET MVC v4.3.1

Released: Jan 22, 2025

Diagramming for ASP.NET MVC v4.3.1 での更新項目

機能

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.