layout_igraph(targets: list[number], *weights: list[number], {
    "param": value,
    ...
}) -> (x: column, y: column)

Use igraph to create your own layout. Methods and possible parameters are described here.

layout_igraph(targets: list[number], *weights: list[number], {
    "param": value,
    ...
}) -> (x: column, y: column)
method
string
default:"fr"

Algorithm to use. The name of a supported clustering algorithm (currently allows ‘fr’, ‘fruchterman_reingold’, ‘drl’, ‘sugiyama’).

Values must be one of the following:

  • fr
  • fruchterman_reingold
  • drl
  • sugiyama
directed
boolean
default:"false"

Links directed. Are the links directed (true) or not (false).

seed
integer
default:"1"

Seed. Seed to initialize the graph.