R igraph 手册页

如果您从 R 中使用 igraph,请使用此选项

layout_on_sphere {igraph}R 文档

将顶点布局在球体表面的图布局

描述

以顶点 ID 的顺序,将顶点大致均匀地放置在球体上。

用法

layout_on_sphere(graph)

on_sphere(...)

参数

输入图。

...

传递给 layout_on_sphere

详细信息

layout_on_sphere 将顶点(近似地)均匀地放置在球体表面上,因此这是一个 3D 布局。然而,“均匀地放置在球体上”的具体含义并不明确。

如果您想以不同的顺序排列顶点,请使用 permute 函数对它们进行排列。

一个数值矩阵,包含三列,每个顶点对应一行。

作者

Gabor Csardi csardi.gabor@gmail.com

参见

其他图布局: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()


[包 igraph 版本 1.3.5 索引]