Skip to contents

Generate G6 Random layout configuration

Usage

random_layout(width = NULL, height = NULL, ...)

Arguments

width, height

Size of the area nodes are placed in (px).

...

Additional parameters passed to the layout. See https://g6.antv.antgroup.com/en/manual/layout/random-layout.

Value

A list containing the layout configuration.

Examples

random_layout()
#> $type
#> [1] "random"
#>