Key in link objects for the node the flow arrives at.
OptionalnodesThe nodes half of the <Sankey> data, used to resolve the numeric
indices Recharts links carry into node names.
Recharts addresses nodes by their position in this array, and an index is not something to announce — "flow from 3 to 7" names neither end. Omit it only when the links already carry node names.
OptionalnodeKey in node objects for the node's name. Mirrors <Sankey nameKey>, and defaults to 'name'.
Configuration for a flow diagram. Required when
chartTypeis'alluvial'or'sankey'.The
dataarray is thelinkshalf of what Recharts'<Sankey>is given: one row per flow.xKeynames the field holding the source node and the singleyKeysentry the field holding the magnitude, so only the target needs a key of its own.