adjust diagram edit