emphasis

emphasis.cascadeHighlight

cascadeHighlight(sourceIds: string | string[], config?: CascadeHighlightConfig): string

Start a cascade highlight effect that propagates a BFS wave of size and glow outward from one or more source nodes.

The wave expands hop by hop; nodes and edges light up as the frontier reaches them. Self-terminates when the BFS frontier exhausts the reachable subgraph.

Not undoable. Not recorded in history.

sourceIdsstring | string[]One or more source node IDs from which the wave originates.
configCascadeHighlightConfigOptional CascadeHighlightConfig (delay, maxHops, color, glowScale).

Returns: string