We have released JDiagram v3.3. It contains the following new features:
Layout class enhancements~ OrthogonalLayout now produces more compact layouts with less link bends if MinimizeLinkBends is enabled.
~ If there is only one used execution path after a branching and up to two empty ones, FlowchartLayout will now center the used path under the branching start node.
~ Specify start and end nodes in LayeredLayout via the setStartNode and setEndNode methods.
Relationship queriesThe query method of DiagramItem can be used to find items that can be reached from the current one by following a path described in the query expression specified as argument. The expression includes selectors separated by a / character, where each selector returns the items from the result set of the previous step. The expressions can also include boolean predicates that filter the results using boolean and arithmetic expressions.
Miscellaneous~createFlowchartLayout method added to ScriptHelper.
~Find out a link's length via the getLength method of DiagramLink.
~Display multiple link labels via the addLabel method.
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!