simplify diagram editor