@diagrammo/dgmo 0.88.0 → 0.89.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 (148) hide show
  1. package/README.md +4 -2
  2. package/dist/advanced.d.ts +41 -11
  3. package/dist/advanced.js +107 -105
  4. package/dist/{analyzer-R5UBTRO2.js → analyzer-7ZGAZIE6.js} +2 -2
  5. package/dist/block.js +25 -25
  6. package/dist/{chart-meta-PbgpGwYo.d.ts → chart-meta-Bev5Ebjr.d.ts} +1 -1
  7. package/dist/chart-meta.d.ts +2 -2
  8. package/dist/chart-meta.js +11 -11
  9. package/dist/{chart-types-Db_EGf1o.d.ts → chart-types-Bf8C5QQW.d.ts} +1 -1
  10. package/dist/{charts-d3-3BZRSZV6.js → charts-d3-KEQSUWKP.js} +10 -10
  11. package/dist/{chunk-LJFXC3IP.js → chunk-2GM7N5TV.js} +10 -10
  12. package/dist/{chunk-H2GEIFUF.js → chunk-3AQJNY65.js} +8 -8
  13. package/dist/{chunk-WXPBP4IT.js → chunk-44FTCIRI.js} +9 -9
  14. package/dist/{chunk-WZ23JJ7U.js → chunk-4AJKOUBO.js} +11 -11
  15. package/dist/{chunk-YK4N6TBN.js → chunk-4R6OMKXB.js} +7 -7
  16. package/dist/{chunk-HEYGGSNQ.js → chunk-5LE2CTLS.js} +2 -2
  17. package/dist/{chunk-MVCPO6LI.js → chunk-7C2RAGPT.js} +31 -21
  18. package/dist/{chunk-VJ2KROJ5.js → chunk-7KPHRTND.js} +1 -1
  19. package/dist/{chunk-LHL6HDUL.js → chunk-7SX4IY6T.js} +84 -12
  20. package/dist/{chunk-LSQGJN5H.js → chunk-7W4XLIVH.js} +15 -15
  21. package/dist/{chunk-XUDGZJTJ.js → chunk-AZ24RI5L.js} +6 -6
  22. package/dist/{chunk-UMRZPRAN.js → chunk-BB6QKWHZ.js} +15 -15
  23. package/dist/{chunk-6I5UN4FD.js → chunk-C4FRGZGX.js} +4 -4
  24. package/dist/{chunk-3DOQOXXI.js → chunk-CNUN5GO6.js} +1 -1
  25. package/dist/{chunk-5KGM44TG.js → chunk-CX6OH5WP.js} +1 -1
  26. package/dist/{chunk-D4M25W6R.js → chunk-DDPGEGHB.js} +5 -5
  27. package/dist/{chunk-B7CU2HW5.js → chunk-DZPHN2WN.js} +9 -9
  28. package/dist/{chunk-O6MMQQLF.js → chunk-ECMA6XE2.js} +10 -10
  29. package/dist/{chunk-MGBV4JEI.js → chunk-EDXGEQW3.js} +1 -1
  30. package/dist/{chunk-5LD7SHXO.js → chunk-EXKCRXPO.js} +9 -9
  31. package/dist/{chunk-HTPZDZKQ.js → chunk-FKLE6QA3.js} +13 -13
  32. package/dist/{chunk-ERNCPKD4.js → chunk-G2KHLANR.js} +1 -1
  33. package/dist/{chunk-NJIGYGZS.js → chunk-HAMF4F3P.js} +12 -7
  34. package/dist/{chunk-UY6TEJJH.js → chunk-HJRP6PXL.js} +1 -1
  35. package/dist/{chunk-LNO3ASX5.js → chunk-HUNDJTTH.js} +1 -1
  36. package/dist/{chunk-RH2PROYG.js → chunk-I6GGMCTV.js} +4 -2
  37. package/dist/{chunk-DOXBS7F5.js → chunk-ID2K3IHI.js} +4 -4
  38. package/dist/{chunk-33FQ6HNV.js → chunk-IQ6P3HDE.js} +9 -9
  39. package/dist/{chunk-BAZT6CIF.js → chunk-ITSBBQTH.js} +7 -7
  40. package/dist/{chunk-UNNJCSSQ.js → chunk-JVZ7KFAX.js} +1 -1
  41. package/dist/{chunk-AQIBKTPG.js → chunk-K5XT7NHD.js} +3 -3
  42. package/dist/{chunk-HAH5X345.js → chunk-KATED53P.js} +1 -1
  43. package/dist/{chunk-7HWY4QAJ.js → chunk-L24LESXF.js} +1 -0
  44. package/dist/{chunk-VPASQOR3.js → chunk-LFKSHDVI.js} +1 -1
  45. package/dist/{chunk-XVSJYAK7.js → chunk-LPYYZCSI.js} +2 -2
  46. package/dist/{chunk-BV6PKJUS.js → chunk-LR6RRDWN.js} +5 -5
  47. package/dist/{chunk-DAX42XVH.js → chunk-LYLNMN77.js} +8 -8
  48. package/dist/{chunk-VW52W5F6.js → chunk-M2BCY7H3.js} +101 -84
  49. package/dist/{chunk-A4XPI4YN.js → chunk-MFW6P7WH.js} +27 -0
  50. package/dist/{chunk-CFBY77QJ.js → chunk-N4BBSDWI.js} +9 -9
  51. package/dist/{chunk-IDJGV6VM.js → chunk-NIUO2TNR.js} +215 -1
  52. package/dist/{chunk-PLE2432T.js → chunk-NRPELUB6.js} +2 -2
  53. package/dist/{chunk-FM3WAVB6.js → chunk-NS7L7YKH.js} +1 -1
  54. package/dist/{chunk-YMG7JDEY.js → chunk-NSR2CGV6.js} +71 -24
  55. package/dist/{chunk-LD2JSKU3.js → chunk-OOCVGX4W.js} +15 -0
  56. package/dist/{chunk-N4XHXBDQ.js → chunk-PMNITNPR.js} +4 -4
  57. package/dist/{chunk-MSXRNVHB.js → chunk-Q6SQISHT.js} +12 -11
  58. package/dist/{chunk-UNAP6O26.js → chunk-QIOYTQDZ.js} +9 -9
  59. package/dist/{chunk-BT2WH2XT.js → chunk-RGWYZR3S.js} +1 -1
  60. package/dist/{chunk-PPH6ILHL.js → chunk-RPKBWJBB.js} +4 -4
  61. package/dist/{chunk-JD4RHBNX.js → chunk-RXIKESRI.js} +7 -7
  62. package/dist/{chunk-BMUWF77V.js → chunk-S2WE7TVK.js} +4 -4
  63. package/dist/{chunk-QFIXL3OK.js → chunk-SEKNYIMO.js} +1 -1
  64. package/dist/{chunk-FPXMCGS5.js → chunk-SLQT3JP3.js} +1 -1
  65. package/dist/{chunk-LL6D3MES.js → chunk-SOPM5PLO.js} +9 -9
  66. package/dist/{chunk-J7Q4VPBJ.js → chunk-TAP2NZEU.js} +22 -16
  67. package/dist/{chunk-RE6TVIAV.js → chunk-UKJLPA7R.js} +4 -4
  68. package/dist/{chunk-RGI64U3A.js → chunk-UQLHKLF4.js} +9 -9
  69. package/dist/{chunk-JLETTWUJ.js → chunk-UWKRPQZO.js} +49 -23
  70. package/dist/{chunk-XIFK423U.js → chunk-W7QN5BC5.js} +4 -4
  71. package/dist/{chunk-XWYR5T52.js → chunk-WEF6MXFG.js} +14 -14
  72. package/dist/{chunk-P5V63L35.js → chunk-WP22MHH6.js} +17 -17
  73. package/dist/{chunk-PUVTFUNH.js → chunk-WRCAH3UO.js} +18 -18
  74. package/dist/{chunk-N7XRBWXA.js → chunk-XJ2TBXHA.js} +10 -10
  75. package/dist/{chunk-DSG6GBUQ.js → chunk-XUCQVKLQ.js} +6 -6
  76. package/dist/{chunk-NZCSVD4M.js → chunk-Y7PSAHAY.js} +8 -8
  77. package/dist/{chunk-AAMCXQPP.js → chunk-YMFQLWZ2.js} +6 -6
  78. package/dist/completion-registry.d.ts +1 -1
  79. package/dist/completion-registry.js +4 -16
  80. package/dist/countdown.js +1 -1
  81. package/dist/{dgmo-router-F2DSURTR.js → dgmo-router-7WANZOBD.js} +11 -11
  82. package/dist/{dimensions-6QAWEGIR.js → dimensions-7MF7VSGS.js} +6 -6
  83. package/dist/{flowchart-renderer-THC6Y7EH.js → flowchart-renderer-DZQZRL2F.js} +6 -5
  84. package/dist/index.d.ts +1 -1
  85. package/dist/index.js +27 -27
  86. package/dist/{layout-P6DTD4RT.js → layout-4RRC7XU7.js} +2 -2
  87. package/dist/{layout-QX5T6ZNE.js → layout-6L3BIFEZ.js} +4 -4
  88. package/dist/{layout-SOPAVXIH.js → layout-DXVAYF6W.js} +3 -3
  89. package/dist/{layout-LUQKAGGT.js → layout-EFEZ533S.js} +4 -4
  90. package/dist/{layout-EHTYSMV4.js → layout-H4K54IW3.js} +2 -2
  91. package/dist/{layout-AM57TGN5.js → layout-IGAVGDME.js} +3 -3
  92. package/dist/{layout-5NPBHV5F.js → layout-PP36LUTA.js} +2 -2
  93. package/dist/{layout-CUFA7XJD.js → layout-Q3RYSODA.js} +4 -4
  94. package/dist/layout-XUW444O5.js +1 -1
  95. package/dist/{layout-BOVTLAOT.js → layout-ZP7XYVXF.js} +2 -2
  96. package/dist/{layout-search-VKSBUCDM.js → layout-search-YKUL4VBV.js} +105 -6
  97. package/dist/{legend-constants-ZVO4FLAK.js → legend-constants-HE7FVDJP.js} +4 -2
  98. package/dist/{palettes-BIV54XLS.js → palettes-WZAIQTEG.js} +6 -4
  99. package/dist/{parser-ACW6C6OY.js → parser-337TACHB.js} +1 -1
  100. package/dist/{parser-WUK6CP5X.js → parser-GCCWMBTU.js} +3 -3
  101. package/dist/{parser-GPW4ZHPQ.js → parser-IMM2JJX3.js} +2 -1
  102. package/dist/{parser-JXS4426S.js → parser-P4TOQYNN.js} +2 -2
  103. package/dist/{parser-PVIWHVGY.js → parser-TL3JA4RI.js} +1 -1
  104. package/dist/{parser-C327BBE3.js → parser-UTXFJG4X.js} +1 -1
  105. package/dist/{renderer-RWJ45DWH.js → renderer-2ZQ6DPVD.js} +3 -3
  106. package/dist/{renderer-NHPKNNBD.js → renderer-3AD4NDF5.js} +9 -9
  107. package/dist/{renderer-2KVQGGTT.js → renderer-43ESBXVY.js} +8 -8
  108. package/dist/{renderer-A4LMOBZL.js → renderer-4JE5ORRO.js} +12 -12
  109. package/dist/{renderer-RAATRF6W.js → renderer-5GZNGZU5.js} +7 -7
  110. package/dist/{renderer-RMGN3Q7D.js → renderer-6OQM32X3.js} +3 -3
  111. package/dist/{renderer-222OTVQV.js → renderer-7HOSI6JJ.js} +4 -4
  112. package/dist/{renderer-RNCYODNF.js → renderer-7L7J4DHO.js} +8 -8
  113. package/dist/{renderer-DCFQDBGJ.js → renderer-7MCC6GKH.js} +2 -2
  114. package/dist/{renderer-3FF4QVGW.js → renderer-7VQOKAII.js} +8 -8
  115. package/dist/{renderer-4BHOELCE.js → renderer-BLHN3RCY.js} +3 -3
  116. package/dist/{renderer-PQYO2HCE.js → renderer-CEIX5JPA.js} +3 -3
  117. package/dist/{renderer-2OOPQ4CH.js → renderer-CHQZES6G.js} +3 -3
  118. package/dist/{renderer-36JH4OMC.js → renderer-DBNDLKPE.js} +9 -9
  119. package/dist/{renderer-KVAQE7PQ.js → renderer-DCJ4AQ3N.js} +7 -7
  120. package/dist/{renderer-LODEVN3V.js → renderer-EAORWLVK.js} +10 -10
  121. package/dist/{renderer-XRALFCIN.js → renderer-FCXRDYSJ.js} +8 -8
  122. package/dist/{renderer-YDAVCRTP.js → renderer-IR5GGAPB.js} +8 -8
  123. package/dist/{renderer-QM23SWAM.js → renderer-J4OS77PK.js} +2 -2
  124. package/dist/{renderer-4BIMRO4X.js → renderer-JR2XNZAH.js} +6 -6
  125. package/dist/{renderer-JKV2DBYP.js → renderer-JRVY7HAD.js} +6 -6
  126. package/dist/{renderer-R34GJL7U.js → renderer-NAA7D33G.js} +11 -11
  127. package/dist/{renderer-SDUSBCJI.js → renderer-P4XCRNCY.js} +7 -7
  128. package/dist/{renderer-A6ACVK4X.js → renderer-QQHQY3GT.js} +6 -6
  129. package/dist/{renderer-YIZ7G4HU.js → renderer-TJJGFQGT.js} +13 -13
  130. package/dist/{renderer-TPOZOAXR.js → renderer-VGQMJC5K.js} +12 -12
  131. package/dist/{renderer-XUPLAO4B.js → renderer-VYWCMRWA.js} +7 -7
  132. package/dist/{renderer-WH2HWE5Z.js → renderer-WB75JME5.js} +8 -8
  133. package/dist/{renderer-BICLPGAH.js → renderer-WQ654YT5.js} +2 -2
  134. package/dist/{renderer-6BUUTWVS.js → renderer-XFEZ5UBE.js} +8 -8
  135. package/dist/{renderer-4NZZ5J2F.js → renderer-XHEMXBQM.js} +7 -7
  136. package/dist/{renderer-RENDISO5.js → renderer-YTEZK3GC.js} +12 -12
  137. package/dist/{renderer-X5A5VIRD.js → renderer-ZXQXRNDR.js} +8 -8
  138. package/dist/{renderer-radial-XZ5TKUT4.js → renderer-radial-NA5DVBG4.js} +7 -7
  139. package/dist/{state-renderer-5IQ4OJUI.js → state-renderer-4S2C2CHB.js} +9 -9
  140. package/docs/ai-integration.md +5 -3
  141. package/docs/language-reference.md +2 -2
  142. package/package.json +1 -1
  143. package/dist/{chunk-3TYUXC7D.js → chunk-2SKMEL7V.js} +0 -0
  144. package/dist/{chunk-CLQIXD2C.js → chunk-7Z2VFRP5.js} +3 -3
  145. package/dist/{chunk-NF5YKFRH.js → chunk-B3S76BZO.js} +0 -0
  146. package/dist/{chunk-UIUXIDBX.js → chunk-CUYHST3B.js} +4 -4
  147. package/dist/{chunk-GUYVKGFN.js → chunk-DPSMX4EY.js} +0 -0
  148. package/dist/{chunk-2A4DQAXG.js → chunk-IIOLFAGJ.js} +3 -3
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-XCKNFFKM.js";
26
26
  import {
27
27
  layoutInlineHeader
28
- } from "./chunk-3DOQOXXI.js";
28
+ } from "./chunk-CNUN5GO6.js";
29
29
  import {
30
30
  TITLE_FONT_SIZE,
31
31
  TITLE_FONT_WEIGHT,
@@ -34,17 +34,27 @@ import {
34
34
  } from "./chunk-VLC6WNRD.js";
35
35
  import {
36
36
  renderIntegratedLegend
37
- } from "./chunk-LHL6HDUL.js";
37
+ } from "./chunk-7SX4IY6T.js";
38
38
  import {
39
39
  getLegendExtent,
40
40
  getMaxLegendReservedHeight
41
- } from "./chunk-FM3WAVB6.js";
41
+ } from "./chunk-NS7L7YKH.js";
42
42
  import {
43
43
  FONT_FAMILY
44
44
  } from "./chunk-ICLB27PZ.js";
