@diagrammo/dgmo 0.62.1 → 0.64.0

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 (96) hide show
  1. package/README.md +2 -2
  2. package/dist/advanced.d.ts +70 -1
  3. package/dist/advanced.js +126 -46
  4. package/dist/block.js +9 -9
  5. package/dist/chart-meta.js +2 -2
  6. package/dist/{charts-d3-M76E4TZU.js → charts-d3-ZTXJWEHI.js} +4 -4
  7. package/dist/{chunk-BIWMOFSE.js → chunk-2KOBOIB2.js} +2 -2
  8. package/dist/{chunk-KHTKMVKT.js → chunk-67D4MN2H.js} +2 -2
  9. package/dist/{chunk-TJCHULP5.js → chunk-7GUYGQR4.js} +2 -2
  10. package/dist/{chunk-2LN5C6FH.js → chunk-7T3A2UK3.js} +10 -6
  11. package/dist/{chunk-3PVUGECM.js → chunk-AA4M6F2P.js} +2 -2
  12. package/dist/{chunk-W32HMBPW.js → chunk-B6AONGTI.js} +3 -3
  13. package/dist/{chunk-DY4VJYG7.js → chunk-C6DMG2V6.js} +3 -3
  14. package/dist/{chunk-MD2KWAXJ.js → chunk-CDMF7P5A.js} +2 -2
  15. package/dist/{chunk-HBSKE3ML.js → chunk-CZUSH6NI.js} +3 -3
  16. package/dist/{chunk-USHDV2AF.js → chunk-DB2KQ5DN.js} +3 -3
  17. package/dist/{chunk-34HQALZ5.js → chunk-DN5HEDE4.js} +3 -3
  18. package/dist/{chunk-PUFWYDWP.js → chunk-FRC4LDTQ.js} +3 -3
  19. package/dist/{chunk-MRD4QWFK.js → chunk-I24O2RWT.js} +2 -2
  20. package/dist/{chunk-VWCGN2ST.js → chunk-I2ATN25N.js} +3 -3
  21. package/dist/{chunk-SSR6JAR3.js → chunk-IGIJZHB6.js} +2 -2
  22. package/dist/{chunk-3HYRJAXO.js → chunk-IX6N5MCY.js} +3 -3
  23. package/dist/{chunk-AKD3YZ54.js → chunk-KPX2OWZR.js} +3 -3
  24. package/dist/{chunk-L26ZAPNJ.js → chunk-KZ3PCDUJ.js} +2 -2
  25. package/dist/{chunk-UZ3JPYD3.js → chunk-L4IN4OBB.js} +3 -3
  26. package/dist/{chunk-RZRMSNO7.js → chunk-LMXAB4YM.js} +3 -3
  27. package/dist/{chunk-X4FCKGK2.js → chunk-LYTEVE2N.js} +3 -3
  28. package/dist/{chunk-NQH2Q2RR.js → chunk-M4HYPDER.js} +3 -3
  29. package/dist/{chunk-OIK6Y2EJ.js → chunk-MHI6W6XS.js} +4 -4
  30. package/dist/{chunk-FVYHDZ6Q.js → chunk-MQHOKBJ6.js} +3 -3
  31. package/dist/{chunk-U22TKD3L.js → chunk-NIZM3LAG.js} +4 -4
  32. package/dist/{chunk-A34FVVVI.js → chunk-NKRCPBTJ.js} +2 -2
  33. package/dist/{chunk-XXDEQSW4.js → chunk-OBKM6GIJ.js} +3 -3
  34. package/dist/{chunk-BPINSP65.js → chunk-OMTBYLKN.js} +4 -4
  35. package/dist/{chunk-UKZ7K5GS.js → chunk-RBAW7VUG.js} +4 -3
  36. package/dist/{chunk-KK5LQIN7.js → chunk-RBBJIHNL.js} +4 -4
  37. package/dist/{chunk-DUHKYKI7.js → chunk-RQL25P3U.js} +4 -4
  38. package/dist/{chunk-LFAQ4BLZ.js → chunk-S5RWWISJ.js} +3 -3
  39. package/dist/{chunk-65QX6LYT.js → chunk-SJGZSPSW.js} +9 -3
  40. package/dist/{chunk-BGITRLTR.js → chunk-SMCUX42K.js} +2 -2
  41. package/dist/{chunk-PTKCX5ZE.js → chunk-SPHC4RYF.js} +3 -3
  42. package/dist/{chunk-TRP7PC5Z.js → chunk-SVR3YFM3.js} +3 -3
  43. package/dist/{chunk-YVI3JL3S.js → chunk-T4QXHE34.js} +4 -4
  44. package/dist/{chunk-SV7F363F.js → chunk-TAJ2XFTT.js} +3 -3
  45. package/dist/{chunk-SBOG6R6A.js → chunk-V3UQSKWJ.js} +3 -3
  46. package/dist/{chunk-QDPMTFB4.js → chunk-VOJOARA6.js} +45 -45
  47. package/dist/{chunk-2PTK46E2.js → chunk-WDJ4HAGO.js} +2 -2
  48. package/dist/{chunk-QFNRHY62.js → chunk-XUN3MIO3.js} +2 -2
  49. package/dist/{chunk-L4B4GRVS.js → chunk-YHTKDIF2.js} +3 -3
  50. package/dist/{chunk-IMXG673Y.js → chunk-YLK3JNWP.js} +2 -2
  51. package/dist/{chunk-GCVTU64J.js → chunk-Z2ADWRSW.js} +3 -3
  52. package/dist/{chunk-6KFWC4CO.js → chunk-Z5ID35YP.js} +4 -2
  53. package/dist/{dgmo-router-Z5N6QLIC.js → dgmo-router-QWRF7ZKM.js} +3 -3
  54. package/dist/{flowchart-renderer-BCVCIZHF.js → flowchart-renderer-EXMRHFTQ.js} +3 -3
  55. package/dist/index.js +9 -9
  56. package/dist/{parser-SRUPRH77.js → parser-5WIZGKNE.js} +2 -2
  57. package/dist/{renderer-XIJO7DYS.js → renderer-2ARNFXSC.js} +4 -4
  58. package/dist/{renderer-NKVIQA3C.js → renderer-2E7LQC32.js} +3 -3
  59. package/dist/{renderer-CU6BEHHV.js → renderer-7OOC2ZO2.js} +3 -3
  60. package/dist/{renderer-UTXVIAS7.js → renderer-BYWLJDT4.js} +4 -4
  61. package/dist/{renderer-AVR3LBTS.js → renderer-C6KOE774.js} +4 -4
  62. package/dist/{renderer-M7YOXAGC.js → renderer-DMVUBKP7.js} +3 -3
  63. package/dist/{renderer-5HYDLCMX.js → renderer-FCO42JLK.js} +4 -4
  64. package/dist/{renderer-HPQJRSON.js → renderer-H6AQ4UIR.js} +4 -4
  65. package/dist/{renderer-BBBN7QNX.js → renderer-HLWEJQJW.js} +3 -3
  66. package/dist/{renderer-HGWKAXS6.js → renderer-IN3UPTZS.js} +3 -3
  67. package/dist/{renderer-TDFRMG3O.js → renderer-KK2534AF.js} +3 -3
  68. package/dist/{renderer-TTMBG2N6.js → renderer-KOWVTTYR.js} +4 -4
  69. package/dist/{renderer-PKST5W6U.js → renderer-KPEQ72FY.js} +5 -5
  70. package/dist/{renderer-DRLZELXM.js → renderer-LO4FXQHP.js} +4 -4
  71. package/dist/{renderer-KHVAM4IY.js → renderer-LSBXYOID.js} +4 -4
  72. package/dist/{renderer-K3TH5PP7.js → renderer-M3PQKXK2.js} +5 -5
  73. package/dist/{renderer-AMCTCBV3.js → renderer-M43ROWET.js} +4 -4
  74. package/dist/{renderer-Q2YHQQSN.js → renderer-NHFRVCDC.js} +4 -4
  75. package/dist/{renderer-JL7L5Y5M.js → renderer-OA7FSZ4A.js} +3 -3
  76. package/dist/{renderer-CHHYNEK7.js → renderer-OB77AT7V.js} +4 -4
  77. package/dist/{renderer-35F3XMZH.js → renderer-OYTERGAO.js} +4 -4
  78. package/dist/{renderer-4VDSMPYU.js → renderer-PM7JPC3J.js} +5 -5
  79. package/dist/{renderer-XDL6PRLN.js → renderer-QEHUJHRK.js} +4 -4
  80. package/dist/{renderer-2DKA5QXA.js → renderer-QR5343AR.js} +3 -3
  81. package/dist/{renderer-JBF2PAVP.js → renderer-T5CUGSXP.js} +4 -4
  82. package/dist/{renderer-A5GFW2XH.js → renderer-WN47AMUM.js} +6 -6
  83. package/dist/{renderer-ZHBFOSK5.js → renderer-WR3FA3FF.js} +4 -4
  84. package/dist/{renderer-RN5ZFIEK.js → renderer-XLEYPLVL.js} +4 -4
  85. package/dist/{renderer-DJ5DP3RH.js → renderer-XLPNUOYA.js} +4 -4
  86. package/dist/{renderer-RJT3MOUU.js → renderer-YBEZ5V2H.js} +3 -3
  87. package/dist/{renderer-KKNXTTFE.js → renderer-YELZR4QT.js} +6 -6
  88. package/dist/{renderer-JSFWNV37.js → renderer-YLM4CGBG.js} +5 -5
  89. package/dist/{renderer-726UVOKE.js → renderer-ZNTLBQ45.js} +4 -4
  90. package/dist/{renderer-radial-4J2KO4GZ.js → renderer-radial-XWAKJACV.js} +4 -4
  91. package/dist/{state-renderer-MCWCZ76U.js → state-renderer-LIESKSBO.js} +4 -4
  92. package/fonts/coverage.json +1 -0
  93. package/package.json +3 -2
  94. package/dist/auto.css +0 -557
  95. package/dist/auto.js +0 -886
  96. package/dist/element.js +0 -889
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-WGC42WJU.js";
8
8
  import {
9
9
  FONT_FAMILY
10
- } from "./chunk-6KFWC4CO.js";
10
+ } from "./chunk-Z5ID35YP.js";
11
11
  import {
12
12
  DAY_MS,
13
13
  applyOrdinalTemplate,
@@ -1030,4 +1030,4 @@ export {
1030
1030
  renderCountdown,
1031
1031
  renderCountdownForExport
1032
1032
  };
1033
- //# sourceMappingURL=chunk-BIWMOFSE.js.map
1033
+ //# sourceMappingURL=chunk-2KOBOIB2.js.map
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-A4GOY3PE.js";
9
9
  import {
10
10
  FONT_FAMILY
11
- } from "./chunk-6KFWC4CO.js";
11
+ } from "./chunk-Z5ID35YP.js";
12
12
  import {
13
13
  getSeriesColors
14
14
  } from "./chunk-42IT4BG2.js";
