Site Search:

Digraph.java with dfs connected components output


strict digraph {
16->17[label=15, color=green];
0->1[label=0, color=red];
0->2[label=0, color=red];
1->2[label=0, color=red];
1->3[label=0, color=red];
2->3[label=0, color=red];
2->4[label=0, color=red];
19->19[label=19, color=azure];
3->4[label=0, color=red];
3->5[label=0, color=red];
4->5[label=0, color=red];
4->6[label=0, color=red];
5->6[label=0, color=red];
5->7[label=0, color=red];
6->7[label=0, color=red];
6->8[label=0, color=red];
7->1[label=0, color=red];
7->5[label=0, color=red];
15->16[label=15, color=green];
}
number of points: 13
number of edges: 19
connected components:3