45
45
  import {
46
46
  parseInfra
47
47
  } from "./chunk-GUTZCRBT.js";
48
+ import {
49
+ preprocessDescriptionLine
50
+ } from "./chunk-IYULMRBE.js";
51
+ import {
52
+ tagAttrKey
53
+ } from "./chunk-L5AFONQU.js";
54
+ import {
55
+ legendInlineRequested,
56
+ legendSuppressed
57
+ } from "./chunk-44GP7PD5.js";
48
58
  import {
49
59
  LEGEND_CAPSULE_PAD,
50
60
  LEGEND_DOT_R,
@@ -55,29 +65,19 @@ import {
55
65
  LEGEND_PILL_FONT_SIZE,
56
66
  LEGEND_PILL_PAD,
57
67
  measureLegendText
58
- } from "./chunk-RH2PROYG.js";
68
+ } from "./chunk-I6GGMCTV.js";
59
69
  import {
60
70
  CHAR_WIDTH_RATIO,
61
71
  measureText,
62
72
  truncateText
63
73
  } from "./chunk-KAO7JL4I.js";
64
- import {
65
- preprocessDescriptionLine
66
- } from "./chunk-IYULMRBE.js";
67
- import {
68
- tagAttrKey
69
- } from "./chunk-L5AFONQU.js";
70
- import {
71
- legendInlineRequested,
72
- legendSuppressed
73
- } from "./chunk-44GP7PD5.js";
74
74
  import {
75
75
  contrastText,
76
76
  groupFill,
77
77
  groupStroke,
78
78
  mix,
79
79
  shapeFill
80
- } from "./chunk-7HWY4QAJ.js";
80
+ } from "./chunk-L24LESXF.js";
81
81
  import {
82
82
  resolveColor
83
83
  } from "./chunk-2M4IGSCY.js";
