Skip to content
  1. Examples

Keyboard interactions

This example shows how to use the keyboard module to bind actions to key combinations. In this example, we bind two shortcuts:

  • Press ALT + A to add a node to the graph
  • Press ALT + R to remove a node from the graph