Optional array of cells to be animated. If this is not specified then all cells are checked and animated if they have been moved in the current transaction.
Specifies the delay between the animation steps. Defaul is 30ms.
Ease-off for movement towards the given vector. Larger values are slower and smoother. Default is 4.
Holds the event names and associated listeners in an array. The array contains the event name followed by the respective listener for each registered listener.
Specifies if events can be fired. Default is true.
Optional source for events. Default is null.
Specifies the delay between the animation steps. Defaul is 30ms.
Contains the current step.
Specifies the maximum number of steps for the morphing.
Reference to the thread while the animation is running.
Binds the specified function to the given event name. If no event name is given, then the listener is registered for all events.
The parameters of the listener are the sender and an EventObject.
Animates the given cell state using <CellStatePreview.moveState>.
Dispatches the given event to the listeners which are registered for the event. The sender argument is optional. The current execution scope ("this") is used for the listener invocation (see Utils#bind).
Example:
fireEvent(new mxEventObject("eventName", key1, val1, .., keyN, valN))
EventObject that represents the event.
Optional sender to be passed to the listener. Default value is
the return value of
Shows the changes in the given
Implements animation for morphing cells. Here is an example of using this class for animating the result of a layout algorithm:
Constructor: Morphing
Constructs an animation.
Param: graph
Reference to the enclosing Graph.
Param: steps
Optional number of steps in the morphing animation. Default is 6.
Param: ease
Optional easing constant for the animation. Default is 1.5.
Param: delay
Optional delay between the animation steps. Passed to.