@@ -130,4 +130,4 @@ export {
130
130
  createExportContainer,
131
131
  finalizeSvgExport
132
132
  };
133
- //# sourceMappingURL=chunk-KHTKMVKT.js.map
133
+ //# sourceMappingURL=chunk-67D4MN2H.js.map
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-A4GOY3PE.js";
15
15
  import {
16
16
  FONT_FAMILY
17
- } from "./chunk-6KFWC4CO.js";
17
+ } from "./chunk-Z5ID35YP.js";
18
18
  import {
19
19
  CHAR_WIDTH_RATIO,
20
20
  measureText
@@ -428,4 +428,4 @@ export {
428
428
  renderPyramid,
429
429
  renderPyramidForExport
430
430
  };
431
- //# sourceMappingURL=chunk-TJCHULP5.js.map
431
+ //# sourceMappingURL=chunk-7GUYGQR4.js.map
@@ -11,7 +11,7 @@ import {
11
11
  initD3Chart,
12
12
  renderChartTitle,
13
13
  resolveExportPalette
14
- } from "./chunk-KHTKMVKT.js";
14
+ } from "./chunk-67D4MN2H.js";
15
15
  import {
16
16
  layoutInlineHeader
17
17
  } from "./chunk-6VJCURWU.js";
@@ -25,8 +25,9 @@ import {
25
25
  computeLegendLayout
26
26
  } from "./chunk-ES66QH6J.js";
