Sankey chart

A Sankey report generates a flow diagram from nodes and links. Note that cyclic dependencies are not supported.

Examples

Basic Sankey chart

For a Sankey chart to use the correct relationship weights, you must set a "relationship property" in the advanced settings of the report.

MATCH (p:Person)-[r:RATES]->(m:Movie)
RETURN p, r, m
Sankey Chart

Advanced settings

Name Type Default value Description

Show Legend

on/off

off

If set, shows a legend on the bottom of the visualization.

Enable interactivity

on/off

on

If enabled, turn on animations when a user hovers over a node or link.

Relationship Property

Text

[value]

Name of the property with an integer value that is going to be used to determine thickness of links. Using SANKEY_UNWEIGHTED, this Sankey will assume every relationship with a weight of 1.

Color Scheme

List

The color scheme to use for the slices. Colors are assigned automatically (consecutively) to the different categories returned by the Cypher® query.

Layout

List

Horizontal

The Sankey layout direction.

Label Position

List

Inside

Controls the Sankey label position.

Label Orientation

List

Horizontal

Controls the Sankey label orientation.

Node Border Width (px)

Number

0

Controls the node border width.

Node Spacing (px)

Number

18

Controls the spacing between nodes at an identical level (px).

Node Thickness (px)

Number

18

Controls the node thickness.

Margin Left (px)

Number

24

The margin in pixels on the left side of the visualization.

Margin Right (px)

Number

24

The margin in pixels on the right side of the visualization.

Margin Top (px)

Number

24

The margin in pixels on the top side of the visualization.

Margin Bottom (px)

Number

40

The margin in pixels on the bottom side of the visualization.

Auto-run query

on/off

on

If set, automatically runs the query when the report is displayed. Otherwise, the query is displayed and must be executed manually.

Report Description

Markdown text

If set, adds a button to the report header that opens a pop-up. The pop-up contains the rendered Markdown from this setting.