[CAST-1742] Add Key control.

The diagram can be navigated with the use of the keyboard.
Merge branch 'master' into visual