Page Index Toggle Pages: 1 Send TopicPrint
Sticky Topic Version 4.9.2 beta (Read 88 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3529
Joined: Oct 19th, 2005
Version 4.9.2 beta
Oct 6th, 2026 at 11:56am
Print Post  
JDiagram version 4.9.2 contains the following new features and improvements:

Auto-routing improvements
  • Set the WhileModifying flag in RoutingOptions.TriggerRerouting to reroute links while users drag their end points.
  • Enable the MinimizeCrossings property of PatternRouter to make it select routes with fewer crossings. Note that this adds an additional loop to the algorithm, which may affect performance for large diagrams.
  • New EvaluateFarPoints property of RoutingOptions, considered by PatternRouter and GridRouter, selects the best route from the possible start/end point combinations of the link's incident nodes. Note that this adds an additional loop to the algorithms, which may affect performance for large diagrams.
  • Set the MinLinkSpacing property of CompositeRouter to specify the padding between nearby links.
  • This screenshot demonstrates the effects of EvaluateFarPoints and MinimizeCrossings properties:



Custom lasso tools
If you set the Behavior property of DiagramView to DrawLasso, the control lets users draw selection lasso without changing actual Selection. You could use that in conjunction with InitializeLasso and LassoDrawn events to implement custom tools or selection logic, such as:
  • Opening a custom context menu or UI panel styled for bulk operations.
  • Creating a visual screenshot / export of only the selected region.
  • Implementing custom selection logic or filters (e.g. select nodes of a specific type, or select only links).
  • Bookmarking the selected area (adding it to Bookmarks).

Miscellaneous
  • LinkValidation.getNodeElement() returns the TreeViewItem or TableNode cell related to the event.
  • Fixed bitmap deserialization exception when loading pre-v4.1.4 XML files.

API changes
  • ZoomBehavior class renamed to LassoBehavior (it now implements both DrawLasso and Zoom behaviors).

If anyone is interested in trying the beta version, please download this archive containing updated JAR file:
https://mindfusion.dev/_beta/jdiag492.zip

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint