Creates a new keyboard interaction handler.
The NVL instance to attach the interaction handler to.
Options for the keyboard interaction handler.
Returns the current options of the interaction.
The current options of the interaction.
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.
Opinionated interaction handler for keyboard-driven focus navigation through graph elements (nodes and relationships).
By default, Tab / Shift+Tab cycle focus through elements, Escape exits the graph, and Shift+F10 call the
onContextMenucallback with the focused element. All keys can be reconfigured via KeyboardInteractionOptions.Callbacks are fired for focus/blur transitions and context-menu activation, following the same one-way data-flow pattern as the other interaction handlers.