Skip to content

Layout coordinates


Create x, y positions for nodes from their geographical coordinates.

Used to create a Graph view in which rows/nodes are placed geographically, rather than according to their (non-geographical) similarity.


The following are the step's expected inputs and outputs and their specific types.

Step signature
    latitude: number,
    longitude: number
) -> (x: column, y: column)

where the object {"param": value} is optional in most cases and if present may contain any of the parameters described in the corresponding section below.


The following configuration transforms geographical coordinates into x and y points in the graph:

Example call (in recipe editor)
layout_coordinates(ds.latitude, ds.longitude) -> (ds.x, ds.y)


latitude: column:number

Numerical column with the latitude value.

longitude: column:number

Numerical column with the longitude value.


x: column

Numerical column with the x position in the graph.

y: column

Numerical column with the y position in the graph.

Back to top