Creates a new instance of the multi-select interaction handler.
The NVL instance to attach the interaction handler to.
Options for the multi-select interaction handler to customize its behavior.
Returns the current options of the interaction.
The current options of the interaction.
Removes all related event listeners and the overlay renderer for the box.
Remove a callback for a given event of type.
The name of the event.
Enables or disables global text selection during a drag or pan operation.
Whether to enable or disable global text selection.
OptionaleventFunction: (this: HTMLElement, ev: MouseEvent) => void
The event function to be added/removed when text selection is disabled/enabled.
Add or update a callback for a given event of type.
The name of the event.
The callback to be called when the event is triggered.
An interaction handler for multi-selecting nodes and relationships. When dragging the cursor, it draws a box on the scene and all nodes and relationships inside the box are selected.
For examples, head to the Box Select Interaction documentation page.