animations

animations.nodeBreathe

nodeBreathe(nodeIds: string | string[], config?: NodeBreatheConfig): string

Start a breathe animation on one or more nodes (sinusoidal size oscillation).

Default: loop: true (oscillates until stopped). Pass loop: false with a positive duration for a single breathe cycle.

Not undoable. Not recorded in history.

nodeIdsstring | string[]One or more node IDs to animate.
configNodeBreatheConfigOptional NodeBreatheConfig (amplitude, period, loop, duration).

Returns: string