pub fn node_connectivity(
graph: &Graph,
source: &str,
sink: &str,
) -> NodeConnectivityResultExpand description
Compute node connectivity between two specific nodes s and t.
Uses node-splitting + Edmonds-Karp max-flow on auxiliary graph.
Matches networkx.algorithms.connectivity.node_connectivity(G, s, t).