OptionalcanvasThe color of the outline shown when the canvas receives keyboard focus. Default: '#30839D'
OptionalcontextKey combo for opening the context menu on the focused element. Default: ['Shift', 'F10']
OptionalenterKey combo for entering the graph and focusing the first element. Default: ['Enter']
OptionalexitKey combo for exiting the graph (blur focused element and container). Default: ['Escape']
OptionallargeDistance in screen pixels the node(s) are moved per key press while
KeyboardInteractionOptions.largeMoveStepModifier is held. Default: 50
OptionallargeModifier key that, held together with a move key, applies
KeyboardInteractionOptions.largeMoveStep instead of
KeyboardInteractionOptions.moveStep. Default: 'Shift'
OptionalmoveKey combo for moving the selected (or focused) node(s) down. Default: ['ArrowDown']
OptionalmoveKey combo for moving the selected (or focused) node(s) left. Default: ['ArrowLeft']
OptionalmoveKey combo for moving the selected (or focused) node(s) right. Default: ['ArrowRight']
OptionalmoveDistance in screen pixels the node(s) are moved per key press. Converted to graph
coordinates using the current zoom level, so the node travels the same visible
distance however far the graph is zoomed in or out. Default: 5
OptionalmoveKey combo for moving the selected (or focused) node(s) up. Default: ['ArrowUp']
OptionalnavigateKey combo for navigating focus to the previous element. Default: ['Shift', 'Tab']
OptionalnavigateKey combo for navigating focus to the next element. Default: ['Tab']
Options for the keyboard interaction handler. Allows configuring which keys trigger specific navigation actions. Each key combo is an array of strings: the last element is the primary key (
event.key), and any preceding elements are modifier keys ('Shift','Ctrl','Alt','Meta').Example