@dpuse/dpuse-tool-d3-visualiser 1.0.111 → 1.0.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +147 -146
  2. package/dist/{array-Cv4-2llb.js → array-CpxKKsZm.js} +2 -4
  3. package/dist/{array-Cv4-2llb.js.map → array-CpxKKsZm.js.map} +1 -1
  4. package/dist/{chordDiagram-BG0jW2g9.js → chordDiagram-Dbu2uT_s.js} +80 -155
  5. package/dist/{chordDiagram-BG0jW2g9.js.map → chordDiagram-Dbu2uT_s.js.map} +1 -1
  6. package/dist/dpuse-tool-d3-visualiser.es.js +7 -8
  7. package/dist/{erdDiagram-CHPY-zaP.js → erdDiagram-DKsqCN08.js} +78 -65
  8. package/dist/erdDiagram-DKsqCN08.js.map +1 -0
  9. package/dist/{hierarchy-CDFAetye.js → hierarchy-DU9LihDu.js} +14 -28
  10. package/dist/{hierarchy-CDFAetye.js.map → hierarchy-DU9LihDu.js.map} +1 -1
  11. package/dist/{linear-DytAYqu2.js → linear-CNetDix0.js} +37 -72
  12. package/dist/{linear-DytAYqu2.js.map → linear-CNetDix0.js.map} +1 -1
  13. package/dist/{link-BfoIl3p5.js → link-CAkrxHYd.js} +4 -6
  14. package/dist/{link-BfoIl3p5.js.map → link-CAkrxHYd.js.map} +1 -1
  15. package/dist/{networkDiagram-XI0c9kJR.js → networkDiagram-BiCPMNf8.js} +36 -70
  16. package/dist/{networkDiagram-XI0c9kJR.js.map → networkDiagram-BiCPMNf8.js.map} +1 -1
  17. package/dist/{palette-Ca7C6aNE.js → palette-D5DTPmuA.js} +2 -4
  18. package/dist/{palette-Ca7C6aNE.js.map → palette-D5DTPmuA.js.map} +1 -1
  19. package/dist/{point-DSPrfIZi.js → point-_U9MxSuk.js} +3 -6
  20. package/dist/{point-DSPrfIZi.js.map → point-_U9MxSuk.js.map} +1 -1
  21. package/dist/{sankeyDiagram-w2TGSqb7.js → sankeyDiagram-DcI-D1uh.js} +10 -17
  22. package/dist/sankeyDiagram-DcI-D1uh.js.map +1 -0
  23. package/dist/{select-Bs4oiNEZ.js → select-SZKizDc7.js} +48 -94
  24. package/dist/{select-Bs4oiNEZ.js.map → select-SZKizDc7.js.map} +1 -1
  25. package/dist/shipped-packages.json +2 -2
  26. package/dist/{src-Bo8my4B8.js → src-DAMkWOaT.js} +40 -78
  27. package/dist/{src-Bo8my4B8.js.map → src-DAMkWOaT.js.map} +1 -1
  28. package/dist/{string-iJh48M7Y.js → string-BzfQLSds.js} +7 -14
  29. package/dist/{string-iJh48M7Y.js.map → string-BzfQLSds.js.map} +1 -1
  30. package/dist/{tanStackCharts-LPqRQGD9.js → tanStackCharts-5HHGfe6p.js} +812 -879
  31. package/dist/tanStackCharts-5HHGfe6p.js.map +1 -0
  32. package/dist/{treeDiagram-C798R8hL.js → treeDiagram-fmrYqvXl.js} +5 -7
  33. package/dist/{treeDiagram-C798R8hL.js.map → treeDiagram-fmrYqvXl.js.map} +1 -1
  34. package/package.json +16 -15
  35. package/dist/erdDiagram-CHPY-zaP.js.map +0 -1
  36. package/dist/sankeyDiagram-w2TGSqb7.js.map +0 -1
  37. package/dist/tanStackCharts-LPqRQGD9.js.map +0 -1
