biconnected-components
Compute the biconnected components of a graph.
Example
use UnGraph;
use ;
// construct a simple graph
let g = from_edges;
// Get a vector of the biconnected components defined by their node indices
let bcc = g.bcc;
assert_eq!;
for bcc_nodes in bcc
// Split up the graph into its biconnected components, that is
// two identical graphs with two nodes connected by a single edge
let bcc = g.split_into_bcc;
assert_eq!;
assert!;
assert!;
License: MIT OR Apache-2.0