Skip to main content
Version: 4.3

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.

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub