#[macro_use]
extern crate rust_graph as graph;
use graph::algorithms::connected_components;
use graph::graph::AdjListGraph;
fn main() {
let mut g: AdjListGraph<(), ()> = AdjListGraph::new(false);
let e = edges!(0 => 3, 3 => 2, 3 => 1, 1 => 4, 4 => 2);
g.add_edges(e);
connected_components(&g);
}