def find_offset_list(edge: int) ->list:
    """
    Get the offset for all rows to be used to identify the neighbor cells.

    Parameters
    ----------
    edge: int
        The edge size of the hexagonal grid.

    Returns
    -------
    offset: list
        A list of offsets for the entire hexagonal grids.
    """
    k = 0
    counter_index = 0
    offset = []
    for i in range(0, edge * 2 - 2):
        if i < edge - 1:
            k = edge + i
            offset.append(k)
        else:
            offset.append(k - counter_index)
            counter_index = counter_index + 1
    return offset
