def _getShapeSize(df, shape_name_str):
    """
    Get the arbitrary shape size with its shape name.

    Args: 
        df: tuple-(df_CompartmentData, df_NodeData, df_ReactionData, df_ArbitraryTextData, df_ArbitraryShapeData).
    
        shape_name_str: str-the shape name.

    Returns:
        shape_size_list: list of shape_size.

        shape_size: list-1*2 matrix-size of the shape [width, height].
    """

    idx_list = df[4].index[df[4]["shape_name"] == shape_name_str].tolist()
    shape_size_list =[] 
    for i in range(len(idx_list)):
        shape_size_list.append(df[4].iloc[idx_list[i]]["size"])
    return shape_size_list