Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 4.0.5 beta (Read 1494 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 4.0.5 beta
Mar 18th, 2014 at 7:32am
Print Post  
JDiagram version 4.0.5 adds several customer-requested features and bug fixes:

Resize multiple nodes
Now 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.
~ 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.

Miscellaneus
~ 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.

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

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