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 setAnimate(IlBoolean option)
To obtain the current value, use the following method:
IlBoolean isAnimate()
The default value is IlFalse.
To indicate whether a subclass of IlvGraphLayout supports this mechanism, the following method is provided:
IlBoolean supportsAnimation()
The default implementation returns IlFalse. A subclass can override this method to return IlTrue to indicate that this mechanism is supported.

Version 5.5.1
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.