27
27
  import {
28
+ FONT_CENTRAL_DY,
28
29
  FONT_FAMILY
29
- } from "./chunk-6KFWC4CO.js";
30
+ } from "./chunk-Z5ID35YP.js";
30
31
  import {
31
32
  LEGEND_DOT_R,
32
33
  LEGEND_ENTRY_FONT_SIZE,
@@ -63,6 +64,9 @@ import {
63
64
  } from "./chunk-42IT4BG2.js";
64
65
 
65
66
  // src/utils/legend-svg.ts
67
+ function baselineY(centerY, fontSize) {
68
+ return centerY + fontSize * FONT_CENTRAL_DY;
69
+ }
66
70
  function esc(s) {
67
71
  return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
68
72
  }
@@ -77,19 +81,19 @@ function emitCapsule(capsule, palette, groupBg, pillBorder) {
77
81
  `<rect x="${pill.x}" y="${pill.y}" width="${pill.width}" height="${pill.height}" rx="${pill.height / 2}" fill="none" stroke="${esc(pillBorder)}" stroke-width="0.75"/>`
78
82
  );
79
83
  inner.push(
80
- `<text x="${pill.x + pill.width / 2}" y="${LEGEND_HEIGHT / 2 + LEGEND_PILL_FONT_SIZE / 2 - 2}" font-size="${LEGEND_PILL_FONT_SIZE}" font-weight="500" fill="${esc(palette.text)}" text-anchor="middle" font-family="${esc(FONT_FAMILY)}">${esc(capsule.groupName)}</text>`
84
+ `<text x="${pill.x + pill.width / 2}" y="${baselineY(LEGEND_HEIGHT / 2, LEGEND_PILL_FONT_SIZE)}" font-size="${LEGEND_PILL_FONT_SIZE}" font-weight="500" fill="${esc(palette.text)}" text-anchor="middle" font-family="${esc(FONT_FAMILY)}">${esc(capsule.groupName)}</text>`
81
85
  );
82
86
  for (const entry of capsule.entries) {
83
87
  const label = entry.displayValue ?? entry.value;
84
88
  const hit = entry.width != null ? `<rect x="${entry.x}" y="${entry.y}" width="${entry.width}" height="${LEGEND_HEIGHT}" fill="transparent"/>` : "";
85
89
  inner.push(
86
- `<g data-legend-entry="${esc(entry.value.toLowerCase())}" data-series-name="${esc(entry.value)}" style="cursor:pointer">` + hit + `<circle cx="${entry.dotCx}" cy="${entry.dotCy}" r="${LEGEND_DOT_R}" fill="${esc(entry.color)}"/><text x="${entry.textX}" y="${entry.dotCy + LEGEND_ENTRY_FONT_SIZE / 2 - 1}" font-size="${LEGEND_ENTRY_FONT_SIZE}" fill="${esc(palette.textMuted)}" font-family="${esc(FONT_FAMILY)}">${esc(label)}</text></g>`
90
+ `<g data-legend-entry="${esc(entry.value.toLowerCase())}" data-series-name="${esc(entry.value)}" style="cursor:pointer">` + hit + `<circle cx="${entry.dotCx}" cy="${entry.dotCy}" r="${LEGEND_DOT_R}" fill="${esc(entry.color)}"/><text x="${entry.textX}" y="${baselineY(entry.dotCy, LEGEND_ENTRY_FONT_SIZE)}" font-size="${LEGEND_ENTRY_FONT_SIZE}" fill="${esc(palette.textMuted)}" font-family="${esc(FONT_FAMILY)}">${esc(label)}</text></g>`
87
91
  );
88
92
  }
89
93
  return `<g transform="translate(${capsule.x},${capsule.y})" data-legend-group="${esc(tagAttrKey(capsule.groupName))}" style="cursor:pointer">${inner.join("")}</g>`;
90
94
  }