@@ -1,12 +1,12 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s } from "./linear-DytAYqu2.js";
2
- import { i as c, r as l, t as u } from "./palette-Ca7C6aNE.js";
3
- import { t as d } from "./src-Bo8my4B8.js";
4
- import { t as f } from "./select-Bs4oiNEZ.js";
5
- import { a as p, o as m } from "./string-iJh48M7Y.js";
6
- import { r as h, t as g } from "./array-Cv4-2llb.js";
7
- import { i as _, n as v, r as y, t as b } from "./point-DSPrfIZi.js";
8
- import { n as x } from "./hierarchy-CDFAetye.js";
9
- //#region \0rolldown/runtime.js
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s } from "./linear-CNetDix0.js";
2
+ import { i as c, r as l, t as u } from "./palette-D5DTPmuA.js";
3
+ import { t as d } from "./src-DAMkWOaT.js";
4
+ import { t as f } from "./select-SZKizDc7.js";
5
+ import { a as p, o as m } from "./string-BzfQLSds.js";
6
+ import { r as h, t as g } from "./array-CpxKKsZm.js";
7
+ import { i as _, n as v, r as y, t as b } from "./point-_U9MxSuk.js";
8
+ import { n as x } from "./hierarchy-DU9LihDu.js";
9
+ // \0rolldown/runtime.js
10
10
  var S = Object.defineProperty, C = (e, t) => {
11
11
  let n = {};
12
12
  for (var r in e) S(n, r, {
@@ -15,8 +15,7 @@ var S = Object.defineProperty, C = (e, t) => {
15
15
  });
16
16
  return t || S(n, Symbol.toStringTag, { value: "Module" }), n;
17
17
  };
18
- //#endregion
19
- //#region node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
18
+ // node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
20
19
  function w(e) {
21
20
  if (e.sheet) return e.sheet;
22
21
  /* istanbul ignore next */
@@ -86,8 +85,7 @@ function ue(e, t) {
86
85
  function de(e, t) {
87
86
  return e.map(t).join("");
88
87
  }
89
- //#endregion
90
- //#region node_modules/stylis/src/Tokenizer.js
88
+ // node_modules/stylis/src/Tokenizer.js
91
89
  var fe = 1, pe = 1, me = 0, R = 0, z = 0, he = "";
92
90
  function ge(e, t, n, r, i, a, o) {
93
91
  return {
@@ -190,8 +188,7 @@ function Ae(e) {
190
188
  for (; !Se(V());) B();
191
189
  return xe(e, R);
192
190
  }
193
- //#endregion
194
- //#region node_modules/stylis/src/Parser.js
191
+ // node_modules/stylis/src/Parser.js
195
192
  function je(e) {
196
193
  return we(Me("", null, null, null, [""], e = Ce(e), 0, [0], e));
197
194
  }
@@ -281,8 +278,7 @@ function Pe(e, t, n) {
281
278
  function Fe(e, t, n, r) {
282
279
  return ge(e, t, n, M, ce(e, 0, r), ce(e, r + 1, -1), r);
283
280
  }
284
- //#endregion
285
- //#region node_modules/stylis/src/Serializer.js
281
+ // node_modules/stylis/src/Serializer.js
286
282
  function Ie(e, t) {
287
283
  for (var n = "", r = le(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
288
284
  return n;
@@ -298,8 +294,7 @@ function Le(e, t, n, r) {
298
294
  }
299
295
  return L(n = Ie(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
300
296
  }
301
- //#endregion
302
- //#region node_modules/stylis/src/Middleware.js
297
+ // node_modules/stylis/src/Middleware.js
303
298
  function Re(e) {
304
299
  var t = le(e);
305
300
  return function(n, r, i, a) {
@@ -312,16 +307,14 @@ function ze(e) {
312
307
  t.root || (t = t.return) && e(t);
313
308
  };
314
309
  }
315
- //#endregion
316
- //#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
310
+ // node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
317
311
  function Be(e) {
318
312
  var t = Object.create(null);
319
313
  return function(n) {
320
314
  return t[n] === void 0 && (t[n] = e(n)), t[n];
321
315
  };
322
316
  }
323
- //#endregion
324
- //#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
317
+ // node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
325
318
  var Ve = function(e, t, n) {
326
319
  for (var r = 0, i = 0; r = i, i = V(), r === 38 && i === 12 && (t[n] = 1), !Se(i);) B();
327
320
  return xe(e, R);
@@ -502,8 +495,7 @@ var Je = [function(e, t, n, r) {
502
495
  };
503
496
  return p.sheet.hydrate(o), p;
504
497
  };
505
- //#endregion
506
- //#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
498
+ // node_modules/@emotion/hash/dist/emotion-hash.esm.js
507
499
  function Xe(e) {
508
500
  for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= n >>> 24, t = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
509
501
  switch (i) {
@@ -513,8 +505,7 @@ function Xe(e) {
513
505
  }
514
506
  return t ^= t >>> 13, t = (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
515
507
  }
516
- //#endregion
517
- //#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
508
+ // node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
518
509
  var Ze = {
519
510
  animationIterationCount: 1,
520
511
  aspectRatio: 1,
@@ -654,8 +645,7 @@ function st(e, t, n) {
654
645
  next: H
655
646
  };
656
647
  }
657
- //#endregion
658
- //#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
648
+ // node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
659
649
  function ct(e, t, n) {
660
650
  var r = "";
661
651
  return n.split(" ").forEach(function(n) {
@@ -675,8 +665,7 @@ var lt = function(e, t, n) {
675
665
  while (i !== void 0);
676
666
  }
677
667
  };
678
- //#endregion
679
- //#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
668
+ // node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
680
669
  function dt(e, t) {
681
670
  if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
682
671
  }
@@ -754,13 +743,11 @@ var pt = function(e) {
754
743
  key: "unovis",
755
744
  nonce: Et
756
745
  }) : ht;
757
- //#endregion
758
- //#region node_modules/d3-array/src/identity.js
746
+ // node_modules/d3-array/src/identity.js
759
747
  function Mt(e) {
760
748
  return e;
761
749
  }
762
- //#endregion
763
- //#region node_modules/d3-array/src/group.js
750
+ // node_modules/d3-array/src/group.js
764
751
  function Nt(e, ...t) {
765
752
  return It(e, Mt, Mt, t);
766
753
  }
@@ -783,8 +770,7 @@ function It(e, t, n, i) {
783
770
  return t(s);
784
771
  })(e, 0);
785
772
  }
786
- //#endregion
787
- //#region node_modules/throttle-debounce/esm/index.js
773
+ // node_modules/throttle-debounce/esm/index.js
788
774
  function Lt(e, t, n) {
789
775
  var r = n || {}, i = r.noTrailing, a = i !== void 0 && i, o = r.noLeading, s = o !== void 0 && o, c = r.debounceMode, l = c === void 0 ? void 0 : c, u, d = !1, f = 0;
790
776
  function p() {
@@ -807,8 +793,7 @@ function Lt(e, t, n) {
807
793
  }
808
794
  return h.cancel = m, h;
809
795
  }
810
- //#endregion
811
- //#region node_modules/@unovis/ts/utils/data.js
796
+ // node_modules/@unovis/ts/utils/data.js
812
797
  var Rt = (e) => typeof e == "number", zt = (e) => typeof e == "function", Bt = (e) => e === void 0, Vt = (e) => typeof e == "string", Ht = (e) => Array.isArray(e), Ut = (e) => e instanceof Object, Wt = (e) => e.constructor.name !== "Function" && e.constructor.name !== "Object", Gt = (e) => Ut(e) && !Ht(e) && !zt(e) && !Wt(e), Kt = (e, t, n = [], r = /* @__PURE__ */ new Set()) => {
813
798
  if (e === t) return !0;
814
799
  if (Array.isArray(e)) {
@@ -866,11 +851,9 @@ function K(e, t, n) {
866
851
  function Qt(e, t, n) {
867
852
  return Math.min(Math.max(e, t), n);
868
853
  }
869
- //#endregion
870
- //#region node_modules/@unovis/ts/types/component.js
854
+ // node_modules/@unovis/ts/types/component.js
871
855
  var $t = /* @__PURE__ */ ((e) => (e[e.SVG = 0] = "SVG", e[e.HTML = 1] = "HTML", e))($t || {}), q = /* @__PURE__ */ ((e) => (e.Fit = "fit", e.Extend = "extend", e.FitWidth = "fit_width", e))(q || {});
872
- //#endregion
873
- //#region node_modules/@unovis/ts/utils/to-px.js
856
+ // node_modules/@unovis/ts/utils/to-px.js
874
857
  function en(e) {
875
858
  return e = String(e), [parseFloat(e), e.match(/[\d.\-+]*\s*(.*)/)?.[1] || ""];
876
859
  }
@@ -937,8 +920,7 @@ function sn(e, t) {
937
920
  }
938
921
  return null;
939
922
  }
940
- //#endregion
941
- //#region node_modules/@unovis/ts/utils/misc.js
923
+ // node_modules/@unovis/ts/utils/misc.js
942
924
  function cn() {
943
925
  let e = () => Math.floor((1 + crypto.getRandomValues(/* @__PURE__ */ new Uint32Array(1))[0]) * 65536).toString(16).substring(1);
944
926
  return `${e() + e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`;
@@ -957,8 +939,7 @@ function dn(e, t) {
957
939
  function fn(e) {
958
940
  return typeof e == "number" ? e : sn(e);
959
941
  }
960
- //#endregion
961
- //#region node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js
942
+ // node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js
962
943
  var pn = [], mn = function() {
963
944
  return pn.some(function(e) {
964
945
  return e.activeTargets.length > 0;
@@ -974,8 +955,7 @@ var pn = [], mn = function() {
974
955
  (function(e) {
975
956
  e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
976
957
  })(vn ||= {});
977
- //#endregion
978
- //#region node_modules/@juggle/resize-observer/lib/utils/freeze.js
958
+ // node_modules/@juggle/resize-observer/lib/utils/freeze.js
979
959
  var yn = function(e) {
980
960
  return Object.freeze(e);
981
961
  }, bn = function() {
@@ -1452,8 +1432,7 @@ function Or() {
1452
1432
  n.setAttribute("height", "0"), n.setAttribute("width", "0"), n.style.position = "fixed", n.style.zIndex = "-99999999", n.innerHTML = `<defs>${t}</defs>`, document.body.appendChild(n);
1453
1433
  }
1454
1434
  typeof window < "u" && Or();
1455
- //#endregion
1456
- //#region node_modules/d3-scale/src/pow.js
1435
+ // node_modules/d3-scale/src/pow.js
1457
1436
  function kr(e) {
1458
1437
  return function(t) {
1459
1438
  return t < 0 ? -((-t) ** +e) : t ** +e;
@@ -1480,8 +1459,7 @@ function Nr() {
1480
1459
  return o(n, Nr()).exponent(n.exponent());
1481
1460
  }, t.apply(n, arguments), n;
1482
1461
  }
1483
- //#endregion
1484
- //#region node_modules/@unovis/ts/utils/color.js
1462
+ // node_modules/@unovis/ts/utils/color.js
1485
1463
  var Pr = s().range(Array.from({ length: Y.length }, (e, t) => `var(${pr(t)})`)).domain(Array.from({ length: Y.length }, (e, t) => t));
1486
1464
  function Fr(e, t, n, r, i) {
1487
1465
  if (Array.isArray(t) && isFinite(n)) return t[n % t.length];
@@ -1510,8 +1488,7 @@ function Lr(e) {
1510
1488
  function Rr(e) {
1511
1489
  return Lr(Ir(e));
1512
1490
  }
1513
- //#endregion
1514
- //#region node_modules/@unovis/ts/utils/pattern.js
1491
+ // node_modules/@unovis/ts/utils/pattern.js
1515
1492
  var zr = "unovis-pattern-index";
1516
1493
  function Br(e, t, n) {
1517
1494
  let r = G(e, t, n);
@@ -1571,8 +1548,7 @@ Ot`
1571
1548
  function Gr(e = window?.document.body) {
1572
1549
  return e ? +un("var(--vis-font-wh-ratio)", e) : Hr;
1573
1550
  }
1574
- //#endregion
1575
- //#region node_modules/@unovis/ts/types/text.js
1551
+ // node_modules/@unovis/ts/types/text.js
1576
1552
  var Kr = /* @__PURE__ */ ((e) => (e.Start = "start", e.Middle = "middle", e.End = "end", e))(Kr || {}), qr = 5e3;
1577
1553
  function Jr(e, t, n) {
1578
1554
  if (e.size >= qr && !e.has(t)) {
@@ -1581,8 +1557,7 @@ function Jr(e, t, n) {
1581
1557
  }
1582
1558
  e.set(t, n);
1583
1559
  }
1584
- //#endregion
1585
- //#region node_modules/@unovis/ts/utils/text-measure.js
1560
+ // node_modules/@unovis/ts/utils/text-measure.js
1586
1561
  var Yr = "", Xr = /* @__PURE__ */ new Map(), Zr = /* @__PURE__ */ new WeakMap(), Qr = /* @__PURE__ */ new Map(), $r = globalThis?.document?.createElement("canvas").getContext("2d") ?? null, ei = (e, t) => `${t}${Yr}${e}`;
1587
1562
  function ti() {
1588
1563
  Xr.clear(), Qr.clear();
@@ -1619,8 +1594,7 @@ function oi(e) {
1619
1594
  let a = $r ? ri(t, n) : e.getComputedTextLength();
1620
1595
  return Jr(Xr, r, a), a;
1621
1596
  }
1622
- //#endregion
1623
- //#region node_modules/@unovis/ts/utils/text.js
1597
+ // node_modules/@unovis/ts/utils/text.js
1624
1598
  function si(e, t = 15) {
1625
1599
  return e ? e.length > t ? `…${e.substr(e.length - t, t)}` : e : "";
1626
1600
  }
@@ -1653,8 +1627,7 @@ function di(e, t = 50, n = Kr.Middle, r = !1, i = sn(window.getComputedStyle(e.n
1653
1627
  }
1654
1628
  return e.text(ui(o, d, n)), !0;
1655
1629
  }
1656
- //#endregion
1657
- //#region node_modules/@unovis/ts/utils/d3.js
1630
+ // node_modules/@unovis/ts/utils/d3.js
1658
1631
  function X(e, t, n) {
1659
1632
  if (e.nodes().forEach((e) => d(e)), t) {
1660
1633
  let r = e.transition().duration(t);
@@ -1662,8 +1635,7 @@ function X(e, t, n) {
1662
1635
  }
1663
1636
  return e;
1664
1637
  }
1665
- //#endregion
1666
- //#region node_modules/@unovis/ts/containers/single-container/config.js
1638
+ // node_modules/@unovis/ts/containers/single-container/config.js
1667
1639
  var fi = {
1668
1640
  ...cr,
1669
1641
  tooltip: void 0,
@@ -1825,8 +1797,7 @@ function Ti(e) {
1825
1797
  function Ei(e) {
1826
1798
  return e >= 1 ? Ci : e <= -1 ? -Ci : Math.asin(e);
1827
1799
  }
1828
- //#endregion
1829
- //#region node_modules/d3-shape/src/arc.js
1800
+ // node_modules/d3-shape/src/arc.js
1830
1801
  function Di(e) {
1831
1802
  return e.innerRadius;
1832
1803
  }
@@ -1904,8 +1875,7 @@ function Pi() {
1904
1875
  return arguments.length ? (s = e ?? null, l) : s;
1905
1876
  }, l;
1906
1877
  }
1907
- //#endregion
1908
- //#region node_modules/d3-shape/src/curve/linear.js
1878
+ // node_modules/d3-shape/src/curve/linear.js
1909
1879
  function Fi(e) {
1910
1880
  this._context = e;
1911
1881
  }
@@ -1935,8 +1905,7 @@ Fi.prototype = {
1935
1905
  function Ii(e) {
1936
1906
  return new Fi(e);
1937
1907
  }
1938
- //#endregion
1939
- //#region node_modules/d3-shape/src/line.js
1908
+ // node_modules/d3-shape/src/line.js
1940
1909
  function Li(e, t) {
1941
1910
  var n = h(!0), r = null, i = Ii, a = null, o = y(s);
1942
1911
  e = typeof e == "function" ? e : e === void 0 ? b : h(e), t = typeof t == "function" ? t : t === void 0 ? v : h(t);
@@ -1957,8 +1926,7 @@ function Li(e, t) {
1957
1926
  return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;
1958
1927
  }, s;
1959
1928
  }
1960
- //#endregion
1961
- //#region node_modules/d3-shape/src/area.js
1929
+ // node_modules/d3-shape/src/area.js
1962
1930
  function Ri(e, t, n) {
1963
1931
  var r = null, i = h(!0), a = null, o = Ii, s = null, c = y(l);
1964
1932
  e = typeof e == "function" ? e : e === void 0 ? b : h(+e), t = typeof t == "function" ? t : h(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? v : h(+n);
@@ -2005,18 +1973,15 @@ function Ri(e, t, n) {
2005
1973
  return arguments.length ? (e == null ? a = s = null : s = o(a = e), l) : a;
2006
1974
  }, l;
2007
1975
  }
2008
- //#endregion
2009
- //#region node_modules/d3-shape/src/descending.js
1976
+ // node_modules/d3-shape/src/descending.js
2010
1977
  function zi(e, t) {
2011
1978
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
2012
1979
  }
2013
- //#endregion
2014
- //#region node_modules/d3-shape/src/identity.js
1980
+ // node_modules/d3-shape/src/identity.js
2015
1981
  function Bi(e) {
2016
1982
  return e;
2017
1983
  }
2018
- //#endregion
2019
- //#region node_modules/d3-shape/src/pie.js
1984
+ // node_modules/d3-shape/src/pie.js
2020
1985
  function Vi() {
2021
1986
  var e = Bi, t = zi, n = null, r = h(0), i = h(wi), a = h(0);
2022
1987
  function o(o) {
@@ -2050,8 +2015,7 @@ function Vi() {
2050
2015
  return arguments.length ? (a = typeof e == "function" ? e : h(+e), o) : a;
2051
2016
  }, o;
2052
2017
  }
2053
- //#endregion
2054
- //#region node_modules/d3-shape/src/curve/radial.js
2018
+ // node_modules/d3-shape/src/curve/radial.js
2055
2019
  var Hi = Wi(Ii);
2056
2020
  function Ui(e) {
2057
2021
  this._curve = e;
@@ -2079,16 +2043,14 @@ function Wi(e) {
2079
2043
  }
2080
2044
  return t._curve = e, t;
2081
2045
  }
2082
- //#endregion
2083
- //#region node_modules/d3-shape/src/lineRadial.js
2046
+ // node_modules/d3-shape/src/lineRadial.js
2084
2047
  function Gi(e) {
2085
2048
  var t = e.curve;
2086
2049
  return e.angle = e.x, delete e.x, e.radius = e.y, delete e.y, e.curve = function(e) {
2087
2050
  return arguments.length ? t(Wi(e)) : t()._curve;
2088
2051
  }, e;
2089
2052
  }
2090
- //#endregion
2091
- //#region node_modules/d3-shape/src/areaRadial.js
2053
+ // node_modules/d3-shape/src/areaRadial.js
2092
2054
  function Ki() {
2093
2055
  var e = Ri().curve(Hi), t = e.curve, n = e.lineX0, r = e.lineX1, i = e.lineY0, a = e.lineY1;
2094
2056
  return e.angle = e.x, delete e.x, e.startAngle = e.x0, delete e.x0, e.endAngle = e.x1, delete e.x1, e.radius = e.y, delete e.y, e.innerRadius = e.y0, delete e.y0, e.outerRadius = e.y1, delete e.y1, e.lineStartAngle = function() {
@@ -2103,11 +2065,9 @@ function Ki() {
2103
2065
  return arguments.length ? t(Wi(e)) : t()._curve;
2104
2066
  }, e;
2105
2067
  }
2106
- //#endregion
2107
- //#region node_modules/d3-shape/src/noop.js
2068
+ // node_modules/d3-shape/src/noop.js
2108
2069
  function qi() {}
2109
- //#endregion
2110
- //#region node_modules/d3-shape/src/curve/basis.js
2070
+ // node_modules/d3-shape/src/curve/basis.js
2111
2071
  function Ji(e, t, n) {
2112
2072
  e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
2113
2073
  }
@@ -2148,8 +2108,7 @@ Yi.prototype = {
2148
2108
  function Xi(e) {
2149
2109
  return new Yi(e);
2150
2110
  }
2151
- //#endregion
2152
- //#region node_modules/d3-shape/src/curve/basisClosed.js
2111
+ // node_modules/d3-shape/src/curve/basisClosed.js
2153
2112
  function Zi(e) {
2154
2113
  this._context = e;
2155
2114
  }
@@ -2189,8 +2148,7 @@ Zi.prototype = {
2189
2148
  function Qi(e) {
2190
2149
  return new Zi(e);
2191
2150
  }
2192
- //#endregion
2193
- //#region node_modules/d3-shape/src/curve/basisOpen.js
2151
+ // node_modules/d3-shape/src/curve/basisOpen.js
2194
2152
  function $i(e) {
2195
2153
  this._context = e;
2196
2154
  }
@@ -2229,8 +2187,7 @@ $i.prototype = {
2229
2187
  function ea(e) {
2230
2188
  return new $i(e);
2231
2189
  }
2232
- //#endregion
2233
- //#region node_modules/d3-shape/src/curve/bundle.js
2190
+ // node_modules/d3-shape/src/curve/bundle.js
2234
2191
  function ta(e, t) {
2235
2192
  this._basis = new Yi(e), this._beta = t;
2236
2193
  }
@@ -2255,8 +2212,7 @@ var na = (function e(t) {
2255
2212
  return e(+t);
2256
2213
  }, n;
2257
2214
  })(.85);
2258
- //#endregion
2259
- //#region node_modules/d3-shape/src/curve/cardinal.js
2215
+ // node_modules/d3-shape/src/curve/cardinal.js
2260
2216
  function ra(e, t, n) {
2261
2217
  e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
2262
2218
  }
@@ -2304,8 +2260,7 @@ var aa = (function e(t) {
2304
2260
  return e(+t);
2305
2261
  }, n;
2306
2262
  })(0);
2307
- //#endregion
2308
- //#region node_modules/d3-shape/src/curve/cardinalClosed.js
2263
+ // node_modules/d3-shape/src/curve/cardinalClosed.js
2309
2264
  function oa(e, t) {
2310
2265
  this._context = e, this._k = (1 - t) / 6;
2311
2266
  }
@@ -2350,8 +2305,7 @@ var sa = (function e(t) {
2350
2305
  return e(+t);
2351
2306
  }, n;
2352
2307
  })(0);
2353
- //#endregion
2354
- //#region node_modules/d3-shape/src/curve/cardinalOpen.js
2308
+ // node_modules/d3-shape/src/curve/cardinalOpen.js
2355
2309
  function ca(e, t) {
2356
2310
  this._context = e, this._k = (1 - t) / 6;
2357
2311
  }
@@ -2393,8 +2347,7 @@ var la = (function e(t) {
2393
2347
  return e(+t);
2394
2348
  }, n;
2395
2349
  })(0);
2396
- //#endregion
2397
- //#region node_modules/d3-shape/src/curve/catmullRom.js
2350
+ // node_modules/d3-shape/src/curve/catmullRom.js
2398
2351
  function ua(e, t, n) {
2399
2352
  var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
2400
2353
  if (e._l01_a > 1e-12) {
@@ -2455,8 +2408,7 @@ var fa = (function e(t) {
2455
2408
  return e(+t);
2456
2409
  }, n;
2457
2410
  })(.5);
2458
- //#endregion
2459
- //#region node_modules/d3-shape/src/curve/catmullRomClosed.js
2411
+ // node_modules/d3-shape/src/curve/catmullRomClosed.js
2460
2412
  function pa(e, t) {
2461
2413
  this._context = e, this._alpha = t;
2462
2414
  }
@@ -2505,8 +2457,7 @@ var ma = (function e(t) {
2505
2457
  return e(+t);
2506
2458
  }, n;
2507
2459
  })(.5);
2508
- //#endregion
2509
- //#region node_modules/d3-shape/src/curve/catmullRomOpen.js
2460
+ // node_modules/d3-shape/src/curve/catmullRomOpen.js
2510
2461
  function ha(e, t) {
2511
2462
  this._context = e, this._alpha = t;
2512
2463
  }
@@ -2552,8 +2503,7 @@ var ga = (function e(t) {
2552
2503
  return e(+t);
2553
2504
  }, n;
2554
2505
  })(.5);
2555
- //#endregion
2556
- //#region node_modules/d3-shape/src/curve/linearClosed.js
2506
+ // node_modules/d3-shape/src/curve/linearClosed.js
2557
2507
  function _a(e) {
2558
2508
  this._context = e;
2559
2509
  }
@@ -2573,8 +2523,7 @@ _a.prototype = {
2573
2523
  function va(e) {
2574
2524
  return new _a(e);
2575
2525
  }
2576
- //#endregion
2577
- //#region node_modules/d3-shape/src/curve/monotone.js
2526
+ // node_modules/d3-shape/src/curve/monotone.js
2578
2527
  function ya(e) {
2579
2528
  return e < 0 ? -1 : 1;
2580
2529
  }
@@ -2660,8 +2609,7 @@ function Ea(e) {
2660
2609
  function Da(e) {
2661
2610
  return new wa(e);
2662
2611
  }
2663
- //#endregion
2664
- //#region node_modules/d3-shape/src/curve/natural.js
2612
+ // node_modules/d3-shape/src/curve/natural.js
2665
2613
  function Oa(e) {
2666
2614
  this._context = e;
2667
2615
  }
@@ -2698,8 +2646,7 @@ function ka(e) {
2698
2646
  function Aa(e) {
2699
2647
  return new Oa(e);
2700
2648
  }
2701
- //#endregion
2702
- //#region node_modules/d3-shape/src/curve/step.js
2649
+ // node_modules/d3-shape/src/curve/step.js
2703
2650
  function ja(e, t) {
2704
2651
  this._context = e, this._t = t;
2705
2652
  }
@@ -2740,8 +2687,7 @@ function Na(e) {
2740
2687
  function Pa(e) {
2741
2688
  return new ja(e, 1);
2742
2689
  }
2743
- //#endregion
2744
- //#region node_modules/d3-interpolate-path/build/d3-interpolate-path.mjs
2690
+ // node_modules/d3-interpolate-path/build/d3-interpolate-path.mjs
2745
2691
  function Fa(e, t) {
2746
2692
  var n = Object.keys(e);
2747
2693
  if (Object.getOwnPropertySymbols) {
@@ -3043,8 +2989,7 @@ function no(e, t, n) {
3043
2989
  return r;
3044
2990
  };
3045
2991
  }
3046
- //#endregion
3047
- //#region node_modules/@unovis/ts/types/curve.js
2992
+ // node_modules/@unovis/ts/types/curve.js
3048
2993
  var ro = {
3049
2994
  basis: Xi,
3050
2995
  basisClosed: Qi,
@@ -3065,13 +3010,11 @@ var ro = {
3065
3010
  stepAfter: Pa,
3066
3011
  stepBefore: Na
3067
3012
  };
3068
- //#endregion
3069
- //#region node_modules/@unovis/ts/utils/path.js
3013
+ // node_modules/@unovis/ts/utils/path.js
3070
3014
  function io(e, t) {
3071
3015
  return e.toString().replace(/L(?<x>-?\d*\.?\d*),(?<y>-?\d+\.?\d*)/gm, (e, n, r) => `A ${t} ${t} 0 0 0 ${n} ${r}`);
3072
3016
  }
3073
- //#endregion
3074
- //#region node_modules/@unovis/ts/components/chord-diagram/types.js
3017
+ // node_modules/@unovis/ts/components/chord-diagram/types.js
3075
3018
  var $ = /* @__PURE__ */ ((e) => (e.Along = "along", e.Perpendicular = "perpendicular", e))($ || {}), ao = class extends mi {
3076
3019
  constructor() {
3077
3020
  super(...arguments), this._nodes = [], this._links = [], this._inputNodesMap = /* @__PURE__ */ new Map(), this._nodesMap = /* @__PURE__ */ new Map(), this._nodesByUserId = /* @__PURE__ */ new Map(), this._nodesByInputRef = /* @__PURE__ */ new Map(), this.nodeId = (e) => Vt(e.id) || isFinite(e.id) ? `${e.id}` : void 0, this.linkId = (e) => Vt(e.id) || isFinite(e.id) ? `${e.id}` : void 0;
@@ -3143,25 +3086,18 @@ var $ = /* @__PURE__ */ ((e) => (e.Along = "along", e.Perpendicular = "perpendic
3143
3086
  }
3144
3087
  setNodeStateById(e, t) {
3145
3088
  let n = this.getNodeById(e);
3146
- if (!n) {
3147
- console.warn(`Unovis | Graph Data Model: Node ${e} not found`);
3148
- return;
3149
- }
3150
- n._state = t;
3089
+ n ? n._state = t : console.warn(`Unovis | Graph Data Model: Node ${e} not found`);
3151
3090
  }
3152
3091
  };
3153
- //#endregion
3154
- //#region node_modules/d3-hierarchy/src/treemap/round.js
3092
+ // node_modules/d3-hierarchy/src/treemap/round.js
3155
3093
  function oo(e) {
3156
3094
  e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
3157
3095
  }
3158
- //#endregion
3159
- //#region node_modules/d3-hierarchy/src/treemap/dice.js
3096
+ // node_modules/d3-hierarchy/src/treemap/dice.js
3160
3097
  function so(e, t, n, r, i) {
3161
3098
  for (var a = e.children, o, s = -1, c = a.length, l = e.value && (r - t) / e.value; ++s < c;) o = a[s], o.y0 = n, o.y1 = i, o.x0 = t, o.x1 = t += o.value * l;
3162
3099
  }
3163
- //#endregion
3164
- //#region node_modules/d3-hierarchy/src/partition.js
3100
+ // node_modules/d3-hierarchy/src/partition.js
3165
3101
  function co() {
3166
3102
  var e = 1, t = 1, n = 0, r = !1;
3167
3103
  function i(i) {
@@ -3183,8 +3119,7 @@ function co() {
3183
3119
  return arguments.length ? (n = +e, i) : n;
3184
3120
  }, i;
3185
3121
  }
3186
- //#endregion
3187
- //#region node_modules/@unovis/ts/components/chord-diagram/config.js
3122
+ // node_modules/@unovis/ts/components/chord-diagram/config.js
3188
3123
  var lo = {
3189
3124
  ...hi,
3190
3125
  duration: 800,
@@ -3205,8 +3140,7 @@ var lo = {
3205
3140
  angleRange: [0, 2 * Math.PI],
3206
3141
  radiusScaleExponent: 2
3207
3142
  };
3208
- //#endregion
3209
- //#region node_modules/@unovis/ts/components/chord-diagram/modules/node.js
3143
+ // node_modules/@unovis/ts/components/chord-diagram/modules/node.js
3210
3144
  function uo(e) {
3211
3145
  e.style("opacity", 0).each((e, t, n) => {
3212
3146
  let r = n[t], i = (e.x0 + e.x1) / 2, a = (e.x1 - e.x0) / 2;
@@ -3233,8 +3167,7 @@ function fo(e, t, n, r) {
3233
3167
  function po(e, t) {
3234
3168
  X(e, t).style("opacity", 0).remove();
3235
3169
  }
3236
- //#endregion
3237
- //#region node_modules/@unovis/ts/components/chord-diagram/style.js
3170
+ // node_modules/@unovis/ts/components/chord-diagram/style.js
3238
3171
  var mo = /* @__PURE__ */ C({
3239
3172
  background: () => _o,
3240
3173
  highlightedLink: () => Do,
@@ -3371,8 +3304,7 @@ function No(e, t, n, r, i) {
3371
3304
  function Po(e, t) {
3372
3305
  X(e, t).style("opacity", 0).remove();
3373
3306
  }
3374
- //#endregion
3375
- //#region node_modules/@unovis/ts/components/chord-diagram/modules/layout.js
3307
+ // node_modules/@unovis/ts/components/chord-diagram/modules/layout.js
3376
3308
  function Fo(e) {
3377
3309
  let { height: t, depth: n } = e;
3378
3310
  if (t > 0) {
@@ -3426,22 +3358,18 @@ function Ro(e, t, n) {
3426
3358
  _state: {}
3427
3359
  }));
3428
3360
  }
3429
- //#endregion
3430
- //#region node_modules/d3-chord/src/math.js
3361
+ // node_modules/d3-chord/src/math.js
3431
3362
  var zo = Math.abs, Bo = Math.cos, Vo = Math.sin, Ho = Math.PI, Uo = Ho / 2;
3432
3363
  Ho * 2;
3433
- //#endregion
3434
- //#region node_modules/d3-chord/src/array.js
3364
+ // node_modules/d3-chord/src/array.js
3435
3365
  var Wo = Array.prototype.slice;
3436
- //#endregion
3437
- //#region node_modules/d3-chord/src/constant.js
3366
+ // node_modules/d3-chord/src/constant.js
3438
3367
  function Go(e) {
3439
3368
  return function() {
3440
3369
  return e;
3441
3370
  };
3442
3371
  }
3443
- //#endregion
3444
- //#region node_modules/d3-chord/src/ribbon.js
3372
+ // node_modules/d3-chord/src/ribbon.js
3445
3373
  function Ko(e) {
3446
3374
  return e.source;
3447
3375
  }
@@ -3497,8 +3425,7 @@ function Qo(e) {
3497
3425
  function $o() {
3498
3426
  return Qo();
3499
3427
  }
3500
- //#endregion
3501
- //#region node_modules/@unovis/ts/components/chord-diagram/modules/link.js
3428
+ // node_modules/@unovis/ts/components/chord-diagram/modules/link.js
3502
3429
  function es() {
3503
3430
  return "M0,0 L0,0";
3504
3431
  }
@@ -3522,8 +3449,7 @@ function as(e, t, n, r) {
3522
3449
  function os(e, t) {
3523
3450
  X(e, t).style("opacity", 0).remove();
3524
3451
  }
3525
- //#endregion
3526
- //#region node_modules/@unovis/ts/components/chord-diagram/index.js
3452
+ // node_modules/@unovis/ts/components/chord-diagram/index.js
3527
3453
  var ss = class e extends gi {
3528
3454
  constructor(t) {
3529
3455
  super(), this._defaultConfig = lo, this.config = this._defaultConfig, this.datamodel = new ao(), this.arcGen = Pi(), this.radiusScale = Nr(), this.events = {
@@ -3659,5 +3585,4 @@ function ds(e, t, n = {}) {
3659
3585
  }
3660
3586
  };
3661
3587
  }
3662
- //#endregion
3663
3588
  export { ds as renderChordDiagram };