Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

layout_on_sphere

Graph layout with vertices on the surface of a sphere


Description

Place vertices on a sphere, approximately uniformly, in the order of their vertex ids.

Usage

layout_on_sphere(graph)

on_sphere(...)

Arguments

graph

The input graph.

...

Passed to layout_on_sphere.

Details

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.

Value

A numeric matrix with three columns, and one row for each vertex.

Author(s)

See Also


igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.