[CAST-1742] Add Key control.

The diagram can be navigated with the use of the keyboard.