Arranges the diagram using the given layout, and animates items moving to their new positions.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function arrangeAnimated (layout, [duration, [animationType, [easingType]]]) |
Object. The Layout algorithm to apply.
Number. An integer, specifying the duration of the animation in milliseconds.
A member of the AnimationType enumeration, specifying the animation type to use.
A member of the EasingType enumeration, specifying the type of easing function to apply to the animation.
Available layout algorithms are SpringLayout, TreeLayout, BorderedTreeLayout, LayeredLayout, TreeMapLayout, FractalLayout, FlowchartLayout, TopologicalLayout, OrthogonalLayout.
NetDiagram Programmer's Guide | © 2023 MindFusion |