def METHOD_NAME(segment_lengths, segment_radii):
    """Coordinates of dendrogram as polygon with respect to (0, 0) origin.
    Args:
        segment_lengths: lengths of dendrogram segments
        segment_radii: radii of dendrogram segments
    Returns:
        (N,2) array of 2D x,y coordinates of Dendrogram polygon. N is the number of vertices.
    """
    y_coords = np.cumsum(segment_lengths)
    x_left_coords = -segment_radii
    x_right_coords = segment_radii
    left_coords = np.hstack((x_left_coords[:, np.newaxis], y_coords[:, np.newaxis]))
    right_coords = np.hstack((x_right_coords[:, np.newaxis], y_coords[:, np.newaxis]))
    right_coords = np.flip(right_coords, axis=0)
    return np.vstack((left_coords, right_coords))