Display the nodes of an graph in 2 modes: random and in circle