made editdiagramcontroller