Skip to content

Keyboard Navigation

You can enable keyboard navigation using keyNavigation property:

javascript
keyNavigation={true}

Use these keys to navigate in the chart:

  • f - to go to find
  • Arrows - to move up/down/left/right
  • Space - to expand/collapse

Keyboard navigation

To select the node to be focused use focusId property:

javascript
keyNavigation={{
  focusId: 2
}}

Keyboard navigation focus