| igraph Reference Manual |
|---|
int igraph_layout_sphere(const igraph_t *graph, igraph_matrix_t *res);
The algorithm was described in the following paper: Distributing many points on a sphere by E.B. Saff and A.B.J. Kuijlaars, Mathematical Intelligencer 19.1 (1997) 5--11.
Arguments:
|
Pointer to an initialized graph object. |
|
Pointer to an initialized matrix object, the will be stored here. It will be resized. |
Returns:
Error code. The current implementation always returns with success. |
Added in version 0.2.
Time complexity: O(|V|), the number of vertices in the graph.
<< 2.1. igraph_layout_random_3d — Random layout in 3D |
2.3. igraph_layout_fruchterman_reingold_3d — 3D Fruchterman-Reingold algorithm. >> |