91
95
  function emitPill(pill, palette, groupBg) {
92
- return `<g transform="translate(${pill.x},${pill.y})" data-legend-group="${esc(tagAttrKey(pill.groupName))}" style="cursor:pointer"><rect width="${pill.width}" height="${pill.height}" rx="${pill.height / 2}" fill="${esc(groupBg)}"/><text x="${pill.width / 2}" y="${pill.height / 2 + LEGEND_PILL_FONT_SIZE / 2 - 2}" font-size="${LEGEND_PILL_FONT_SIZE}" font-weight="500" fill="${esc(palette.textMuted)}" text-anchor="middle" font-family="${esc(FONT_FAMILY)}">${esc(pill.groupName)}</text></g>`;
96
+ return `<g transform="translate(${pill.x},${pill.y})" data-legend-group="${esc(tagAttrKey(pill.groupName))}" style="cursor:pointer"><rect width="${pill.width}" height="${pill.height}" rx="${pill.height / 2}" fill="${esc(groupBg)}"/><text x="${pill.width / 2}" y="${baselineY(pill.height / 2, LEGEND_PILL_FONT_SIZE)}" font-size="${LEGEND_PILL_FONT_SIZE}" font-weight="500" fill="${esc(palette.textMuted)}" text-anchor="middle" font-family="${esc(FONT_FAMILY)}">${esc(pill.groupName)}</text></g>`;
93
97
  }
94
98
  function renderLegendSvg(groups, options) {
95
99
  if (groups.length === 0) return { svg: "", height: 0, width: 0 };
@@ -2061,4 +2065,4 @@ export {
2061
2065
  supportsD3DataChart,
2062
2066
  renderDataChartD3
2063
2067
  };
2064
- //# sourceMappingURL=chunk-2LN5C6FH.js.map
2068
+ //# sourceMappingURL=chunk-7T3A2UK3.js.map
@@ -103,7 +103,7 @@ import {
103
103
  import {
104
104
  looksLikeSequence,
105
105
  parseSequenceDgmo
106
- } from "./chunk-65QX6LYT.js";
106
+ } from "./chunk-SJGZSPSW.js";
107
107
  import {
108
108
  looksLikeFlowchart,
109
109
  parseFlowchart
@@ -2031,4 +2031,4 @@ export {
2031
2031
  knownChartTypeIds,
2032
2032
  parseDgmo
2033
2033
  };
2034
- //# sourceMappingURL=chunk-3PVUGECM.js.map
2034
+ //# sourceMappingURL=chunk-AA4M6F2P.js.map
@@ -11,14 +11,14 @@ import {
11
11
  } from "./chunk-A4GOY3PE.js";
12
12
  import {
13
13
  renderIntegratedLegend
14
- } from "./chunk-UKZ7K5GS.js";
14
+ } from "./chunk-RBAW7VUG.js";
15
15
  import {
16
16
  getLegendExtent,
17
17
  getMaxLegendReservedHeight
18
18
  } from "./chunk-ES66QH6J.js";
19
19
  import {
20
20
  FONT_FAMILY
21
- } from "./chunk-6KFWC4CO.js";
21
+ } from "./chunk-Z5ID35YP.js";
22
22
  import {
23
23
  LEGEND_GROUP_GAP
24
24
  } from "./chunk-SCJ7CAJF.js";
@@ -994,4 +994,4 @@ export {
994
994
  renderBracket,
995
995
  renderBracketForExport
996
996
  };
997
- //# sourceMappingURL=chunk-W32HMBPW.js.map
997
+ //# sourceMappingURL=chunk-B6AONGTI.js.map
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-A4GOY3PE.js";
15
15
  import {
16
16
  renderIntegratedLegend
17
- } from "./chunk-UKZ7K5GS.js";
17
+ } from "./chunk-RBAW7VUG.js";
18
18
  import {
19
19
  FONT_FAMILY
20
- } from "./chunk-6KFWC4CO.js";
20
+ } from "./chunk-Z5ID35YP.js";
21
21
  import {
22
22
  LEGEND_HEIGHT
23
23
  } from "./chunk-SCJ7CAJF.js";