@@ -10,7 +10,7 @@ import {
10
10
  renderNoteBadge,
11
11
  renderNoteBox,
12
12
  renderNoteConnector
13
- } from "./chunk-HAH5X345.js";
13
+ } from "./chunk-KATED53P.js";
14
14
  import {
15
15
  appendArrowheadMarkers
16
16
  } from "./chunk-XBJJP2HN.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-XCKNFFKM.js";
30
30
  import {
31
31
  serializeSvg
32
- } from "./chunk-LD2JSKU3.js";
32
+ } from "./chunk-OOCVGX4W.js";
33
33
  import {
34
34
  TITLE_FONT_SIZE,
35
35
  TITLE_FONT_WEIGHT,
@@ -38,19 +38,19 @@ import {
38
38
  import {
39
39
  FONT_FAMILY
40
40
  } from "./chunk-ICLB27PZ.js";
41
- import {
42
- measureText
43
- } from "./chunk-KAO7JL4I.js";
44
41
  import {
45
42
  parseFlowchart
46
43
  } from "./chunk-JRUEIRJB.js";
47
44
  import {
48
45
  fillModeFromOptions
49
46
  } from "./chunk-44GP7PD5.js";
47
+ import {
48
+ measureText
49
+ } from "./chunk-KAO7JL4I.js";
50
50
  import {
51
51
  contrastText,
52
52
  shapeFill
53
- } from "./chunk-7HWY4QAJ.js";
53
+ } from "./chunk-L24LESXF.js";
54
54
 
55
55
  // src/graph/flowchart-renderer.ts
56
56
  import * as d3Selection from "d3-selection";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  layoutOrg
3
- } from "./chunk-33FQ6HNV.js";
3
+ } from "./chunk-IQ6P3HDE.js";
4
4
  import {
5
5
  renderCollapseBar,
6
6
  renderNodeCard
@@ -28,30 +28,20 @@ import {
28
28
  import {
29
29
  extractExportSvg,
30
30
  runInExportContainer
31
- } from "./chunk-QFIXL3OK.js";
31
+ } from "./chunk-SEKNYIMO.js";
32
32
  import {
33
33
  TITLE_FONT_SIZE,
34
34
  TITLE_FONT_WEIGHT
35
35
  } from "./chunk-VLC6WNRD.js";
36
36
  import {
37
37
  renderIntegratedLegend
38
- } from "./chunk-LHL6HDUL.js";
38
+ } from "./chunk-7SX4IY6T.js";
39
39
  import {
40
40
  getMaxLegendReservedHeight
41
- } from "./chunk-FM3WAVB6.js";
41
+ } from "./chunk-NS7L7YKH.js";
42
42
  import {
43
43
  FONT_FAMILY
44
44
  } from "./chunk-ICLB27PZ.js";
