pub fn is_connected<N, E, M>(h: &Hypergraph<N, E, M>) -> boolAvailable on crate feature
algorithms only.Expand description
Whether the hypergraph is connected (one component; empty ⇒ trivially so is
undefined — matches XGI, which indexes list(H.nodes)[0], so guard empty).
XGI parity: xgi.is_connected(H) (connected.py:16-45).