Subject: | stron |
Hi,
I am not sure if it is a bug or a feature... When I run
my $g = Graph::Directed->new;
$g->add_edges( ['a', 'b'], ['b', 'a'], ['b', 'c'] );
my @scc = $g->strongly_connected_components();
I expect to see only one strongly connected component containing 'a' and
'b'. However, the system also show the second component containing 'c'
even though 'c'-'c' edge is not present. I can always filter these
components out by using
$g->has_edge( 'c', 'c')"