digraph { node [ fontname = Courier ]
1 [ fillcolor = magenta style=filled shape=circle ]
2 [shape=circle ]
3 [shape=circle ]
4 [peripheries=2 shape=circle ]
5 [shape=circle ]

1 -> 2
2 -> 3
3 -> 4
4 -> 5
5 -> 2

}