UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

8 lines (7 loc) 336 B
import { DataComponent as DC } from '../runtime'; export type SankeyOptions = Omit<Record<string, any>, 'type'>; /** * Compute the node and edge position, return a graph representing the Sankey layout. All will be normalized to [[0, 0], [1, 1]] * Required graph data (nodes, edges) */ export declare const Sankey: DC<SankeyOptions>;