Site Search:

Digraph with circles output


strict digraph {
16->17;
0->1;
0->2;
1->2;
1->3;
2->3;
2->4;
19->19;
3->4;
3->5;
4->5;
4->6;
5->6;
5->7;
6->7;
6->8;
7->1;
7->5;
15->16;
//4 circles detected
6->7[label=0, color=red,penwidth=2.0];
5->6[label=0, color=red,penwidth=2.0];
7->5[label=0, color=red,penwidth=2.0];
6->7[label=1, color=blue,penwidth=2.5];
5->6[label=1, color=blue,penwidth=2.5];
4->5[label=1, color=blue,penwidth=2.5];
2->4[label=1, color=blue,penwidth=2.5];
1->2[label=1, color=blue,penwidth=2.5];
7->1[label=1, color=blue,penwidth=2.5];
6->7[label=2, color=green,penwidth=3.0];
5->6[label=2, color=green,penwidth=3.0];
4->5[label=2, color=green,penwidth=3.0];
3->4[label=2, color=green,penwidth=3.0];
1->3[label=2, color=green,penwidth=3.0];
7->1[label=2, color=green,penwidth=3.0];
6->7[label=3, color=purple,penwidth=3.5];
5->6[label=3, color=purple,penwidth=3.5];
4->5[label=3, color=purple,penwidth=3.5];
3->4[label=3, color=purple,penwidth=3.5];
2->3[label=3, color=purple,penwidth=3.5];
1->2[label=3, color=purple,penwidth=3.5];
7->1[label=3, color=purple,penwidth=3.5];
}
number of points: 13
number of edges: 19
find circle:true