Version 3.3 of the JavaScript Diagram library contains the following new features -
Flowchart graph layoutFlowchartLayout recognizes program code-like patterns in the graph, such as loops, sequences and if/switch branchings, and arranges them recursively. FlowchartLayout could be used to arrange other types of graphs as well, though with some restrictions. For example it treats all back links as loops in the code, and expects that they are nested - loop links starting closer to the stop node should end closer to the start node. Another similar restriction is that there shouldn't be any cross-links that connect different branches of a decision sub-graph.
Container improvements~ resizeToFitText method and EnableStyledText property added to the ContainerNode class.
~ containerChildRemoved event now also raised when dragging multiple selected child nodes out of a container.
~ improved handling of folded containers by automatic layout classes and link routing methods.
Miscellaneous~ Typescript definitions now available for the Diagramming.Lanes namespace.
~ Auto-arranged link labels now can optionally be placed over link segments and containers by setting diagram's AutoArrangeAvoidSegments and AutoArrangeAvoidContainers properties to false.
~ the Diagram.dispose method now removes a focus-proxy DIV element from the page.
~ improved text alignment for DiagramLink texts.
If anyone is interested in trying the beta version, please download this archive containing updated script and sample files:
https://mindfusion.eu/_beta/jsdiag33.zipAny comments, questions and general feedback are welcome.