index.js 1.1 KB

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.sankey = exports.justify = exports.right = exports.left = exports.center = void 0;
  4. /**
  5. * Sankey layout, fork from https://github.com/d3/d3-sankey/tree/master/src (todo, optimize algorithm)
  6. *
  7. * Major changes:
  8. *
  9. * 1. modify some set and map traverse
  10. * 2. fix some error caused by [empty] array
  11. * 3. support `nodeDepth` through align method
  12. */
  13. const sankey_1 = require("./sankey");
  14. Object.defineProperty(exports, "sankey", { enumerable: true, get: function () { return sankey_1.Sankey; } });
  15. var align_1 = require("./align");
  16. Object.defineProperty(exports, "center", { enumerable: true, get: function () { return align_1.center; } });
  17. Object.defineProperty(exports, "left", { enumerable: true, get: function () { return align_1.left; } });
  18. Object.defineProperty(exports, "right", { enumerable: true, get: function () { return align_1.right; } });
  19. Object.defineProperty(exports, "justify", { enumerable: true, get: function () { return align_1.justify; } });
  20. //# sourceMappingURL=index.js.map