Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for Java Swing, V4.9.2 (Read 177 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 767
Joined: Apr 6th, 2003
Diagramming for Java Swing, V4.9.2
Nov 9th, 2026 at 7:43am
Print Post  
We have released version 4.9.2 of JDiagram. It 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).

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

Updated JAR is also available at the Maven Central Repository:
https://search.maven.org/artifact/eu.mindfusion/diagramming

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