Added missing form elements for graphs.

Closes #42