| layout_on_sphere | R Documentation |
Place vertices on a sphere, approximately uniformly, in the order of their vertex ids.
layout_on_sphere(graph)
on_sphere(...)
graph |
The input graph. |
... |
Passed to |
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.
A numeric matrix with three columns, and one row for each vertex.
Gabor Csardi csardi.gabor@gmail.com
Other graph layouts:
add_layout_(),
component_wise(),
layout_(),
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(),
merge_coords(),
norm_coords(),
normalize()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.