使用GEM力导向布局算法在平面上放置顶点。
参数
- graph
输入图。 边方向被忽略。
- 坐标
如果不是
NULL
,则起始坐标应在此处给出,以两列或三列矩阵的形式,具体取决于dim
参数。- maxiter
要执行的最大迭代次数。更新单个顶点计为一次迭代。合理的默认值为40 * n * n,其中n是顶点数。原始论文建议4 * n * n,但这通常只有在仔细设置其他参数时才有效。
- temp.max
允许的最大局部温度。合理的默认值为顶点数。
- temp.min
算法终止时的全局温度(即使在达到
maxiter
迭代之前)。合理的默认值为1/10。- temp.init
所有顶点的初始局部温度。合理的默认值为顶点数的平方根。
- ...
传递给
layout_with_gem()
。
参考文献
Arne Frick, Andreas Ludwig, Heiko Mehldau: A Fast Adaptive Layout Algorithm for Undirected Graphs, Proc. Graph Drawing 1994, LNCS 894, pp. 388-403, 1995.
参见
layout_with_fr()
, plot.igraph()
, tkplot()
其他图形布局:add_layout_()
, component_wise()
, layout_()
, layout_as_bipartite()
, layout_as_star()
, layout_as_tree()
, layout_in_circle()
, layout_nicely()
, layout_on_grid()
, layout_on_sphere()
, layout_randomly()
, layout_with_dh()
, layout_with_fr()
, layout_with_graphopt()
, layout_with_kk()
, layout_with_lgl()
, layout_with_mds()
, layout_with_sugiyama()
, merge_coords()
, norm_coords()
, normalize()
作者
Gabor Csardi csardi.gabor@gmail.com