Version 1.2.1 of JDiagram contains the following improvements:
~ the AnnealLayout layout algorithm now takes into consideration the size of nodes
~ mouseEnterItem and mouseLeaveItem events are raised when the mouse pointer enters or leaves an item
~ the itemSelecting validation event is called when the user tries to select an item
~ the Overview tracking rectangle borders width does not depend on the diagram zoom level
~ the Overview tracking rectangle follows the mouse more precisely when a user drags it
~ Overview.setTrackingRectPen lets you specify the color and width of the tracking rectangle border lines
~ a custom shape definition can have a text area larger than the box bounds
~ some drawing glitches have been fixed
~ the text smoothing mode can be set separately from the drawing primitives one using the setTextAntiAlias method
~ setHitTestPriority lets you change the order in which items are hit-tested
~ now the shape of items is considered when selecting them with a selection rectangle
~ the resizeToFitText method makes a box big enough to display its text without clipping
An evaluation version is available for download here:
https://mindfusion.eu/JDiagramTrial.zip Registered customers are going to receive their upgrades shortly.
Enjoy!