Graph Layout > Basic Concepts > Layout Parameters in IlvGraphLayout > Animation
 
Animation
Some iterative layout algorithms can optionally redraw the graph after each iteration or step. This may create a pleasant animation effect and may be used to keep the user aware of the evolution of the layout computation by showing intermediate results (as a kind of progress bar). However, this increases the duration of the layout because additional redrawing operations need to be performed.
Rogue Wave Views allows you to specify that a redraw of the grapher must be performed after each iteration (or step):
void IlvGraphLayout::setAnimate(IlBoolean option)
To obtain the current value, use the following method:
IlBoolean IlvGraphLayout::isAnimate()
The default value is IlFalse.
To indicate whether a subclass of IlvGraphLayout supports this mechanism, the following method is provided:
IlBoolean IlvGraphLayout::supportsAnimation()
The default implementation returns IlFalse. A subclass can override this method to return IlTrue to indicate that this mechanism is supported.

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.