R igraph 手册页

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

normalize {igraph}R 文档

标准化布局

描述

缩放布局的坐标。

用法

normalize(
  xmin = -1,
  xmax = 1,
  ymin = xmin,
  ymax = xmax,
  zmin = xmin,
  zmax = xmax
)

参数

xmin, xmax

x 坐标的最小值和最大值。

ymin, ymax

y 坐标的最小值和最大值。

zmin, zmax

z 坐标的最小值和最大值。

参见

merge_coords, layout_

其他布局修改器:component_wise()

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

示例

layout_(make_ring(10), with_fr(), normalize())

[包 igraph 版本 1.3.5 索引]