Layout Morphing

Layout morphing denotes the effect of smoothly transforming node and bend positions from their original positions to the ones newly calculated by a layout algorithm.

Class LayoutExecutor

LayoutExecutor provides support for conveniently executing yFiles layout algorithms. Optionally, a smooth animation that shows the transformation from the graph's original layout to the newly calculated one can be shown. This process is called "layout morphing."

start():void
Description Starts the layout calculation.

The following properties can be used to configure the layout morphing process:

duration:int
animateViewport:Boolean
updateContentRect:Boolean
Description Properties of the layout morphing animation.

Using class LayoutExecutor is presented in tutorial demo application SimpleLayoutDemo.mxml.