Scale coordinates of a layout.
See also
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())
#> [,1] [,2]
#> [1,] -1.0000000 0.001545830
#> [2,] -0.7894249 -0.620388281
#> [3,] -0.2859975 -0.991016442
#> [4,] 0.3209195 -1.000000000
#> [5,] 0.8175279 -0.628857639
#> [6,] 1.0000000 -0.002438246
#> [7,] 0.7884223 0.618350220
#> [8,] 0.2845389 0.990506641
#> [9,] -0.3230436 1.000000000
#> [10,] -0.8179434 0.627446452
