@diagrammo/dgmo 0.74.0 → 0.76.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 (100) hide show
  1. package/dist/advanced.d.ts +51 -50
  2. package/dist/advanced.js +211 -49
  3. package/dist/{analyzer-FHRJUIMW.js → analyzer-QTDQEMS5.js} +4 -6
  4. package/dist/block.css +20 -3
  5. package/dist/block.d.ts +10 -2
  6. package/dist/block.js +34 -17
  7. package/dist/chart-meta.js +6 -6
  8. package/dist/{charts-d3-LWHTOVX7.js → charts-d3-SQEVMIAM.js} +5 -5
  9. package/dist/{chunk-TC63QU4M.js → chunk-32MOGTKT.js} +31 -196
  10. package/dist/{chunk-LYLRNAX2.js → chunk-3EGIU5WY.js} +2 -2
  11. package/dist/{chunk-CMQJP5L4.js → chunk-3LJNQ6LR.js} +4 -4
  12. package/dist/{chunk-GJQQCI63.js → chunk-3SQJZMPO.js} +1 -127
  13. package/dist/{chunk-2NRIGEHZ.js → chunk-46KVXDUJ.js} +10 -3
  14. package/dist/{chunk-YXY6V2YN.js → chunk-4CRLM3IT.js} +56 -52
  15. package/dist/{chunk-BBH5IAAR.js → chunk-76IBFEYW.js} +3 -3
  16. package/dist/{chunk-YJ5G2WRU.js → chunk-7EZ5AKBK.js} +3 -3
  17. package/dist/{chunk-5NAOTRLN.js → chunk-7G4XMHDB.js} +3 -3
  18. package/dist/chunk-7IATMZSA.js +72 -0
  19. package/dist/{chunk-LSHMDQZQ.js → chunk-AFR6GWXD.js} +3 -3
  20. package/dist/{chunk-T6BO4VO6.js → chunk-AYM472K3.js} +2 -2
  21. package/dist/{chunk-YSMI6TNZ.js → chunk-BCB24FG7.js} +2 -2
  22. package/dist/{chunk-6DYZ2JM6.js → chunk-BZQCAZZZ.js} +203 -29
  23. package/dist/{chunk-KR432TCU.js → chunk-C576CU77.js} +4 -4
  24. package/dist/{chunk-5KE6KHY6.js → chunk-CAPR5DET.js} +2 -2
  25. package/dist/{chunk-GQJ35I2I.js → chunk-CLQJAGWL.js} +7 -5
  26. package/dist/{chunk-NW3VXCXR.js → chunk-COCMMQXW.js} +2 -2
  27. package/dist/{chunk-A4GOY3PE.js → chunk-DEW62ON3.js} +1 -3
  28. package/dist/{chunk-SXZS56YM.js → chunk-EGXJWRO6.js} +3 -3
  29. package/dist/{chunk-RT7ACF77.js → chunk-EGY3TS62.js} +6 -6
  30. package/dist/{chunk-TDHD3HNO.js → chunk-F4X5NVKY.js} +37 -16
  31. package/dist/{chunk-RQ6SEQOT.js → chunk-FMZEU7MF.js} +65 -24
  32. package/dist/{chunk-R5JPMW2F.js → chunk-FTTB64OJ.js} +5 -5
  33. package/dist/{chunk-PHRBLJ3K.js → chunk-GEURKGZS.js} +2 -2
  34. package/dist/{chunk-ALDU62VN.js → chunk-GFXFRKUG.js} +4 -4
  35. package/dist/{chunk-L2EA5YLO.js → chunk-HGFKDSKZ.js} +3 -3
  36. package/dist/{chunk-JSYAH7KR.js → chunk-HOIAQ3P2.js} +2 -2
  37. package/dist/{chunk-FGXBIOVK.js → chunk-IFC3JXCT.js} +2 -2
  38. package/dist/{chunk-EV6BZMBZ.js → chunk-IHUOYDLN.js} +3 -3
  39. package/dist/{chunk-474D3IUN.js → chunk-JL7BDLC6.js} +4 -4
  40. package/dist/{chunk-WWQ6TUVK.js → chunk-JLJ7SP4X.js} +3 -3
  41. package/dist/{chunk-ULEWCCBN.js → chunk-JQ575OAK.js} +2 -2
  42. package/dist/{chunk-SUA56ZSB.js → chunk-LTTZX6RD.js} +6 -2
  43. package/dist/{chunk-YJMWEZOB.js → chunk-MG3DE3VO.js} +2 -2
  44. package/dist/{chunk-GE5RO4BS.js → chunk-N6MZSBOL.js} +5 -1
  45. package/dist/{chunk-DU3OIBQE.js → chunk-NWNSXHA5.js} +6 -2
  46. package/dist/{chunk-57Z2WXJ2.js → chunk-OBYZU23V.js} +5 -5
  47. package/dist/{chunk-2MJSSDK5.js → chunk-OUJG73YJ.js} +2 -2
  48. package/dist/{chunk-XCAEHWQB.js → chunk-PAW4RMH3.js} +2 -2
  49. package/dist/{chunk-CDFIZHVD.js → chunk-QI4Q5ZZH.js} +3 -3
  50. package/dist/{chunk-ALBVWTU4.js → chunk-TF76LCZS.js} +35 -51
  51. package/dist/{chunk-FL5IKZQA.js → chunk-U5B3TUEW.js} +2 -2
  52. package/dist/{chunk-TTCXHFFB.js → chunk-U7AO6FRL.js} +2 -2
  53. package/dist/{chunk-RN3PAL4E.js → chunk-UBW53CNS.js} +2 -2
  54. package/dist/{chunk-MDEG62W7.js → chunk-UTTRJ6KN.js} +3 -3
  55. package/dist/{chunk-Q6LP67RP.js → chunk-UWYZIGCB.js} +2 -2
  56. package/dist/{chunk-XJLNQEQS.js → chunk-XHROEQ23.js} +3 -3
  57. package/dist/{chunk-EPH4UMUE.js → chunk-YVDBBWEP.js} +2 -2
  58. package/dist/{dgmo-router-KYNLRE7S.js → dgmo-router-A3LIHT6H.js} +7 -7
  59. package/dist/{dimensions-Q5SFPATB.js → dimensions-7NYBSZRJ.js} +4 -4
  60. package/dist/{flowchart-parser-LY5GGQL2.js → flowchart-parser-NVBP3C5D.js} +2 -2
  61. package/dist/{flowchart-renderer-TTUSBBQI.js → flowchart-renderer-QYGQ64BM.js} +6 -6
  62. package/dist/index.js +13 -13
  63. package/dist/{layout-UJ62RQQ3.js → layout-2OJ25STS.js} +2 -2
  64. package/dist/{layout-DAYQ46PS.js → layout-LAS67TK3.js} +3 -3
  65. package/dist/{parser-LUOINP6H.js → parser-QYAIFXLP.js} +3 -3
  66. package/dist/{parser-L7RXUKYN.js → parser-WVE6SKB7.js} +2 -2
  67. package/dist/{parser-JYIZEKAS.js → parser-ZYAFHXKQ.js} +2 -2
  68. package/dist/pert.d.ts +4 -33
  69. package/dist/{renderer-AA5CC4VJ.js → renderer-4EWGZLJ6.js} +3 -3
  70. package/dist/{renderer-6SSIELBC.js → renderer-4PNVGHVA.js} +3 -3
  71. package/dist/{renderer-U6PK5ZKD.js → renderer-5W3HWIUL.js} +3 -3
  72. package/dist/{renderer-TI7QABY7.js → renderer-CGOPX4HW.js} +4 -4
  73. package/dist/{renderer-6IGQEVTE.js → renderer-CO5O5VR5.js} +3 -3
  74. package/dist/{renderer-QLZVE45Z.js → renderer-D7N7PPB7.js} +3 -3
  75. package/dist/{renderer-6HRDO635.js → renderer-DKW273R7.js} +4 -4
  76. package/dist/{renderer-227JWWHX.js → renderer-E6NHTVN6.js} +5 -5
  77. package/dist/{renderer-IPNSOM5J.js → renderer-F24V3RD3.js} +4 -4
  78. package/dist/{renderer-N2X3WYBY.js → renderer-F6WSR7UM.js} +5 -5
  79. package/dist/{renderer-55JP6AO4.js → renderer-FGGDZZFQ.js} +3 -3
  80. package/dist/{renderer-E5BYZTVH.js → renderer-FUJNSC5X.js} +3 -3
  81. package/dist/{renderer-YQI5U6KJ.js → renderer-GF6S5ZX6.js} +3 -3
  82. package/dist/{renderer-UXZEYV2X.js → renderer-GJDVPXI3.js} +4 -4
  83. package/dist/{renderer-UYYBJ7OB.js → renderer-IH45QV6Z.js} +9 -9
  84. package/dist/{renderer-NECP7G4X.js → renderer-JMJ7Q5OC.js} +4 -4
  85. package/dist/{renderer-YM7PLDBF.js → renderer-KMOGGMM7.js} +5 -5
  86. package/dist/{renderer-P55KPBIX.js → renderer-LBNVKVO3.js} +4 -4
  87. package/dist/{renderer-46QQH33X.js → renderer-LE3ZKHNS.js} +4 -4
  88. package/dist/{renderer-4K6KR3U3.js → renderer-MUW4G2N6.js} +6 -6
  89. package/dist/{renderer-2WW35ZIW.js → renderer-PIEPRK6M.js} +4 -4
  90. package/dist/{renderer-EJXFEA5C.js → renderer-PKRKLOYR.js} +4 -4
  91. package/dist/{renderer-W7RKBG6C.js → renderer-PR3KLNST.js} +4 -4
  92. package/dist/{renderer-SCIHPARI.js → renderer-QAMOXOZ2.js} +3 -3
  93. package/dist/{renderer-3LD3ANCP.js → renderer-RUHC6D3B.js} +4 -4
  94. package/dist/{renderer-OWBIWBMK.js → renderer-UUP6OX6F.js} +3 -3
  95. package/dist/{renderer-UUPNOGO5.js → renderer-UYZSP7MF.js} +4 -4
  96. package/dist/{renderer-CF5TYQT4.js → renderer-ZAJ5353N.js} +3 -3
  97. package/dist/{state-renderer-OPP6YOJI.js → state-renderer-UIE3AQM6.js} +6 -6
  98. package/docs/language-reference.md +6 -6
  99. package/package.json +3 -3
  100. package/dist/chunk-PDKUANDZ.js +0 -35
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  edgeSplinePath,
3
3
  fitDiagramToCanvas
