emphasis.cascadeHighlight
cascadeHighlight(sourceIds: string | string[], config?: CascadeHighlightConfig): stringStart 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.
sourceIds | string | string[] | One or more source node IDs from which the wave originates. |
config | CascadeHighlightConfig | Optional CascadeHighlightConfig (delay, maxHops, color, glowScale). |
Returns: string