45
- import {
46
- EYE_CLOSED_PATH,
47
- EYE_OPEN_PATH,
48
- LEGEND_EYE_GAP,
49
- LEGEND_EYE_SIZE,
50
- LEGEND_HEIGHT
51
- } from "./chunk-RH2PROYG.js";
52
- import {
53
- measureText
54
- } from "./chunk-KAO7JL4I.js";
55
45
  import {
56
46
  parseOrg
57
47
  } from "./chunk-FJNXXGTR.js";
@@ -62,12 +52,22 @@ import {
62
52
  import {
63
53
  fillModeFromOptions
64
54
  } from "./chunk-44GP7PD5.js";
55
+ import {
56
+ EYE_CLOSED_PATH,
57
+ EYE_OPEN_PATH,
58
+ LEGEND_EYE_GAP,
59
+ LEGEND_EYE_SIZE,
60
+ LEGEND_HEIGHT
61
+ } from "./chunk-I6GGMCTV.js";
62
+ import {
63
+ measureText
64
+ } from "./chunk-KAO7JL4I.js";
65
65
  import {
66
66
  contrastText,
67
67
  groupFill,
68
68
  groupStroke,
69
69
  shapeFill
70
- } from "./chunk-7HWY4QAJ.js";
70
+ } from "./chunk-L24LESXF.js";
71
71
 
