selection.highlight
highlight(nodeIds: string[]): Promise<void>Apply a highlight overlay to the given nodes.
Highlight is a separate visual state from selection — it is used to
draw attention to nodes without changing the selection set.
Not undoable. Does not emit "selection:changed".
nodeIds | string[] | Ids of the nodes to highlight. |
Returns: Promise<void>
Example
await api.selection.highlight(["s1", "s2"]);