4
- } from "./chunk-PDKUANDZ.js";
4
+ } from "./chunk-7IATMZSA.js";
5
5
  import {
6
6
  layoutGraph
7
- } from "./chunk-GE5RO4BS.js";
7
+ } from "./chunk-N6MZSBOL.js";
8
8
  import {
9
9
  appendArrowheadMarkers
10
10
  } from "./chunk-LP7EC4MI.js";
@@ -30,7 +30,7 @@ import {
30
30
  TITLE_FONT_SIZE,
31
31
  TITLE_FONT_WEIGHT,
32
32
  TITLE_Y
33
- } from "./chunk-A4GOY3PE.js";
33
+ } from "./chunk-DEW62ON3.js";
34
34
  import {
35
35
  FONT_FAMILY
36
36
  } from "./chunk-UTCPNJND.js";
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-MTGGOCND.js";
40
40
  import {
41
41
  parseFlowchart
42
- } from "./chunk-DU3OIBQE.js";
42
+ } from "./chunk-NWNSXHA5.js";
43
43
  import {
44
44
  fillModeFromOptions
45
45
  } from "./chunk-M5OOAP65.js";
@@ -586,4 +586,4 @@ export {
586
586
  renderFlowchart,
587
587
  renderFlowchartForExport
588
588
  };
