Rotate circle or star graph layout so that it 'stands' on two bottom nodes.
rotate_to_equilibrium(xy_mat)
xy_mat
Useful links