Skip to main content

connected_components

Function connected_components 

Source
pub fn connected_components<N, E, M>(
    h: &Hypergraph<N, E, M>,
) -> Vec<Vec<String>>
Available on crate feature algorithms only.
Expand description

All connected components, each a node list in node_ids() order, the components themselves ordered by their first-seen node. XGI parity: xgi.connected_components(H) (connected.py:48-82).