rotate_to_equilibrium function

Rotate circle or star graph layout so that it 'stands' on two bottom nodes.

Rotate circle or star graph layout so that it 'stands' on two bottom nodes.

rotate_to_equilibrium(xy_mat)

Arguments

  • xy_mat: A two column matrix with x and y coordinates containing the graph layout.