Helper function for processing divergence regions

This function returns the combinations between the start of each divergence region and pairwise combinations of the end milestones.

get_divergence_triangles(divergence_regions)

Arguments

divergence_regions

A divergence regions data frame as produced by add_trajectory.