Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.graphext.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Usage

The following example shows how the step can be used in a recipe.

Examples

The following configuration would allow smaller clusters and consider fewer of the data points as noise:
layout(links) -> (ds.x, ds.y)

Inputs & Outputs

The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced by name e.g. "churn-clf").
targets
column[list[number]]
required
A column containing link targets. Source is implied in the index.
*weights
column[list[number]]
x
column
required
A numerical column with the x position of the calculated layout.
y
column
required
A numerical column with the y position of the calculated layout.

Configuration

The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e. step(..., {"param": "value", ...}) -> (output).

Parameters

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.