72
72
  // src/org/renderer.ts
73
73
  import * as d3Selection from "d3-selection";
@@ -15,18 +15,18 @@ import {
15
15
  import {
16
16
  FONT_FAMILY
17
17
  } from "./chunk-ICLB27PZ.js";
18
+ import {
19
+ fillModeFromOptions
20
+ } from "./chunk-44GP7PD5.js";
18
21
  import {
19
22
  CHAR_WIDTH_RATIO,
20
23
  measureText
21
24
  } from "./chunk-KAO7JL4I.js";
22
- import {
23
- fillModeFromOptions
24
- } from "./chunk-44GP7PD5.js";
25
25
  import {
26
26
  contrastText,
27
27
  getSeriesColors,
28
28
  shapeFill
29
- } from "./chunk-7HWY4QAJ.js";
29
+ } from "./chunk-L24LESXF.js";
30
30
  import {
31
31
  resolveColor
32
32
  } from "./chunk-2M4IGSCY.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VLC6WNRD.js";
5
5
  import {
6
6
  LEGEND_HEIGHT
7
- } from "./chunk-RH2PROYG.js";
7
+ } from "./chunk-I6GGMCTV.js";
8
8
  import {
9
9
  measureText
10
10
  } from "./chunk-KAO7JL4I.js";
@@ -30,7 +30,7 @@ import {
30
30
  getSeriesColors,
31
31
  mix,
32
32
  themeBaseBg
33
- } from "./chunk-7HWY4QAJ.js";
33
+ } from "./chunk-L24LESXF.js";
34
34
  import {
35
35
  resolveColor
36
36
  } from "./chunk-2M4IGSCY.js";
@@ -2,19 +2,19 @@ import {
2
2
  FONT_FAMILY,
3
3
  MONO_FAMILY
4
4
  } from "./chunk-ICLB27PZ.js";
5
- import {
6
- measureText,
7
- truncateText
8
- } from "./chunk-KAO7JL4I.js";
9
5
  import {
10
6
  encodeDiagramUrl
11
7
  } from "./chunk-RE27AX7O.js";
12
8
  import {
13
9
  parseDgmoChartType
14
- } from "./chunk-AQIBKTPG.js";
10
+ } from "./chunk-K5XT7NHD.js";
15
11
  import {
16
12
  chartTypes
17
13
  } from "./chunk-44GP7PD5.js";
14
+ import {
15
+ measureText,
16
+ truncateText
17
+ } from "./chunk-KAO7JL4I.js";
18
18
 
19
19
  // src/error-card.ts
20
20
  var DOCS_BASE = "https://diagrammo.app/docs";
@@ -11,7 +11,7 @@ import {
11
11
  renderNoteBadge,
12
12
  renderNoteBox,
13
13
  renderNoteConnector
14
- } from "./chunk-HAH5X345.js";
14
+ } from "./chunk-KATED53P.js";
15
15
  import {
16
16
  appendArrowheadMarkers
17
17
  } from "./chunk-XBJJP2HN.js";
@@ -30,10 +30,10 @@ import {
30
30
  } from "./chunk-XCKNFFKM.js";
31
31
  import {
32
32
  layoutInlineHeader
33
- } from "./chunk-3DOQOXXI.js";
33
+ } from "./chunk-CNUN5GO6.js";
34
34
  import {
35
35
  serializeSvg
36
- } from "./chunk-LD2JSKU3.js";
36
+ } from "./chunk-OOCVGX4W.js";
37
37
  import {
38
38
  TITLE_FONT_SIZE,
39
39
  TITLE_FONT_WEIGHT,
@@ -41,17 +41,14 @@ import {
41
41
  } from "./chunk-VLC6WNRD.js";
42
42
  import {
43
43
  renderIntegratedLegend
44
- } from "./chunk-LHL6HDUL.js";
44
+ } from "./chunk-7SX4IY6T.js";
45
45
  import {
46
46
  getLegendExtent,
47
47
  getMaxLegendReservedHeight
48
- } from "./chunk-FM3WAVB6.js";
48
+ } from "./chunk-NS7L7YKH.js";
49
49
  import {
50
50
  FONT_FAMILY
51
51
  } from "./chunk-ICLB27PZ.js";