589
- //# sourceMappingURL=chunk-57Z2WXJ2.js.map
589
+ //# sourceMappingURL=chunk-OBYZU23V.js.map
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  TITLE_FONT_SIZE,
34
34
  TITLE_FONT_WEIGHT
35
- } from "./chunk-A4GOY3PE.js";
35
+ } from "./chunk-DEW62ON3.js";
36
36
  import {
37
37
  renderIntegratedLegend
38
38
  } from "./chunk-QT5UMFPE.js";
@@ -493,4 +493,4 @@ export {
493
493
  renderOrg,
494
494
  renderOrgForExport
495
495
  };
496
- //# sourceMappingURL=chunk-2MJSSDK5.js.map
496
+ //# sourceMappingURL=chunk-OUJG73YJ.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-U7VO6JAA.js";
11
11
  import {
12
12
  parseDgmoChartType
13
- } from "./chunk-R5JPMW2F.js";
13
+ } from "./chunk-FTTB64OJ.js";
14
14
  import {
15
15
  chartTypes
16
16
  } from "./chunk-M5OOAP65.js";
@@ -204,4 +204,4 @@ export {
204
204
  MONO_FAMILY,
205
205
  renderErrorCard
206
206
  };
207
- //# sourceMappingURL=chunk-XCAEHWQB.js.map
207
+ //# sourceMappingURL=chunk-PAW4RMH3.js.map
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-24YPR5EH.js";
18
18
  import {
19
19
  layoutInlineHeader
20
- } from "./chunk-YJMWEZOB.js";
20
+ } from "./chunk-MG3DE3VO.js";
21
21
  import {
22
22
  serializeSvg
23
23
  } from "./chunk-RU2HHHYA.js";
@@ -25,7 +25,7 @@ import {
25
25
  TITLE_FONT_SIZE,
26
26
  TITLE_FONT_WEIGHT,
27
27
  TITLE_Y
28
- } from "./chunk-A4GOY3PE.js";
28
+ } from "./chunk-DEW62ON3.js";
29
29
  import {
30
30
  renderIntegratedLegend
31
31
  } from "./chunk-QT5UMFPE.js";
@@ -603,4 +603,4 @@ export {
603
603
  renderERDiagram,
604
604
  renderERDiagramForExport
605
605
  };
606
- //# sourceMappingURL=chunk-CDFIZHVD.js.map
606
+ //# sourceMappingURL=chunk-QI4Q5ZZH.js.map
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  edgeSplinePath,
3
- fitDiagramToCanvas
4
- } from "./chunk-PDKUANDZ.js";
3
+ fitDiagramToCanvas,
4
+ selfLoopArcPath
5
+ } from "./chunk-7IATMZSA.js";
5
6
  import {
6
7
  layoutGraph
7
- } from "./chunk-GE5RO4BS.js";
8
+ } from "./chunk-N6MZSBOL.js";
8
9
  import {
9
10
  appendArrowheadMarkers
10
11
  } from "./chunk-LP7EC4MI.js";
@@ -24,7 +25,7 @@ import {
24
25
  } from "./chunk-24YPR5EH.js";
25
26
  import {
26
27
  layoutInlineHeader
27
- } from "./chunk-YJMWEZOB.js";
28
+ } from "./chunk-MG3DE3VO.js";
28
29
  import {
29
30
  serializeSvg
30
31
  } from "./chunk-RU2HHHYA.js";
@@ -32,7 +33,7 @@ import {
32
33
  TITLE_FONT_SIZE,
33
34
  TITLE_FONT_WEIGHT,
34
35
  TITLE_Y
35
- } from "./chunk-A4GOY3PE.js";
36
+ } from "./chunk-DEW62ON3.js";
36
37
  import {
37
38
  renderIntegratedLegend
38
39
  } from "./chunk-QT5UMFPE.js";