@@ -969,4 +969,4 @@ export {
969
969
  renderCycle,
970
970
  renderCycleForExport
971
971
  };
972
- //# sourceMappingURL=chunk-DY4VJYG7.js.map
972
+ //# sourceMappingURL=chunk-C6DMG2V6.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-FWVKPEG3.js";
4
4
  import {
5
5
  FONT_FAMILY
6
- } from "./chunk-6KFWC4CO.js";
6
+ } from "./chunk-Z5ID35YP.js";
7
7
  import {
8
8
  fixedParts,
9
9
  fixedTimeCells,
@@ -558,4 +558,4 @@ export {
558
558
  renderClock,
559
559
  renderClockForExport
560
560
  };
561
- //# sourceMappingURL=chunk-MD2KWAXJ.js.map
561
+ //# sourceMappingURL=chunk-CDMF7P5A.js.map
@@ -8,14 +8,14 @@ import {
8
8
  } from "./chunk-A4GOY3PE.js";
9
9
  import {
10
10
  renderIntegratedLegend
11
- } from "./chunk-UKZ7K5GS.js";
11
+ } from "./chunk-RBAW7VUG.js";
12
12
  import {
13
13
  getLegendExtent,
14
14
  getMaxLegendReservedHeight
15
15
  } from "./chunk-ES66QH6J.js";
16
16
  import {
17
17
  FONT_FAMILY
18
- } from "./chunk-6KFWC4CO.js";
18
+ } from "./chunk-Z5ID35YP.js";
19
19
  import {
20
20
  LEGEND_GROUP_GAP
21
21
  } from "./chunk-SCJ7CAJF.js";
@@ -396,4 +396,4 @@ export {
396
396
  renderBlock,
397
397
  authoredCollapsedIds
398
398
  };
399
- //# sourceMappingURL=chunk-HBSKE3ML.js.map
399
+ //# sourceMappingURL=chunk-CZUSH6NI.js.map
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-A4GOY3PE.js";
15
15
  import {
16
16
  renderIntegratedLegend
17
- } from "./chunk-UKZ7K5GS.js";
17
+ } from "./chunk-RBAW7VUG.js";
18
18
  import {
19
19
  FONT_FAMILY
20
- } from "./chunk-6KFWC4CO.js";
20
+ } from "./chunk-Z5ID35YP.js";
21
21
  import {
22
22
  measureText
23
23
  } from "./chunk-4ASYQ347.js";
@@ -781,4 +781,4 @@ export {
781
781
  renderMap,
782
782
  renderMapForExport
783
783
  };
784
- //# sourceMappingURL=chunk-USHDV2AF.js.map
784
+ //# sourceMappingURL=chunk-DB2KQ5DN.js.map
@@ -16,13 +16,13 @@ import {
16
16
  } from "./chunk-A4GOY3PE.js";
17
17
  import {
18
18
  renderIntegratedLegend
19
- } from "./chunk-UKZ7K5GS.js";
19
+ } from "./chunk-RBAW7VUG.js";
20
20
  import {
21
21
  getMaxLegendReservedHeight
22
22
  } from "./chunk-ES66QH6J.js";
23
23
  import {
24
24
  FONT_FAMILY
25
- } from "./chunk-6KFWC4CO.js";
25
+ } from "./chunk-Z5ID35YP.js";
26
26
  import {
27
27
  LEGEND_HEIGHT,
28
28
  measureLegendText
@@ -896,4 +896,4 @@ export {
896
896
  renderKanban,
897
897
  renderKanbanForExport
898
898
  };
899
- //# sourceMappingURL=chunk-34HQALZ5.js.map
899
+ //# sourceMappingURL=chunk-DN5HEDE4.js.map
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-RU2HHHYA.js";
25
25
  import {
26
26
  renderIntegratedLegend
27
- } from "./chunk-UKZ7K5GS.js";
27
+ } from "./chunk-RBAW7VUG.js";
28
28
  import {
29
29
  FONT_FAMILY
30
- } from "./chunk-6KFWC4CO.js";
30
+ } from "./chunk-Z5ID35YP.js";
31
31
  import {
32
32
  measureText,
33
33
  truncateText,
@@ -871,4 +871,4 @@ export {
871
871
  renderJourneyMap,
872
872
  renderJourneyMapForExport
873
873
  };
874
- //# sourceMappingURL=chunk-PUFWYDWP.js.map
874
+ //# sourceMappingURL=chunk-FRC4LDTQ.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-A4GOY3PE.js";
12
12
  import {
13
13
  FONT_FAMILY
14
- } from "./chunk-6KFWC4CO.js";
14
+ } from "./chunk-Z5ID35YP.js";
15
15
  import {
16
16
  measureText,
17
17
  truncateText,
@@ -789,4 +789,4 @@ export {
789
789
  renderRaci,
790
790
  renderRaciForExport
791
791
  };
792
- //# sourceMappingURL=chunk-MRD4QWFK.js.map
792
+ //# sourceMappingURL=chunk-I24O2RWT.js.map
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-A4GOY3PE.js";
17
17
  import {
18
18
  renderIntegratedLegend
19
- } from "./chunk-UKZ7K5GS.js";
19
+ } from "./chunk-RBAW7VUG.js";
20
20
  import {
21
21
  controlsGroupCapsuleWidth,
22
22
  getLegendExtent,
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-ES66QH6J.js";
25
25
  import {
26
26
  FONT_FAMILY
27
- } from "./chunk-6KFWC4CO.js";
27
+ } from "./chunk-Z5ID35YP.js";
28
28
  import {
29
29
  LEGEND_CAPSULE_PAD,
30
30
  LEGEND_DOT_R,
@@ -2143,4 +2143,4 @@ export {
2143
2143
  renderGantt,
2144
2144
  buildTagLaneRowList
2145
2145
  };
2146
- //# sourceMappingURL=chunk-VWCGN2ST.js.map
2146
+ //# sourceMappingURL=chunk-I2ATN25N.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-A4GOY3PE.js";
8
8
  import {
9
9
  FONT_FAMILY
10
- } from "./chunk-6KFWC4CO.js";
10
+ } from "./chunk-Z5ID35YP.js";
11
11
  import {
12
12
  measureText
13
13
  } from "./chunk-4ASYQ347.js";
