Add a key diagram