Skip to content

Interface: SankeyLayoutOptions

Defined in: charts/sankey.ts:32

Tuning for the pure sankeyLayout. All in normalized-extent units.

Properties

extent?

ts
optional extent?: {
  x?: Range;
  y?: Range;
};

Defined in: charts/sankey.ts:34

Drawing box. Defaults to x [0,1], y [0,1].

x?

ts
optional x?: Range;

y?

ts
optional y?: Range;

nodePadding?

ts
optional nodePadding?: number;

Defined in: charts/sankey.ts:38

Vertical gap between stacked nodes, as a fraction of the y extent. Default 0.02.


nodeWidth?

ts
optional nodeWidth?: number;

Defined in: charts/sankey.ts:36

Node rectangle width along x. Default 0.02.

MIT licensed. WebGL2 required.