52
- import {
53
- measureText
54
- } from "./chunk-KAO7JL4I.js";
55
52
  import {
56
53
  parseState
57
54
  } from "./chunk-AYOVY75O.js";
@@ -66,12 +63,15 @@ import {
66
63
  legendInlineRequested,
67
64
  legendSuppressed
68
65
  } from "./chunk-44GP7PD5.js";
66
+ import {
67
+ measureText
68
+ } from "./chunk-KAO7JL4I.js";
69
69
  import {
70
70
  contrastText,
71
71
  mix,
72
72
  shapeFill,
73
73
  themeBaseBg
74
- } from "./chunk-7HWY4QAJ.js";
74
+ } from "./chunk-L24LESXF.js";
75
75
 
76
76
  // src/graph/state-renderer.ts
77
77
  import * as d3Selection from "d3-selection";
@@ -4,7 +4,7 @@ import {
4
4
  renderNoteBadge,
5
5
  renderNoteBox,
6
6
  renderNoteConnector
7
- } from "./chunk-HAH5X345.js";
7
+ } from "./chunk-KATED53P.js";
8
8
  import {
9
9
  appendArrowheadMarkers,
10
10
  appendReverseArrowheadMarkers
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-XCKNFFKM.js";
32
32
  import {
33
33
  layoutInlineHeader
34
- } from "./chunk-3DOQOXXI.js";
34
+ } from "./chunk-CNUN5GO6.js";
35
35
  import {
36
36
  TITLE_FONT_SIZE,
37
37
  TITLE_FONT_WEIGHT,
@@ -39,19 +39,14 @@ import {
39
39
  } from "./chunk-VLC6WNRD.js";
40
40
  import {
41
41
  renderIntegratedLegend
42
- } from "./chunk-LHL6HDUL.js";
42
+ } from "./chunk-7SX4IY6T.js";
43
43
  import {
44
44
  getLegendExtent,
45
45
  getMaxLegendReservedHeight
46
- } from "./chunk-FM3WAVB6.js";
46
+ } from "./chunk-NS7L7YKH.js";
47
47
  import {
48
48
  FONT_FAMILY
49
49
  } from "./chunk-ICLB27PZ.js";
50
- import {
51
- CHAR_WIDTH_RATIO,
52
- measureText,
53
- truncateText
54
- } from "./chunk-KAO7JL4I.js";
55
50
  import {
56
51
  resolveGroupTagColor,
57
52
  resolveTagColor
@@ -61,6 +56,11 @@ import {
61
56
  legendInlineRequested,
62
57
  legendSuppressed
63
58
  } from "./chunk-44GP7PD5.js";
59
+ import {
60
+ CHAR_WIDTH_RATIO,
61
+ measureText,
62
+ truncateText
63
+ } from "./chunk-KAO7JL4I.js";
64
64
  import {
65
65
  contrastText,
66
66
  groupFill,
@@ -70,7 +70,7 @@ import {
70
70
  shapeFill,
71
71
  themeBaseBg,
72
72
  valueRampColor
73
- } from "./chunk-7HWY4QAJ.js";
73
+ } from "./chunk-L24LESXF.js";
74
74
  import {
75
75
  resolveColor
76
76
  } from "./chunk-2M4IGSCY.js";
@@ -3,7 +3,7 @@ import {
3
3
  addCalendarDays,
4
4
  resolveConfidence,
5
5
  unitToDays
6
- } from "./chunk-3TYUXC7D.js";
6
+ } from "./chunk-2SKMEL7V.js";
7
7
  import {
8
8
  makeDgmoError
9
9
  } from "./chunk-BYU54C3S.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-S7W75MIM.js";
10
10
  import {
11
11
  formatDateLabel
12
- } from "./chunk-JLETTWUJ.js";
12
+ } from "./chunk-UWKRPQZO.js";
13
13
  import {
14
14
  CARD_RADIUS,
15
15
  HAIRLINE_DASH,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-XCKNFFKM.js";
21
21
  import {
22
22
  layoutInlineHeader
23
- } from "./chunk-3DOQOXXI.js";
23
+ } from "./chunk-CNUN5GO6.js";
24
24
  import {
25
25
  TITLE_FONT_SIZE,
26
26
  TITLE_FONT_WEIGHT,
@@ -28,32 +28,32 @@ import {
28
28
  } from "./chunk-VLC6WNRD.js";
29
29
  import {
30
30
  renderIntegratedLegend
31
- } from "./chunk-LHL6HDUL.js";
31
+ } from "./chunk-7SX4IY6T.js";
32
32
  import {
33
33
  getLegendExtent
34
- } from "./chunk-FM3WAVB6.js";
34
+ } from "./chunk-NS7L7YKH.js";
35
35
  import {
36
36
  FONT_FAMILY
37
37
  } from "./chunk-ICLB27PZ.js";
38
38
  import {
39
39
  parseTimelineDate
40
40
  } from "./chunk-GDJW64XE.js";
41
- import {
42
- CHAR_WIDTH_RATIO,
43
- wrapTextToWidth
44
- } from "./chunk-KAO7JL4I.js";
45
41
  import {
46
42
  UNTAGGED_TAG_COLOR,
47
43
  resolveActiveTagGroup,
48
44
  resolveTagColor
49
45
  } from "./chunk-L5AFONQU.js";
