index.d.ts 386 B

123456789101112
  1. /**
  2. * Sankey layout, fork from https://github.com/d3/d3-sankey/tree/master/src (todo, optimize algorithm)
  3. *
  4. * Major changes:
  5. *
  6. * 1. modify some set and map traverse
  7. * 2. fix some error caused by [empty] array
  8. * 3. support `nodeDepth` through align method
  9. */
  10. import { Sankey as sankey } from './sankey';
  11. export { center, left, right, justify } from './align';
  12. export { sankey };