@@ -554,4 +554,4 @@ function renderModal(parent, node, ctx) {
554
554
  export {
555
555
  renderWireframe
556
556
  };
557
- //# sourceMappingURL=chunk-SSR6JAR3.js.map
557
+ //# sourceMappingURL=chunk-IGIJZHB6.js.map
@@ -17,14 +17,14 @@ import {
17
17
  } from "./chunk-A4GOY3PE.js";
18
18
  import {
19
19
  renderIntegratedLegend
20
- } from "./chunk-UKZ7K5GS.js";
20
+ } from "./chunk-RBAW7VUG.js";
21
21
  import {
22
22
  getLegendExtent,
23
23
  getMaxLegendReservedHeight
24
24
  } from "./chunk-ES66QH6J.js";
25
25
  import {
26
26
  FONT_FAMILY
27
- } from "./chunk-6KFWC4CO.js";
27
+ } from "./chunk-Z5ID35YP.js";
28
28
  import {
29
29
  LEGEND_GROUP_GAP
30
30
  } from "./chunk-SCJ7CAJF.js";
@@ -438,4 +438,4 @@ export {
438
438
  renderTreemapForExport,
439
439
  renderTreemap
440
440
  };
441
- //# sourceMappingURL=chunk-3HYRJAXO.js.map
441
+ //# sourceMappingURL=chunk-IX6N5MCY.js.map
@@ -11,14 +11,14 @@ import {
11
11
  } from "./chunk-6VJCURWU.js";
12
12
  import {
13
13
  renderIntegratedLegend
14
- } from "./chunk-UKZ7K5GS.js";
14
+ } from "./chunk-RBAW7VUG.js";
15
15
  import {
16
16
  getLegendExtent,
17
17
  getMaxLegendReservedHeight
18
18
  } from "./chunk-ES66QH6J.js";
19
19
  import {
20
20
  FONT_FAMILY
21
- } from "./chunk-6KFWC4CO.js";
21
+ } from "./chunk-Z5ID35YP.js";
22
22
  import {
23
23
  measureText,
24
24
  wrapTextToWidth
@@ -1128,4 +1128,4 @@ export {
1128
1128
  sketchEdgeGeometry,
1129
1129
  renderSketchForExport
1130
1130
  };
1131
- //# sourceMappingURL=chunk-AKD3YZ54.js.map
1131
+ //# sourceMappingURL=chunk-KPX2OWZR.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RU2HHHYA.js";
4
4
  import {
5
5
  FONT_FAMILY
6
- } from "./chunk-6KFWC4CO.js";
6
+ } from "./chunk-Z5ID35YP.js";
7
7
 
8
8
  // src/utils/export-container.ts
9
9
  function runInExportContainer(width, height, fn) {
@@ -37,4 +37,4 @@ export {
37
37
  runInExportContainer,
38
38
  extractExportSvg
39
39
  };
40
- //# sourceMappingURL=chunk-L26ZAPNJ.js.map
40
+ //# sourceMappingURL=chunk-KZ3PCDUJ.js.map
@@ -7,13 +7,13 @@ import {
7
7
  } from "./chunk-YYVTBZZC.js";
8
8
  import {
9
9
  renderIntegratedLegend
10
- } from "./chunk-UKZ7K5GS.js";
10
+ } from "./chunk-RBAW7VUG.js";
11
11
  import {
12
12
  getMaxLegendReservedHeight
13
13
  } from "./chunk-ES66QH6J.js";
14
14
  import {
15
15
  FONT_FAMILY
16
- } from "./chunk-6KFWC4CO.js";
16
+ } from "./chunk-Z5ID35YP.js";
17
17
  import {
18
18
  measureText,
19
19
  truncateText,
@@ -1603,4 +1603,4 @@ export {
1603
1603
  renderTechRadar,
1604
1604
  renderTechRadarForExport
1605
1605
  };
1606
- //# sourceMappingURL=chunk-UZ3JPYD3.js.map
1606
+ //# sourceMappingURL=chunk-L4IN4OBB.js.map
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-A4GOY3PE.js";
25
25
  import {
26
26
  renderIntegratedLegend
27
- } from "./chunk-UKZ7K5GS.js";
27
+ } from "./chunk-RBAW7VUG.js";
28
28
  import {
29
29
  FONT_FAMILY
30
- } from "./chunk-6KFWC4CO.js";
30
+ } from "./chunk-Z5ID35YP.js";
31
31
  import {
32
32
  LEGEND_HEIGHT
33
33
  } from "./chunk-SCJ7CAJF.js";
