Search
Diagram.arrangeAnimated Method
See Also
 





Arranges the diagram using the given layout, and animates items moving to their new positions.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function arrangeAnimated (layout, [duration, [animationType, [easingType]]])

 Parameters

layout

Object. The Layout algorithm to apply.

duration
Optional.

Number. An integer, specifying the duration of the animation in milliseconds.

animationType
Optional.

A member of the AnimationType enumeration, specifying the animation type to use.

easingType
Optional.

A member of the EasingType enumeration, specifying the type of easing function to apply to the animation.

 Remarks

 See Also