@@ -88,17 +89,6 @@ function stateFill(palette, isDark, nodeColor, colorOff, fillMode) {
88
89
  function stateStroke(palette, nodeColor, colorOff) {
89
90
  return nodeColor ?? stateDefaultColor(palette, colorOff);
90
91
  }
91
- function selfLoopPath(node) {
92
- const cx = node.x;
93
- const cy = node.y;
94
- const r = node.width / 2;
95
- const startX = cx + r;
96
- const startY = cy - 5;
97
- const endX = cx + r;
98
- const endY = cy + 5;
99
- const loopR = 25;
100
- return `M ${startX} ${startY} C ${startX + loopR * 2} ${startY - loopR * 2}, ${endX + loopR * 2} ${endY + loopR * 2}, ${endX} ${endY}`;
101
- }
102
92
  function renderState(container, graph, layout, palette, isDark, onClickItem, exportDims) {
103
93
  d3Selection.select(container).selectAll(":not([data-d3-tooltip])").remove();
104
94
  const width = exportDims?.width ?? container.clientWidth;
@@ -244,42 +234,46 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
244
234
  groupWrapper.append("rect").attr("x", gx).attr("y", gy).attr("width", gw).attr("height", gh).attr("rx", 6).attr("fill", fillColor).attr("stroke", strokeColor).attr("stroke-width", 1).attr("stroke-opacity", 0.5).attr("class", "st-group");
245
235
  groupWrapper.append("text").attr("x", gx + 8).attr("y", gy + sGroupLabelFontSize + 4).attr("fill", strokeColor).attr("font-size", sGroupLabelFontSize).attr("font-weight", "bold").attr("opacity", 0.7).attr("class", "st-group-label").text(group.label);
246
236
  }
247
- const selfLoopEdges = /* @__PURE__ */ new Set();
248
- for (const edge of layout.edges) {
249
- if (edge.source === edge.target) selfLoopEdges.add(edge.lineNumber);
250
- }
251
- const nodePositionMap = /* @__PURE__ */ new Map();
252
- for (const node of layout.nodes) {
253
- nodePositionMap.set(node.id, node);
254
- }
255
237
  const LABEL_PAD = 8;
256
238
  const LABEL_H = 16;
257
239
  const PERP_OFFSET = 10;
240
+ const nodeCenters = /* @__PURE__ */ new Map();
241
+ for (const node of layout.nodes) nodeCenters.set(node.id, node);
258
242
  const labelPositions = [];
259
243
  for (let ei = 0; ei < layout.edges.length; ei++) {
260
244
  const edge = layout.edges[ei];
261
245
  if (!edge.label) continue;
262
246
  const bgW = measureText(edge.label, sEdgeLabelFontSize) + LABEL_PAD;
263
247
  let lx, ly;
264
- if (edge.source === edge.target) {
265
- const node = nodePositionMap.get(edge.source);
266
- if (!node) continue;
267
- lx = node.x + node.width / 2 + 30;
268
- ly = node.y;
269
- } else if (edge.points.length >= 2) {
248
+ if (edge.points.length >= 2) {
270
249
  const midIdx = Math.floor(edge.points.length / 2);
271
250
  const midPt = edge.points[midIdx];
272
251
  const prev = edge.points[Math.max(0, midIdx - 1)];
273
252
  const next = edge.points[Math.min(edge.points.length - 1, midIdx + 1)];
274
- const dx = next.x - prev.x;
275
- const dy = next.y - prev.y;
276
- const len = Math.sqrt(dx * dx + dy * dy);
277
- if (len > 0) {
278
- lx = midPt.x + -dy / len * PERP_OFFSET;
279
- ly = midPt.y + dx / len * PERP_OFFSET;
253
+ const self = edge.source === edge.target;
254
+ const node = self ? nodeCenters.get(edge.source) : void 0;
255
+ if (self && node) {
256
+ const ox = midPt.x - node.x;
257
+ const oy = midPt.y - node.y;
258
+ const olen = Math.sqrt(ox * ox + oy * oy);
259
+ if (olen > 0) {
260
+ lx = midPt.x + ox / olen * PERP_OFFSET;
261
+ ly = midPt.y + oy / olen * PERP_OFFSET;
262
+ } else {
263
+ lx = midPt.x;
264
+ ly = midPt.y;
265
+ }
280
266
  } else {
281
- lx = midPt.x;
282
- ly = midPt.y;
267
+ const dx = next.x - prev.x;
268
+ const dy = next.y - prev.y;
269
+ const len = Math.sqrt(dx * dx + dy * dy);
270
+ if (len > 0) {
271
+ lx = midPt.x + -dy / len * PERP_OFFSET;
272
+ ly = midPt.y + dx / len * PERP_OFFSET;
273
+ } else {
274
+ lx = midPt.x;
275
+ ly = midPt.y;
276
+ }
283
277
  }
284
278
  } else {
285
279
  continue;
@@ -305,18 +299,8 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
305
299
  const edgeG = contentG.append("g").attr("class", "st-edge-group").attr("data-line-number", String(edge.lineNumber)).attr("data-source", edge.source).attr("data-target", edge.target);
306
300
  const edgeColor = palette.textMuted;
307
301
  const markerId = "st-arrow";
308
- if (edge.source === edge.target) {
309
- const node = nodePositionMap.get(edge.source);
310
- if (node) {
311
- edgeG.append("path").attr("d", selfLoopPath(node)).attr("fill", "none").attr("stroke", edgeColor).attr("stroke-width", sEdgeStrokeWidth).attr("marker-end", `url(#${markerId})`).attr("class", "st-edge");
312
- const lp = labelPosMap.get(ei);
313
- if (edge.label && lp) {
314
- edgeG.append("rect").attr("x", lp.x - lp.w / 2).attr("y", lp.y - lp.h / 2 - 1).attr("width", lp.w).attr("height", lp.h).attr("rx", 3).attr("fill", palette.bg).attr("opacity", 0.85).attr("class", "st-edge-label-bg");
315
- edgeG.append("text").attr("x", lp.x).attr("y", lp.y + 4).attr("text-anchor", "middle").attr("fill", edgeColor).attr("font-size", sEdgeLabelFontSize).attr("class", "st-edge-label").text(edge.label);
316
- }
317
- }
318
- } else if (edge.points.length >= 2) {
319
- const pathD = edgeSplinePath(edge.points);
302
+ if (edge.points.length >= 2) {
303
+ const pathD = edge.source === edge.target ? selfLoopArcPath(edge.points) ?? edgeSplinePath(edge.points) : edgeSplinePath(edge.points);
320
304
  if (pathD) {
321
305
  edgeG.append("path").attr("d", pathD).attr("fill", "none").attr("stroke", edgeColor).attr("stroke-width", sEdgeStrokeWidth).attr("marker-end", `url(#${markerId})`).attr("class", "st-edge");
322
306
  }
@@ -481,4 +465,4 @@ export {
481
465
  renderState,
482
466
  renderStateForExport
483
467
  };
484
- //# sourceMappingURL=chunk-ALBVWTU4.js.map
468
+ //# sourceMappingURL=chunk-TF76LCZS.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-WGC42WJU.js";
7
7
  import {
8
8
  TITLE_FONT_WEIGHT
9
- } from "./chunk-A4GOY3PE.js";
9
+ } from "./chunk-DEW62ON3.js";
10
10
  import {
11
11
  FONT_FAMILY
12
12
  } from "./chunk-UTCPNJND.js";
@@ -374,4 +374,4 @@ export {
374
374
  renderGoal,
375
375
  renderGoalForExport
376
376
  };
377
- //# sourceMappingURL=chunk-FL5IKZQA.js.map
377
+ //# sourceMappingURL=chunk-U5B3TUEW.js.map
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-FJ57274M.js";
9
9
  import {
10
10
  layoutInlineHeader
11
- } from "./chunk-YJMWEZOB.js";
11
+ } from "./chunk-MG3DE3VO.js";
12
12
  import {
13
13
  renderIntegratedLegend
14
14
  } from "./chunk-QT5UMFPE.js";
@@ -1127,4 +1127,4 @@ export {
1127
1127
  sketchEdgeGeometry,
1128
1128
  renderSketchForExport
1129
1129
  };
1130
- //# sourceMappingURL=chunk-TTCXHFFB.js.map
1130
+ //# sourceMappingURL=chunk-U7AO6FRL.js.map
@@ -5,7 +5,7 @@ import {
5
5
  TITLE_FONT_SIZE,
6
6
  TITLE_FONT_WEIGHT,
7
7
  TITLE_Y
8
- } from "./chunk-A4GOY3PE.js";
8
+ } from "./chunk-DEW62ON3.js";
9
9
  import {
10
10
  FONT_FAMILY
11
11
  } from "./chunk-UTCPNJND.js";
@@ -130,4 +130,4 @@ export {
130
130
  createExportContainer,
131
131
  finalizeSvgExport
132
132
  };
133
- //# sourceMappingURL=chunk-RN3PAL4E.js.map
133
+ //# sourceMappingURL=chunk-UBW53CNS.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  layoutInlineHeader
3
- } from "./chunk-YJMWEZOB.js";
3
+ } from "./chunk-MG3DE3VO.js";
4
4
  import {
5
5
  TITLE_FONT_SIZE,
6
6
  TITLE_FONT_WEIGHT,
7
7
  TITLE_Y
8
- } from "./chunk-A4GOY3PE.js";
8
+ } from "./chunk-DEW62ON3.js";
9
9
  import {
10
10
  renderIntegratedLegend
11
11
  } from "./chunk-QT5UMFPE.js";
@@ -397,4 +397,4 @@ export {
397
397
  renderBlock,
398
398
  authoredCollapsedIds
399
399
  };
400
- //# sourceMappingURL=chunk-MDEG62W7.js.map
400
+ //# sourceMappingURL=chunk-UTTRJ6KN.js.map
@@ -11,7 +11,7 @@ import {
11
11
  TITLE_FONT_SIZE,
12
12
  TITLE_FONT_WEIGHT,
13
13
  TITLE_Y
14
- } from "./chunk-A4GOY3PE.js";
14
+ } from "./chunk-DEW62ON3.js";
15
15
  import {
16
16
  FONT_FAMILY
17
17
  } from "./chunk-UTCPNJND.js";
