ribbon.d.ts 545 B

123456789101112131415
  1. import { ShapeComponent as SC } from '../../runtime';
  2. /**
  3. * p0 p2
  4. * ┌──────────────────────┐
  5. * │ │
  6. * │ │
  7. * p1 └──────────────────────┘ p3
  8. */
  9. export type RibbonOptions = Record<string, any>;
  10. /**
  11. * Connect points for 4 points:
  12. * - In rect, draw ribbon used in Sankey.
  13. * - In polar, draw arc used in Chord.
  14. */
  15. export declare const Ribbon: SC<RibbonOptions>;