Added direct editing to the graphical editor.