@@ -1039,4 +1039,4 @@ export {
1039
1039
  renderC4Deployment,
1040
1040
  renderC4DeploymentForExport
1041
1041
  };
1042
- //# sourceMappingURL=chunk-RZRMSNO7.js.map
1042
+ //# sourceMappingURL=chunk-LMXAB4YM.js.map
@@ -29,14 +29,14 @@ import {
29
29
  } from "./chunk-A4GOY3PE.js";
30
30
  import {
31
31
  renderIntegratedLegend
32
- } from "./chunk-UKZ7K5GS.js";
32
+ } from "./chunk-RBAW7VUG.js";
33
33
  import {
34
34
  getLegendExtent,
35
35
  getMaxLegendReservedHeight
36
36
  } from "./chunk-ES66QH6J.js";
37
37
  import {
38
38
  FONT_FAMILY
39
- } from "./chunk-6KFWC4CO.js";
39
+ } from "./chunk-Z5ID35YP.js";
40
40
  import {
41
41
  CHAR_WIDTH_RATIO,
42
42
  measureText,
@@ -833,4 +833,4 @@ export {
833
833
  renderBoxesAndLines,
834
834
  renderBoxesAndLinesForExport
835
835
  };
836
- //# sourceMappingURL=chunk-X4FCKGK2.js.map
836
+ //# sourceMappingURL=chunk-LYTEVE2N.js.map
@@ -35,14 +35,14 @@ import {
35
35
  } from "./chunk-A4GOY3PE.js";
36
36
  import {
37
37
  renderIntegratedLegend
38
- } from "./chunk-UKZ7K5GS.js";
38
+ } from "./chunk-RBAW7VUG.js";
39
39
  import {
40
40
  getLegendExtent,
41
41
  getMaxLegendReservedHeight
42
42
  } from "./chunk-ES66QH6J.js";
43
43
  import {
44
44
  FONT_FAMILY
45
- } from "./chunk-6KFWC4CO.js";
45
+ } from "./chunk-Z5ID35YP.js";
46
46
  import {
47
47
  measureText
48
48
  } from "./chunk-4ASYQ347.js";
@@ -481,4 +481,4 @@ export {
481
481
  renderState,
482
482
  renderStateForExport
483
483
  };
484
- //# sourceMappingURL=chunk-NQH2Q2RR.js.map
484
+ //# sourceMappingURL=chunk-M4HYPDER.js.map
@@ -17,14 +17,14 @@ import {
17
17
  } from "./chunk-A4GOY3PE.js";
18
18
  import {
19
19
  renderIntegratedLegend
20
- } from "./chunk-UKZ7K5GS.js";
20
+ } from "./chunk-RBAW7VUG.js";
21
21
  import {
22
22
  getLegendExtent,
23
23
  getMaxLegendReservedHeight
24
24
  } from "./chunk-ES66QH6J.js";
25
25
  import {
26
26
  FONT_FAMILY
27
- } from "./chunk-6KFWC4CO.js";
27
+ } from "./chunk-Z5ID35YP.js";
28
28
  import {
29
29
  measureText,
30
30
  truncateText
@@ -33,7 +33,7 @@ import {
33
33
  isSequenceBlock,
34
34
  isSequenceNote,
35
35
  isSequenceSection
36
- } from "./chunk-65QX6LYT.js";
36
+ } from "./chunk-SJGZSPSW.js";
37
37
  import {
38
38
  resolveActiveTagGroup,
39
39
  tagAttrKey
@@ -1907,4 +1907,4 @@ export {
1907
1907
  renderSequenceDiagram,
1908
1908
  buildNoteMessageMap
1909
1909
  };
1910
- //# sourceMappingURL=chunk-OIK6Y2EJ.js.map
1910
+ //# sourceMappingURL=chunk-MHI6W6XS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  MONO_FAMILY
3
- } from "./chunk-LFAQ4BLZ.js";
3
+ } from "./chunk-S5RWWISJ.js";
4
4
  import {
5
5
  FONT_FAMILY
6
- } from "./chunk-6KFWC4CO.js";
6
+ } from "./chunk-Z5ID35YP.js";
7
7
  import {
8
8
  truncateText
9
9
  } from "./chunk-4ASYQ347.js";