@@ -428,4 +428,4 @@ export {
428
428
  renderPyramid,
429
429
  renderPyramidForExport
430
430
  };
431
- //# sourceMappingURL=chunk-Q6LP67RP.js.map
431
+ //# sourceMappingURL=chunk-UWYZIGCB.js.map
@@ -9,12 +9,12 @@ import {
9
9
  } from "./chunk-C2WH3BMS.js";
10
10
  import {
11
11
  layoutInlineHeader
12
- } from "./chunk-YJMWEZOB.js";
12
+ } from "./chunk-MG3DE3VO.js";
13
13
  import {
14
14
  TITLE_FONT_SIZE,
15
15
  TITLE_FONT_WEIGHT,
16
16
  TITLE_Y
17
- } from "./chunk-A4GOY3PE.js";
17
+ } from "./chunk-DEW62ON3.js";
18
18
  import {
19
19
  renderIntegratedLegend
20
20
  } from "./chunk-QT5UMFPE.js";
@@ -439,4 +439,4 @@ export {
439
439
  renderTreemapForExport,
440
440
  renderTreemap
441
441
  };
442
- //# sourceMappingURL=chunk-XJLNQEQS.js.map
442
+ //# sourceMappingURL=chunk-XHROEQ23.js.map
@@ -10,7 +10,7 @@ import {
10
10
  hideTooltip,
11
11
  renderChartTitle,
12
12
  showTooltip
13
- } from "./chunk-RN3PAL4E.js";
13
+ } from "./chunk-UBW53CNS.js";
14
14
  import {
15
15
  renderIntegratedLegend
16
16
  } from "./chunk-QT5UMFPE.js";
