selection.clear
clear(): Promise<void>Clear both node and edge selections.
Not undoable. Emits "selection:changed".
Returns: Promise<void>
Example
await api.selection.clear();
selection.clearclear(): Promise<void>Clear both node and edge selections.
Not undoable. Emits "selection:changed".
Returns: Promise<void>
await api.selection.clear();