# Enumeration AnimationStyle

GoJS® Diagramming Components
version 3.0.7
by Northwoods Software®

This enumeration specifies possible values for AnimationManager.initialAnimationStyle.

To customize the initial animation, set AnimationManager.initialAnimationStyle to None and define an `"InitialAnimationStarting"` DiagramEvent listener with Diagram.addDiagramListener.

See AnimationManager.initialAnimationStyle for details and examples.

`since`

3.0

#####
Index

### Enumeration Members

AnimateLocations
Default
None

## Enumeration Members

### AnimateLocations

This value will cause initial animations to capture Part locations and animate them from `(0, 0)` to those location values. This was the default initial animation behavior in GoJS 2.0 and prior.

### Default

The default initial animation style will "fade up" and in the Diagram's contents by animating the Diagram.position and Diagram.opacity.

### None

This will turn off the initial animation, but also allows for customizing the initial animation by adding your own properties if you define an `"InitialAnimationStarting"` listener with Diagram.addDiagramListener.

Copyright © 1998-2024 by Northwoods Software Corporation.