Place vertices on a sphere, approximately uniformly, in the order of their vertex ids.
layout_on_sphere(graph)on_sphere(...)
A numeric matrix with three columns, and one row for each vertex.
The input graph.
Passed to layout_on_sphere.
Gabor Csardi csardi.gabor@gmail.com
layout_on_sphere places the vertices (approximately) uniformly on the
surface of a sphere, this is thus a 3d layout. It is not clear however what
“uniformly on a sphere” means.
If you want to order the vertices differently, then permute them using the
permute function.
Other graph layouts:
add_layout_(),
component_wise(),
layout_as_bipartite(),
layout_as_star(),
layout_as_tree(),
layout_in_circle(),
layout_nicely(),
layout_on_grid(),
layout_randomly(),
layout_with_dh(),
layout_with_fr(),
layout_with_gem(),
layout_with_graphopt(),
layout_with_kk(),
layout_with_lgl(),
layout_with_mds(),
layout_with_sugiyama(),
layout_(),
merge_coords(),
norm_coords(),
normalize()