@@ -1672,4 +1672,4 @@ export {
1672
1672
  formatDateLabel,
1673
1673
  renderTimeline
1674
1674
  };
1675
- //# sourceMappingURL=chunk-EPH4UMUE.js.map
1675
+ //# sourceMappingURL=chunk-YVDBBWEP.js.map
@@ -9,7 +9,7 @@ import {
9
9
  looksLikeGantt,
10
10
  parseDgmo,
11
11
  parseDgmoChartType
12
- } from "./chunk-R5JPMW2F.js";
12
+ } from "./chunk-FTTB64OJ.js";
13
13
  import "./chunk-SH4PPRU7.js";
14
14
  import "./chunk-A2RUBBVT.js";
15
15
  import "./chunk-5PFNUDXR.js";
@@ -30,8 +30,8 @@ import "./chunk-Z7KVOVE4.js";
30
30
  import "./chunk-WFA6IULY.js";
31
31
  import "./chunk-BWJLLNUX.js";
32
32
  import "./chunk-KRTLS3G6.js";
33
- import "./chunk-TDHD3HNO.js";
34
- import "./chunk-RT7ACF77.js";
33
+ import "./chunk-F4X5NVKY.js";
34
+ import "./chunk-EGY3TS62.js";
35
35
  import "./chunk-W7UBPARG.js";
36
36
  import "./chunk-S5P5Z5Y5.js";
37
37
  import "./chunk-QQJUTGQH.js";
@@ -45,17 +45,17 @@ import "./chunk-UCZBRGJN.js";
45
45
  import "./chunk-7BMX2M3F.js";
46
46
  import "./chunk-3SP6G4LN.js";
47
47
  import "./chunk-ZM27UI5O.js";
48
- import "./chunk-2NRIGEHZ.js";
48
+ import "./chunk-46KVXDUJ.js";
49
49
  import "./chunk-TPN7RJOM.js";
50
50
  import "./chunk-EQW6HOP4.js";
51
51
  import "./chunk-DAOFNU6J.js";
52
52
  import "./chunk-7NSNE52V.js";
53
53
  import "./chunk-C3Z4DX3V.js";
54
- import "./chunk-DU3OIBQE.js";
54
+ import "./chunk-NWNSXHA5.js";
55
55
  import "./chunk-7TF3QOOD.js";
56
56
  import "./chunk-M5JT2AU7.js";
57
57
  import "./chunk-NXMESY4J.js";
58
- import "./chunk-SUA56ZSB.js";
58
+ import "./chunk-LTTZX6RD.js";
59
59
  import "./chunk-ICVIJLBA.js";
60
60
  import "./chunk-76NHL5UG.js";
61
61
  import "./chunk-E6PNTYRK.js";
@@ -86,4 +86,4 @@ export {
86
86
  parseDgmo,
87
87
  parseDgmoChartType
88
88
  };
89
- //# sourceMappingURL=dgmo-router-KYNLRE7S.js.map
89
+ //# sourceMappingURL=dgmo-router-A3LIHT6H.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  mapContentAspect,
3
3
  mapExportDimensions
4
- } from "./chunk-WWQ6TUVK.js";
5
- import "./chunk-RQ6SEQOT.js";
4
+ } from "./chunk-JLJ7SP4X.js";
5
+ import "./chunk-FMZEU7MF.js";
6
6
  import "./chunk-4QV26TEG.js";
7
7
  import "./chunk-L65WI4HO.js";
8
- import "./chunk-A4GOY3PE.js";
8
+ import "./chunk-DEW62ON3.js";
9
9
  import "./chunk-4SXHMFFP.js";
