We have released version 4.0.5 of JDiagram. It contains several customer-requested features and bug fixes:
Resize multiple nodesNow it is possible to resize multiple selected nodes simultaneously. To enable that, call Diagram.setAllowMultipleResize(true). When enabled, dragging a corner or side adjustment handle of any node resizes all nodes in the selection. The operation will be cancelled for all nodes if any of them does not accept its new size, e.g. if it's smaller than MinimumNodeSize value.
VisioImporter improvements~ The Item argument of VisioImportListener.importItem event handlers is now pre-set to a DiagramItem instance created for the imported Visio shape, letting you avoid parsing some standard data such as Bounds or Text. You can either modify this item's properties, or replace it with a new instance of a different type.
~ ImportItemEvent now provides properties for accessing the XML content of Visio shape masters.
~ Fixed a crash when a shape master does not have a name attribute (this happens with custom stencils)
~ Fixed a crash when theme1.xml is missing from the imported vsdx archive (this happens with files converted from old Visio versions to 2013 format)
~ Fixed a bug where one-segment connectors were imported at wrong positions.
ZoomControl improvements~ Changing DiagramView.ZoomFactor now updates zoom control slider automatically.
~ the pan widget now fills the ZoomControl width or height instead of having fixed size.
~ setting ZoomControl's width larger than its height makes the zoom slider horizontal.
Miscellaneous~ Fixed a bug where Ruler alignment guides were not positioned correctly for diagrams starting at negative coordinates.
API changes~ DiagramListener.selectionMoved event has been renamed to selectionModified, and is also raised if nodes are resized when AllowMultipleResize is enabled. Event handlers now receive SelectionEvent parameter instead of EventObject.
~ The DiagramListener.selectionMoving event has been renamed to selectionModifying, and is also raised if nodes are resized when AllowMultipleResize is enabled. Event handlers now receive SelectionValidationEvent parameter instead of ValidationEvent.
Registered customers with an active upgrade subscription can download the licensed version from the
clients area on our site.
A trial version is available for download here:
https://www.mindfusion.eu/JDiagramTrial.zip Enjoy!