Skip to main content
Version: 4.3

SelectionRegionParams

Params passed to a SelectionRegionCallback when a Shift+drag region gesture starts. Lets the callback tailor the region to the gesture and state.

Properties

collection

readonly collection: Collection<Cell<Attributes<Selectors>, ModelSetOptions>>;

Live collection of currently-selected cells.


event

readonly event: Event;

The pointer event that started the gesture (carries shiftKey / ctrlKey / …).


graph

readonly graph: Graph;

The shared graph model (paper.model, surfaced for convenience).


paper

readonly paper: Paper;

The paper the gesture started on.

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub