React 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.

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

The node's title.

Type:

String