ngClientRect();
    draw_solver_1(0, 0, false);

    solver.addEventListener('mousemove', function(e){
        var canvas_rect = solver.getBoundingClientRect();
        draw_solver_1(e.clientX - canvas_rect.left, e.clientY - canvas_rect.top, true);
        if(e.buttons == 1) {
            invalidate_solver_1(e.clientX, e.clientY);
        } else if(e.buttons == 0) {
            solver_1_eq_temp_id = find_nearest_eqution_id("solver_1", e.clientX - canvas_rect.left, e.clientY - canvas_rect.top);
        }
   