Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 4.5.1 beta (Read 85 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3321
Joined: Oct 19th, 2005
Version 4.5.1 beta
Dec 18th, 2024 at 9:09am
Print Post  
Version 4.5.1 of MindFusion JavaScript Diagram contains the following new features and improvements -

Node constraints
The DiagramNode.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.

Miscellaneous
  • shapeLibraryLoaded event raised when library XML file is loaded and its shape definitions are available for use.
  • fix for item hover events of DiagramDocument not raised by TabbedDiagramView.


If anyone is interested in trying the beta version, please download this archive containing updated script files:
https://mindfusion.eu/_beta/jsdiag451.zip

Any comments, questions and general feedback are welcome.
« Last Edit: Dec 18th, 2024 at 1:27pm by Slavcho »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint