normalize: Normalize layout

View source: R/layout.R

normalizeR Documentation

Normalize layout

Description

Scale coordinates of a layout.

Usage

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

Arguments

xmin, xmax

Minimum and maximum for x coordinates.

ymin, ymax

Minimum and maximum for y coordinates.

zmin, zmax

Minimum and maximum for z coordinates.

See Also

merge_coords(), layout_().

Other layout modifiers: component_wise()

Other graph layouts: 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_gem(), layout_with_graphopt(), layout_with_kk(), layout_with_lgl(), layout_with_mds(), layout_with_sugiyama(), merge_coords(), norm_coords()

Examples

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

igraph documentation built on Oct. 20, 2024, 1:06 a.m.