public void updateArrow(Cell cell) {
        for (Arrow arrow : arrows) {
            if (arrow.getStartNode().getId().equals(cell.getId())) {
                arrow.resetArrowArea(cell, arrow.getEndNode());
            }
            if (arrow.getEndNode().getId().equals(cell.getId())) {
                arrow.resetArrowArea(arrow.getStartNode(), cell);
            }
        }
    }