Skip to main content

hyperedge_aware_layout

Function hyperedge_aware_layout 

Source
pub fn hyperedge_aware_layout<N, E, M>(
    h: &Hypergraph<N, E, M>,
    iterations: usize,
    halo_padding: f64,
) -> LayoutResult
Available on crate feature layout only.
Expand description

Hyperedge-aware layout: FR agent positions (seeded at DEFAULT_LAYOUT_SEED), each hyperedge rendered as the halo_padding-expanded convex hull of its members. halo_padding corresponds to XGI’s halo “radius margin” (draw.py:199-200, default 0.05).