10
10
  import "./chunk-YT5ICQ4R.js";
11
11
  import "./chunk-MTGGOCND.js";
@@ -19,4 +19,4 @@ export {
19
19
  mapContentAspect,
20
20
  mapExportDimensions
21
21
  };
22
- //# sourceMappingURL=dimensions-Q5SFPATB.js.map
22
+ //# sourceMappingURL=dimensions-7NYBSZRJ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  extractSymbols,
3
3
  looksLikeFlowchart,
4
4
  parseFlowchart
5
- } from "./chunk-DU3OIBQE.js";
5
+ } from "./chunk-NWNSXHA5.js";
6
6
  import "./chunk-7TF3QOOD.js";
7
7
  import "./chunk-NXMESY4J.js";
8
8
  import "./chunk-76NHL5UG.js";
@@ -18,4 +18,4 @@ export {
18
18
  looksLikeFlowchart,
19
19
  parseFlowchart
20
20
  };
21
- //# sourceMappingURL=flowchart-parser-LY5GGQL2.js.map
21
+ //# sourceMappingURL=flowchart-parser-NVBP3C5D.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  renderFlowchart,
3
3
  renderFlowchartForExport
4
- } from "./chunk-57Z2WXJ2.js";
5
- import "./chunk-PDKUANDZ.js";
6
- import "./chunk-GE5RO4BS.js";
4
+ } from "./chunk-OBYZU23V.js";
5
+ import "./chunk-7IATMZSA.js";
6
+ import "./chunk-N6MZSBOL.js";
7
7
  import "./chunk-LP7EC4MI.js";
8
8
  import "./chunk-Q74GP3GK.js";
9
9
  import "./chunk-6EK55ART.js";
@@ -14,10 +14,10 @@ import "./chunk-WGC42WJU.js";
14
14
  import "./chunk-FJ57274M.js";
15
15
  import "./chunk-24YPR5EH.js";
16
16
  import "./chunk-RU2HHHYA.js";
17
- import "./chunk-A4GOY3PE.js";
17
+ import "./chunk-DEW62ON3.js";
18
18
  import "./chunk-UTCPNJND.js";
19
19
  import "./chunk-MTGGOCND.js";
20
- import "./chunk-DU3OIBQE.js";
20
+ import "./chunk-NWNSXHA5.js";
21
21
  import "./chunk-7TF3QOOD.js";
22
22
  import "./chunk-NXMESY4J.js";
23
23
  import "./chunk-76NHL5UG.js";
@@ -33,4 +33,4 @@ export {
33
33
  renderFlowchart,
34
34
  renderFlowchartForExport
35
35
  };
36
- //# sourceMappingURL=flowchart-renderer-TTUSBBQI.js.map
36
+ //# sourceMappingURL=flowchart-renderer-QYGQ64BM.js.map
package/dist/index.js CHANGED
@@ -11,10 +11,10 @@ import {
11
11
  } from "./chunk-SQAG3UXH.js";
12
12
  import {
13
13
  render
14
- } from "./chunk-YXY6V2YN.js";
14
+ } from "./chunk-4CRLM3IT.js";
15
15
  import {
16
16
  renderErrorCard
17
- } from "./chunk-XCAEHWQB.js";
17
+ } from "./chunk-PAW4RMH3.js";
18
18
  import {
19
19
  MAP_DIAGNOSTICS
20
20
  } from "./chunk-EOYPX6SF.js";
@@ -22,15 +22,15 @@ import {
22
22
  D3_DATA_CHART_TYPES,
23
23
  renderDataChartD3,
24
24
  supportsD3DataChart
25
- } from "./chunk-474D3IUN.js";
25
+ } from "./chunk-JL7BDLC6.js";
26
26
  import "./chunk-L65WI4HO.js";
27
- import "./chunk-EPH4UMUE.js";
27
+ import "./chunk-YVDBBWEP.js";
28
28
  import "./chunk-YRYKTYMQ.js";
29
29
  import "./chunk-24YPR5EH.js";
30
- import "./chunk-RN3PAL4E.js";
31
- import "./chunk-YJMWEZOB.js";
30
+ import "./chunk-UBW53CNS.js";
31
+ import "./chunk-MG3DE3VO.js";
32
32
  import "./chunk-RU2HHHYA.js";
33
- import "./chunk-A4GOY3PE.js";
33
+ import "./chunk-DEW62ON3.js";
34
34
  import "./chunk-QT5UMFPE.js";
35
35
  import "./chunk-4SXHMFFP.js";
36
36
  import "./chunk-UTCPNJND.js";
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-U7VO6JAA.js";
43
43
  import {
44
44
  parseDgmo
45
- } from "./chunk-R5JPMW2F.js";
45
+ } from "./chunk-FTTB64OJ.js";
46
46
  import "./chunk-SH4PPRU7.js";
47
47
  import "./chunk-A2RUBBVT.js";
48
48
  import "./chunk-5PFNUDXR.js";
@@ -67,10 +67,10 @@ import "./chunk-Z7KVOVE4.js";
67
67
  import "./chunk-WFA6IULY.js";
68
68
  import "./chunk-BWJLLNUX.js";
