SelectCells
type SelectCells = (input) => void;
Programmatically sets the selection. Accepts a flat array of cell ids
or dia.Cell instances, or an updater function that receives the
currently-selected cells and returns the new selection. Operates
directly on the selection collection.
Parameters
| Parameter | Type |
|---|---|
input | readonly CellRef[] | ((previous) => readonly CellRef[]) |
Returns
void