animations

animations.metricPulse

metricPulse(nodeIds: string | string[], config?: MetricPulseConfig): string

Start a metric pulse animation on one or more nodes (pulse amplitude scaled to a metric value).

Default: loop: true with duration: 5000 (upper-bounded loop that self-terminates after 5 s). This preserves pre-Phase-5 behavior where duration: 0 meant "loop forever".

Not undoable. Not recorded in history.

nodeIdsstring | string[]One or more node IDs to animate.
configMetricPulseConfigOptional MetricPulseConfig (metric property, scale, loop, duration).

Returns: string