/** * Provides animation effects. * * @class mxEffects */ declare class mxEffects { /** * Asynchronous animated move operation. See also: . * * @example * ```javascript * graph.model.addListener(mxEvent.CHANGE, function(sender, evt) * { * var changes = evt.getProperty('edit').changes; * * if (changes.length < 10) * { * mxEffects.animateChanges(graph, changes); * } * }); * ``` * * @param graph - that received the changes. * @param changes - Array of changes to be animated. * @param done - Optional function argument that is invoked after the * last step of the animation. */ static animateChanges(graph: mxGraph, changes: Array, done?: Function): void; /** * Sets the opacity on the given cell and its descendants. * * @param graph - that contains the cells. * @param cell - to set the opacity for. * @param opacity - New value for the opacity in %. */ static cascadeOpacity(graph: mxGraph, cell: mxCell, opacity: number): void; /** * Asynchronous fade-out operation. */ static fadeOut( node: HTMLElement, from?: number, remove?: boolean, step?: number, delay?: number, isEnabled?: boolean ): void; }