selection.deselectEdges
deselectEdges(edgeIds?: string[]): Promise<void>Deselect edges, optionally restricted to a given id list.
Routes through store.selectEdges() so edge selection never bypasses the
canonical store path. Not undoable (roadmap item 5, 2026-04-24 rescope).
Emits "selection:changed".
edgeIds | string[] | Ids to deselect; omit to clear all edge selections. |
Returns: Promise<void>
Example
await api.selection.deselectEdges(["e1"]);
await api.selection.deselectEdges(); // clear all edge selections