SelectionCollectionApi
Handle returned by useSelectionCollection. Both references are
stable across renders and always present inside a <Diagram>.
Properties​
collection​
readonly collection: Collection<Cell<Attributes<Selectors>, ModelSetOptions>>;
Stable mvc.Collection<dia.Cell> of selected cells (provided by <Diagram>).
selectCells​
readonly selectCells: SelectCells;
Programmatically set the selection. See SelectCells.