Skip to main content

widest_path_widths_with_mode

Function widest_path_widths_with_mode 

Source
pub fn widest_path_widths_with_mode(
    graph: &Graph,
    source: VertexId,
    weights: &[f64],
    mode: DijkstraMode,
) -> IgraphResult<Vec<Option<f64>>>
Expand description

Widest-path widths with directed-mode selection. Mirrors widest_path_widths but lets you choose OUT/IN/ALL traversal for directed graphs (ignored on undirected).

Counterpart of igraph_widest_path_widths_dijkstra(_, _, vss(source), vss_all(), weights, mode).