@@ -62,4 +62,4 @@ function escapeXml(s) {
62
62
  export {
63
63
  renderLiveLinkCard
64
64
  };
65
- //# sourceMappingURL=chunk-FVYHDZ6Q.js.map
65
+ //# sourceMappingURL=chunk-MQHOKBJ6.js.map
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  extractExportSvg,
13
13
  runInExportContainer
14
- } from "./chunk-L26ZAPNJ.js";
14
+ } from "./chunk-KZ3PCDUJ.js";
15
15
  import {
16
16
  EDGE_STROKE_WIDTH,
17
17
  NODE_STROKE_WIDTH
@@ -29,13 +29,13 @@ import {
29
29
  } from "./chunk-A4GOY3PE.js";
30
30
  import {
31
31
  renderIntegratedLegend
32
- } from "./chunk-UKZ7K5GS.js";
32
+ } from "./chunk-RBAW7VUG.js";
33
33
  import {
34
34
  getLegendExtent
35
35
  } from "./chunk-ES66QH6J.js";
36
36
  import {
37
37
  FONT_FAMILY
38
- } from "./chunk-6KFWC4CO.js";
38
+ } from "./chunk-Z5ID35YP.js";
39
39
  import {
40
40
  LEGEND_HEIGHT
41
41
  } from "./chunk-SCJ7CAJF.js";
@@ -448,4 +448,4 @@ export {
448
448
  renderClassDiagram,
449
449
  renderClassDiagramForExport
450
450
  };
451
- //# sourceMappingURL=chunk-U22TKD3L.js.map
451
+ //# sourceMappingURL=chunk-NIZM3LAG.js.map
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-A4GOY3PE.js";
15
15
  import {
16
16
  FONT_FAMILY
17
- } from "./chunk-6KFWC4CO.js";
17
+ } from "./chunk-Z5ID35YP.js";
18
18
  import {
19
19
  CHAR_WIDTH_RATIO,
20
20
  measureText
@@ -296,4 +296,4 @@ export {
296
296
  renderRing,
297
297
  renderRingForExport
298
298
  };
299
- //# sourceMappingURL=chunk-A34FVVVI.js.map
299
+ //# sourceMappingURL=chunk-NKRCPBTJ.js.map
@@ -28,13 +28,13 @@ import {
28
28
  } from "./chunk-A4GOY3PE.js";
29
29
  import {
30
30
  renderIntegratedLegend
31
- } from "./chunk-UKZ7K5GS.js";
31
+ } from "./chunk-RBAW7VUG.js";
32
32
  import {
33
33
  getLegendExtent
34
34
  } from "./chunk-ES66QH6J.js";
35
35
  import {
36
36
  FONT_FAMILY
37
- } from "./chunk-6KFWC4CO.js";
37
+ } from "./chunk-Z5ID35YP.js";
38
38
  import {
39
39
  LEGEND_HEIGHT
40
40
  } from "./chunk-SCJ7CAJF.js";
@@ -603,4 +603,4 @@ export {
603
603
  renderERDiagram,
604
604
  renderERDiagramForExport
605
605
  };
606
- //# sourceMappingURL=chunk-XXDEQSW4.js.map
606
+ //# sourceMappingURL=chunk-OBKM6GIJ.js.map
@@ -10,13 +10,13 @@ import {
10
10
  hideTooltip,
11
11
  renderChartTitle,
12
12
  showTooltip
13
- } from "./chunk-KHTKMVKT.js";
13
+ } from "./chunk-67D4MN2H.js";
14
14
  import {
15
15
  renderIntegratedLegend
16
- } from "./chunk-UKZ7K5GS.js";
16
+ } from "./chunk-RBAW7VUG.js";
17
17
  import {
18
18
  FONT_FAMILY
19
- } from "./chunk-6KFWC4CO.js";
19
+ } from "./chunk-Z5ID35YP.js";
20
20
  import {
21
21
  LEGEND_CAPSULE_PAD,
22
22
  LEGEND_DOT_R,
@@ -1670,4 +1670,4 @@ export {
1670
1670
  formatDateLabel,
1671
1671
  renderTimeline
1672
1672
  };
1673
- //# sourceMappingURL=chunk-BPINSP65.js.map
1673
+ //# sourceMappingURL=chunk-OMTBYLKN.js.map
@@ -2,8 +2,9 @@ import {
2
2
  computeLegendLayout
3
3
  } from "./chunk-ES66QH6J.js";
4
4
  import {
5
+ FONT_CENTRAL_DY,
5
6
  FONT_FAMILY
6
- } from "./chunk-6KFWC4CO.js";
7
+ } from "./chunk-Z5ID35YP.js";
7
8
  import {
8
9
  CONTROLS_ICON_PATH,
9
10
  LEGEND_DOT_R,
@@ -24,7 +25,7 @@ import {
24
25
  } from "./chunk-42IT4BG2.js";
25
26
 
26
27
  // src/utils/legend-d3.ts
27
- var LEGEND_TEXT_DY = "0.32em";
28
+ var LEGEND_TEXT_DY = `${FONT_CENTRAL_DY}em`;
28
29
  function centerText(sel) {
29
30
  return sel.attr("dy", LEGEND_TEXT_DY);
30
31
  }
@@ -292,4 +293,4 @@ export {
292
293
  renderLegendD3,
293
294
  renderIntegratedLegend
294
295
  };
295
- //# sourceMappingURL=chunk-UKZ7K5GS.js.map
296
+ //# sourceMappingURL=chunk-RBAW7VUG.js.map