I was trying to use graphviz to crete the following graph:
digraph G {
rankdir=TB;
size="8,5"
node [shape = circle]; 0 1 2 3 4 5
node [shape = circle];
1 -> 2 [];
2 -> 3 [];
3 -> 4 [];
4 -> 5 [];
5 -> 1 [];
0 -> 1 [];
0 -> 2 [];
0 -> 3 [];
0 -> 4 [];
0 -> 5 [];
{rank=same 5; 2; 3; 4; 1; }
}
Output:
How can I move the edge 5->1 to the bottom? So it would be something like as following:



