def diagonal_distance(current_x, current_y, goal_x, goal_y):
    """
    Diagonal distance
    current_node(current_x, current_y)
    goal_node(goal_x, goal_y)
    """
    return max(abs(current_x - goal_x),  abs(current_y - goal_y))