UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

16 lines (15 loc) 545 B
import { ShapeComponent as SC } from '../../runtime'; /** * p0 p2 * ┌──────────────────────┐ * │ │ * │ │ * p1 └──────────────────────┘ p3 */ export type RibbonOptions = Record<string, any>; /** * Connect points for 4 points: * - In rect, draw ribbon used in Sankey. * - In polar, draw arc used in Chord. */ export declare const Ribbon: SC<RibbonOptions>;