46
+ import {
47
+ CHAR_WIDTH_RATIO,
48
+ wrapTextToWidth
49
+ } from "./chunk-KAO7JL4I.js";
50
50
  import {
51
51
  contrastText,
52
52
  getSeriesColors,
53
53
  mix,
54
54
  shapeFill,
55
55
  themeBaseBg
56
- } from "./chunk-7HWY4QAJ.js";
56
+ } from "./chunk-L24LESXF.js";
57
57
  import {
58
58
  resolveColor
59
59
  } from "./chunk-2M4IGSCY.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  layoutERDiagram
3
- } from "./chunk-2A4DQAXG.js";
3
+ } from "./chunk-IIOLFAGJ.js";
4
4
  import {
5
5
  NOTE_BADGE_RADIUS,
6
6
  noteConnectorPoints,
7
7
  renderNoteBadge,
8
8
  renderNoteBox,
9
9
  renderNoteConnector
10
- } from "./chunk-HAH5X345.js";
10
+ } from "./chunk-KATED53P.js";
11
11
  import {
12
12
  ScaleContext
13
13
  } from "./chunk-24YPR5EH.js";
@@ -18,10 +18,10 @@ import {
18
18
  } from "./chunk-XCKNFFKM.js";
19
19
  import {
20
20
  layoutInlineHeader
21
- } from "./chunk-3DOQOXXI.js";
21
+ } from "./chunk-CNUN5GO6.js";
22
22
  import {
23
23
  serializeSvg
24
- } from "./chunk-LD2JSKU3.js";
24
+ } from "./chunk-OOCVGX4W.js";
25
25
  import {
26
26
  TITLE_FONT_SIZE,
27
27
  TITLE_FONT_WEIGHT,
@@ -29,19 +29,13 @@ import {
29
29
  } from "./chunk-VLC6WNRD.js";
30
30
  import {
31
31
  renderIntegratedLegend
32
- } from "./chunk-LHL6HDUL.js";
32
+ } from "./chunk-7SX4IY6T.js";
33
33
  import {
34
34
  getLegendExtent
35
- } from "./chunk-FM3WAVB6.js";
35
+ } from "./chunk-NS7L7YKH.js";
36
36
  import {
37
37
  FONT_FAMILY
38
38
  } from "./chunk-ICLB27PZ.js";
39
- import {
40
- LEGEND_HEIGHT
41
- } from "./chunk-RH2PROYG.js";
42
- import {
43
- measureText
44
- } from "./chunk-KAO7JL4I.js";
45
39
  import {
46
40
  parseERDiagram
47
41
  } from "./chunk-WPL5PFXE.js";
@@ -54,11 +48,17 @@ import {
54
48
  legendInlineRequested,
55
49
  legendSuppressed
56
50
  } from "./chunk-44GP7PD5.js";
51
+ import {
52
+ LEGEND_HEIGHT
53
+ } from "./chunk-I6GGMCTV.js";
54
+ import {
55
+ measureText
56
+ } from "./chunk-KAO7JL4I.js";
57
57
  import {
58
58
  contrastText,
59
59
  getSeriesColors,
60
60
  shapeFill
61
- } from "./chunk-7HWY4QAJ.js";
61
+ } from "./chunk-L24LESXF.js";
62
62
 
63
63
  // src/er/renderer.ts
64
64
  import * as d3Selection from "d3-selection";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mix
3
- } from "./chunk-7HWY4QAJ.js";
3
+ } from "./chunk-L24LESXF.js";
4
4
  import {
5
5
  resolveColor
6
6
  } from "./chunk-2M4IGSCY.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  buildSwatches
3
- } from "./chunk-ERNCPKD4.js";
3
+ } from "./chunk-G2KHLANR.js";
4
4
  import {
5
5
  layoutMap,
6
6
  mapLegendConfig,
7
7
  mapLegendGroups,
8
8
  parsePathRings
9
- } from "./chunk-BV6PKJUS.js";
9
+ } from "./chunk-LR6RRDWN.js";
10
10
  import {
11
11
  parseClock
12
12
  } from "./chunk-WP2RLGDI.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-VLC6WNRD.js";
25
25
  import {
26
26
  renderIntegratedLegend
27
- } from "./chunk-LHL6HDUL.js";
27
+ } from "./chunk-7SX4IY6T.js";
28
28
  import {
29
29
  FONT_FAMILY
30
30
  } from "./chunk-ICLB27PZ.js";
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  mix,
36
36
  themeBaseBg
37
- } from "./chunk-7HWY4QAJ.js";
37
+ } from "./chunk-L24LESXF.js";
38
38
 
39
39
  // src/map/renderer.ts
40
40
  import * as d3Selection from "d3-selection";
@@ -320,8 +320,9 @@ function drawMap(container, layout, resolved, palette, isDark, onClickItem, expo
320
320
  );
321
321
  }
322
322
  }
323
+ return p;
323
324
  };
