如果您从 R 中使用 igraph,请使用此选项
layout_randomly {igraph} | R 文档 |
此函数在二维或三维空间中均匀随机地放置图的顶点。
layout_randomly(graph, dim = 2)
randomly(...)
图 |
输入图。 |
dim |
整数标量,要使用的空间的维度。必须为 2 或 3。 |
... |
传递给 |
在 [-1,1] 正方形(2d)或立方体(3d)上随机放置顶点。这可能是一个无用的布局,但它可以作为其他布局生成器的起点。
具有两列或三列的数值矩阵。
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_on_sphere()
,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()