Skip to main content
Specifies which two numeric columns contain the x and y coordinates for positioning nodes in the graph view. Typically these are the output of a layout step like layout_network or layout_coordinates. This is a UI configuration step that affects how the project is displayed in Graphext. It applies to the dataset referenced in its inputs. If your recipe produces multiple datasets (e.g. a filtered dataset that is then passed to create_project alongside the original), you need to add separate configure steps for each dataset you want to configure.

Usage

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

Examples

configure_graph_layout(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").
x
column[number]
required
Numerical column with the x position in the graph.
y
column[number]
required
Numerical column with the y position in the graph.

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

This step doesn’t expect any configuration.