324
- for (const r of layout.regions) drawRegion(gRegions, r, 0.5);
325
+ const regionPaths = layout.regions.map((r) => drawRegion(gRegions, r, 0.5));
325
326
  if (layout.relief.length && layout.reliefHatch) {
326
327
  const h = layout.reliefHatch;
327
328
  const rangeClipId = nid("dgmo-relief-clip");
@@ -329,8 +330,12 @@ function drawMap(container, layout, resolved, palette, isDark, onClickItem, expo
329
330
  const rangeClip = defs.append("clipPath").attr("id", rangeClipId);
330
331
  for (const s of layout.relief) rangeClip.append("path").attr("d", s.d);
331
332
  const landClip = defs.append("clipPath").attr("id", landClipId);
332
- for (const r of layout.regions)
333
- if (r.id !== "lake") landClip.append("path").attr("d", r.d);
333
+ layout.regions.forEach((r, i) => {
334
+ if (r.id === "lake") return;
335
+ const id = nid(`dgmo-map-region-${i}`);
336
+ regionPaths[i].attr("id", id);
337
+ landClip.append("use").attr("href", `#${id}`);
338
+ });
334
339
  const gRelief = svg.append("g").attr("clip-path", `url(#${landClipId})`).style("pointer-events", "none").append("g").attr("class", "dgmo-map-relief").attr("clip-path", `url(#${rangeClipId})`).attr("stroke", h.color).attr("stroke-width", h.width).attr("vector-effect", "non-scaling-stroke");
335
340
  for (let y = h.spacing; y < height; y += h.spacing) {
336
341
  gRelief.append("line").attr("x1", 0).attr("y1", y).attr("x2", width).attr("y2", y);
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  getSeriesColors,
15
15
  mix
16
- } from "./chunk-7HWY4QAJ.js";
16
+ } from "./chunk-L24LESXF.js";
17
17
  import {
18
18
  resolveColor
19
19
  } from "./chunk-2M4IGSCY.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-L5AFONQU.js";
5
5
  import {
6
6
  mix
7
- } from "./chunk-7HWY4QAJ.js";
7
+ } from "./chunk-L24LESXF.js";
8
8
  import {
9
9
  resolveColor
10
10
  } from "./chunk-2M4IGSCY.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KAO7JL4I.js";
5
5
  import {
6
6
  mix
7
- } from "./chunk-7HWY4QAJ.js";
7
+ } from "./chunk-L24LESXF.js";
8
8
 
9
9
  // src/utils/legend-constants.ts
10
10
  var LEGEND_HEIGHT = 28;
@@ -34,6 +34,7 @@ var CONTROLS_ICON_PATH = "M5.6 1.7L8.4 1.7L7.9 3.6L9.5 4.5L10.9 3.1L12.3 5.6L10.
34
34
  var LEGEND_TOGGLE_DOT_R = LEGEND_DOT_R;
35
35
  var LEGEND_TOGGLE_OFF_OPACITY = 0.4;
36
36
  var LEGEND_GEAR_PILL_W = 14 + LEGEND_PILL_PAD;
37
+ var LEGEND_PILL_TOGGLE_CLASS = "dgmo-legend-pill-toggle";
37
38
 
38
39
  export {
39
40
  LEGEND_HEIGHT,
@@ -57,5 +58,6 @@ export {
57
58
  CONTROLS_ICON_PATH,
58
59
  LEGEND_TOGGLE_DOT_R,
59
60
  LEGEND_TOGGLE_OFF_OPACITY,
60
- LEGEND_GEAR_PILL_W
61
+ LEGEND_GEAR_PILL_W,
62
+ LEGEND_PILL_TOGGLE_CLASS
61
63
  };
@@ -1,14 +1,14 @@
1
+ import {
2
+ fillModeFromOptions
3
+ } from "./chunk-44GP7PD5.js";
1
4
  import {
2
5
  measureText,
3
6
  wrapTextToWidth
4
7
  } from "./chunk-KAO7JL4I.js";
5
- import {
6
- fillModeFromOptions
7
- } from "./chunk-44GP7PD5.js";
8
8
  import {
9
9
  mix,
10
10
  shapeFill
11
- } from "./chunk-7HWY4QAJ.js";
11
+ } from "./chunk-L24LESXF.js";
12
12
 
13
13
  // src/journey-map/layout.ts
14
14
  var PADDING = 24;
@@ -5,6 +5,14 @@ import {
5
5
  META_LINE_HEIGHT,
6
6
  SEPARATOR_GAP
7
7
  } from "./chunk-XCKNFFKM.js";
8
+ import {
9
+ injectDefaultTagMetadata,
10
+ resolveTagColor,
11
+ tagAttrKey
12
+ } from "./chunk-L5AFONQU.js";
13
+ import {
14
+ legendSuppressed
15
+ } from "./chunk-44GP7PD5.js";
8
16
  import {
9
17
  LEGEND_CAPSULE_PAD,
10
18
  LEGEND_DOT_R,
@@ -18,18 +26,10 @@ import {
18
26
  LEGEND_PILL_FONT_SIZE,
19
27
  LEGEND_PILL_PAD,
20
28
  measureLegendText
21
- } from "./chunk-RH2PROYG.js";
29
+ } from "./chunk-I6GGMCTV.js";
22
30
  import {
23
31
  measureText
24
32
  } from "./chunk-KAO7JL4I.js";
25
- import {
26
- injectDefaultTagMetadata,
27
- resolveTagColor,
28
- tagAttrKey
29
- } from "./chunk-L5AFONQU.js";
30
- import {
31
- legendSuppressed
32
- } from "./chunk-44GP7PD5.js";
33
33
 
34
34
  // src/org/layout.ts
35
35
  import { hierarchy, tree } from "d3-hierarchy";