g6/docs/api/graph/animation.en.md
2020-11-13 22:33:15 +08:00

372 B

title order
Animation 14

graph.positionsAnimate()

Update the node positions according to the data model animatively. The animateCfg of the graph will be the animation configurations.

graph.stopAnimate()

Stop the animation on the canvas.

Usage

graph.stopAnimate();

graph.isAnimating()

Return if the graph is animating.