Creates a new instance of the lasso interaction handler.
The NVL instance to attach the interaction handler to
Options for the lasso interaction handler to customize its behavior
Internal
callbackInternal
Internal
Internal
Rest
...args: unknown[]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 that lets you select nodes and relationships by drawing a lasso around them. When dragging, a line is drawn on the scene and all elements inside are selected.
For examples, head to the Lasso Interaction documentation page.