rotate_angles_align_leaf

Function rotate_angles_align_leaf 

Source
pub fn rotate_angles_align_leaf(
    g: &mut PhyloSplitsGraph,
    taxon_id: usize,
    target_deg: f64,
) -> Option<f64>
Expand description

Rotate all edge angles so the first edge incident to taxon_id is aligned to target_deg. Returns the delta that was applied (in degrees), or None if that leaf/edge couldn’t be found.