Skip to main content

suggest_route_points

Function suggest_route_points 

Source
pub fn suggest_route_points(
    from: (f64, f64),
    to: (f64, f64),
    bond_mids: &[(f64, f64)],
    max_k: usize,
) -> Vec<(f64, f64)>
Expand description

Suggest up to max_k route points between label center and tip along a soft arc away from bond midpoints (adaptive routing seed).