A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Sankey - Fields

Fields that provide information about the sankey node.

The node can have other fields in addition to the fields described in this section.

label

The node's label.

Type:

String

linksIn

The node's incoming links.

Type:

Array<Object>

Each object has the following structure:

{
    index: Number, // The link's index
    weight: Number, // The link's weight
    node: String // The title of the link's source node
}

linksOut

The node's outgoing links.

Type:

Array<Object>

Each object has the following structure:

{
    index: Number, // The link's index
    weight: Number, // The link's weight
    node: String // The title of the link's target node
}

title Deprecated

Use label instead.

The node's label.

Type:

String