69
69
  import "./chunk-KRTLS3G6.js";
70
- import "./chunk-TDHD3HNO.js";
70
+ import "./chunk-F4X5NVKY.js";
71
71
  import {
72
72
  SKETCH_DIAGNOSTICS
73
- } from "./chunk-RT7ACF77.js";
73
+ } from "./chunk-EGY3TS62.js";
74
74
  import {
75
75
  SWIMLANE_DIAGNOSTICS
76
76
  } from "./chunk-W7UBPARG.js";
@@ -94,19 +94,19 @@ import {
94
94
  } from "./chunk-7BMX2M3F.js";
95
95
  import "./chunk-3SP6G4LN.js";
96
96
  import "./chunk-ZM27UI5O.js";
97
- import "./chunk-2NRIGEHZ.js";
97
+ import "./chunk-46KVXDUJ.js";
98
98
  import "./chunk-TPN7RJOM.js";
99
99
  import "./chunk-EQW6HOP4.js";
100
100
  import "./chunk-DAOFNU6J.js";
101
101
  import "./chunk-7NSNE52V.js";
102
102
  import "./chunk-C3Z4DX3V.js";
103
- import "./chunk-DU3OIBQE.js";
103
+ import "./chunk-NWNSXHA5.js";
104
104
  import {
105
105
  GRAPH_DIAGNOSTICS
106
106
  } from "./chunk-7TF3QOOD.js";
107
107
  import "./chunk-M5JT2AU7.js";
108
108
  import "./chunk-NXMESY4J.js";
109
- import "./chunk-SUA56ZSB.js";
109
+ import "./chunk-LTTZX6RD.js";
110
110
  import "./chunk-ICVIJLBA.js";
111
111
  import "./chunk-76NHL5UG.js";
112
112
  import "./chunk-E6PNTYRK.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  layoutGraph
3
- } from "./chunk-GE5RO4BS.js";
3
+ } from "./chunk-N6MZSBOL.js";
4
4
  import "./chunk-6EK55ART.js";
5
5
  import "./chunk-MU3CJPJF.js";
6
6
  import "./chunk-5DH3KYFH.js";
@@ -18,4 +18,4 @@ import "./chunk-5WRI5ZAA.js";
18
18
  export {
19
19
  layoutGraph
20
20
  };
21
- //# sourceMappingURL=layout-UJ62RQQ3.js.map
21
+ //# sourceMappingURL=layout-2OJ25STS.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SKETCH_AUTO_LAYOUT_DEFAULTS,
3
3
  layoutSketch
4
- } from "./chunk-6DYZ2JM6.js";
5
- import "./chunk-RT7ACF77.js";
4
+ } from "./chunk-BZQCAZZZ.js";
5
+ import "./chunk-EGY3TS62.js";
6
6
  import "./chunk-5SI6T5A5.js";
7
7
  import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  SKETCH_AUTO_LAYOUT_DEFAULTS,
10
10
  layoutSketch
11
11
  };
12
- //# sourceMappingURL=layout-DAYQ46PS.js.map
12
+ //# sourceMappingURL=layout-LAS67TK3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  parseSketch
3
- } from "./chunk-TDHD3HNO.js";
4
- import "./chunk-RT7ACF77.js";
3
+ } from "./chunk-F4X5NVKY.js";
4
+ import "./chunk-EGY3TS62.js";
5
5
  import "./chunk-IHOFUR74.js";
6
6
  import "./chunk-NOTA6TEI.js";
7
7
  import "./chunk-76LHNLGX.js";
@@ -12,4 +12,4 @@ import "./chunk-5WRI5ZAA.js";
12
12
  export {
13
13
  parseSketch
14
14
  };
15
- //# sourceMappingURL=parser-LUOINP6H.js.map
15
+ //# sourceMappingURL=parser-QYAIFXLP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  INFRA_TOP_LEVEL_OPTIONS,
3
3
  extractSymbols,
4
4
  parseInfra
5
- } from "./chunk-2NRIGEHZ.js";
5
+ } from "./chunk-46KVXDUJ.js";
6
6
  import "./chunk-7TF3QOOD.js";
7
7
  import "./chunk-IHOFUR74.js";
8
8
  import "./chunk-IYULMRBE.js";
@@ -17,4 +17,4 @@ export {
17
17
  extractSymbols,
18
18
  parseInfra
19
19
  };
20
- //# sourceMappingURL=parser-L7RXUKYN.js.map
20
+ //# sourceMappingURL=parser-WVE6SKB7.js.map
@@ -2,7 +2,7 @@ import {
2
2
  extractSymbols,
3
3
  looksLikeClassDiagram,
4
4
  parseClassDiagram
5
- } from "./chunk-SUA56ZSB.js";
5
+ } from "./chunk-LTTZX6RD.js";
6
6
  import "./chunk-76NHL5UG.js";
7
7
  import "./chunk-E6PNTYRK.js";
8
8
  import "./chunk-IHOFUR74.js";
@@ -16,4 +16,4 @@ export {
16
16
  looksLikeClassDiagram,
17
17
  parseClassDiagram
18
18
  };
19
- //# sourceMappingURL=parser-JYIZEKAS.js.map
19
+ //# sourceMappingURL=parser-ZYAFHXKQ.js.map