@diagrammo/dgmo 0.53.0 → 0.54.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 (199) hide show
  1. package/dist/advanced.d.ts +36 -0
  2. package/dist/advanced.js +159 -154
  3. package/dist/auto.js +142 -128
  4. package/dist/auto.mjs +775 -466
  5. package/dist/block.js +62 -60
  6. package/dist/chart-meta.js +50 -47
  7. package/dist/{charts-d3-DH2XA45I.js → charts-d3-25E4VWXO.js} +9 -8
  8. package/dist/chunk-2CW5ZTNH.js +58 -0
  9. package/dist/{chunk-PKNNHU7H.js → chunk-2NYXI35Z.js} +17 -10
  10. package/dist/{chunk-W5KMNC5U.js → chunk-2NZOHEP4.js} +9 -10
  11. package/dist/{chunk-6DCOIN4W.js → chunk-3FRO35WW.js} +768 -2
  12. package/dist/{chunk-6AUZPPAV.js → chunk-3KHJJP3J.js} +2 -2
  13. package/dist/{chunk-X3RXGSCZ.js → chunk-3SBHODJ4.js} +11 -11
  14. package/dist/{chunk-KUSAVOWZ.js → chunk-3SEEP2JM.js} +3 -3
  15. package/dist/{chunk-QWIBT6DS.js → chunk-47JNEKJA.js} +10 -10
  16. package/dist/{chunk-LHILKFDP.js → chunk-4T6OCSJ2.js} +9 -9
  17. package/dist/{chunk-XQ4KN6JQ.js → chunk-4ZIKWVSQ.js} +16 -15
  18. package/dist/{chunk-GMAH572Z.js → chunk-5VXU6MND.js} +2 -2
  19. package/dist/{chunk-HORZ5H2L.js → chunk-5XSNLXU5.js} +17 -17
  20. package/dist/{chunk-BFDVEO5R.js → chunk-62Y27T4C.js} +2 -2
  21. package/dist/{chunk-R5NH5BZG.js → chunk-6KL7TFLS.js} +6 -6
  22. package/dist/{chunk-UVDCHR4E.js → chunk-6OYDOQ2Q.js} +2 -2
  23. package/dist/{chunk-QI3BOLQB.js → chunk-7K6NDSXH.js} +4 -4
  24. package/dist/{chunk-27STWBOK.js → chunk-7SP4C6EV.js} +6 -8
  25. package/dist/{chunk-I46X5VUA.js → chunk-7TF3QOOD.js} +25 -1
  26. package/dist/{chunk-FGDSTT3F.js → chunk-7U4OR7CD.js} +2 -2
  27. package/dist/{chunk-VKNCC2GX.js → chunk-7UPFTBOW.js} +13 -13
  28. package/dist/{chunk-FT7TPPZ5.js → chunk-A3BDLDYG.js} +12 -12
  29. package/dist/{chunk-AZNXGWDC.js → chunk-ADCHLNWT.js} +7 -7
  30. package/dist/{chunk-CMVZWP32.js → chunk-AHTTKERF.js} +2 -2
  31. package/dist/{chunk-GAWKIIPO.js → chunk-AJFHNS67.js} +7 -7
  32. package/dist/{chunk-Q7AH665U.js → chunk-AQEYUVGJ.js} +111 -35
  33. package/dist/{chunk-BR7AYN76.js → chunk-B7N5KYXQ.js} +12 -12
  34. package/dist/chunk-BEOAKGNA.js +484 -0
  35. package/dist/{chunk-GABSL6TH.js → chunk-BM7MG6HT.js} +3 -3
  36. package/dist/{chunk-UKP5HWB5.js → chunk-BWYFIVZF.js} +4 -4
  37. package/dist/{chunk-7GUF6SDR.js → chunk-BZJIITYM.js} +9 -9
  38. package/dist/{chunk-RW5PEJ7D.js → chunk-C2UORMIA.js} +3 -3
  39. package/dist/{chunk-FXCB7H5O.js → chunk-CCGWX6AO.js} +2 -2
  40. package/dist/{chunk-AHXIMHDQ.js → chunk-COJW2NEY.js} +9 -9
  41. package/dist/{chunk-XY3UDKKH.js → chunk-COVYNAKJ.js} +4 -4
  42. package/dist/{chunk-GQ644SPD.js → chunk-CSHFU6LT.js} +14 -14
  43. package/dist/{chunk-JTMSWEIW.js → chunk-DLU643TF.js} +4 -4
  44. package/dist/{chunk-QAALSCKI.js → chunk-DPGQ5UMO.js} +12 -12
  45. package/dist/{chunk-I64ECJX3.js → chunk-EAI6XJ7D.js} +3 -3
  46. package/dist/{chunk-DWUMPMV2.js → chunk-EPRF3ZRV.js} +2 -2
  47. package/dist/{chunk-AIMLCDAO.js → chunk-EQOMY4PY.js} +2 -2
  48. package/dist/{chunk-XEAQDIMF.js → chunk-F7XM366V.js} +6 -6
  49. package/dist/{chunk-SG4PRYO3.js → chunk-FFVFZLRT.js} +49 -18
  50. package/dist/{chunk-LC3FFD43.js → chunk-FR6UFVSV.js} +12 -12
  51. package/dist/{chunk-6HTRCTAS.js → chunk-FVMKCZHF.js} +6 -4
  52. package/dist/{chunk-FUKNRLIJ.js → chunk-GK32ZFZY.js} +6 -6
  53. package/dist/{chunk-6KY7OCZC.js → chunk-GKYHWJXI.js} +3 -3
  54. package/dist/{chunk-NNYFQOTK.js → chunk-GQ5ECRP4.js} +10 -8
  55. package/dist/{chunk-PT4SW76W.js → chunk-HAA25PLC.js} +9 -9
  56. package/dist/{chunk-J7HI6G3G.js → chunk-HFEOOQ46.js} +6 -6
  57. package/dist/{chunk-KKHCNSKK.js → chunk-I47VHSPS.js} +5 -5
  58. package/dist/{chunk-YG2BEIQU.js → chunk-ICKXIMBA.js} +11 -11
  59. package/dist/{chunk-A44USUV7.js → chunk-ICZ7M6IZ.js} +23 -17
  60. package/dist/{chunk-HE5J53SZ.js → chunk-IOIMQHQ6.js} +3 -3
  61. package/dist/{chunk-3BEKKRH5.js → chunk-IYNKLCAZ.js} +8 -8
  62. package/dist/{chunk-774C2FF3.js → chunk-J7HQPVYH.js} +2 -2
  63. package/dist/{chunk-UFQJMOVZ.js → chunk-KBVOVDYP.js} +6 -6
  64. package/dist/{chunk-JHOAH4TI.js → chunk-KDK5EKUR.js} +2 -2
  65. package/dist/{chunk-VIRANCNY.js → chunk-KINOX74I.js} +14 -14
  66. package/dist/{chunk-VJHBSPGF.js → chunk-KQ3FNRGR.js} +3 -3
  67. package/dist/{chunk-U7NKYLX2.js → chunk-KQYQECWQ.js} +13 -13
  68. package/dist/{chunk-GMIJ35PW.js → chunk-KS5ZSM5T.js} +13 -13
  69. package/dist/{chunk-FLDC7ZAK.js → chunk-KV4HLIJE.js} +2 -2
  70. package/dist/{chunk-PYO4TJJ3.js → chunk-LPJ6H5X4.js} +11 -11
  71. package/dist/{chunk-LQHVDZYC.js → chunk-LRSW4JLE.js} +4 -4
  72. package/dist/{chunk-VRRDUYOK.js → chunk-M24VXUFG.js} +3 -3
  73. package/dist/{chunk-22OQWBWD.js → chunk-M3H7ZE6C.js} +10 -10
  74. package/dist/{chunk-MA3HJZHB.js → chunk-MTZOXISJ.js} +7 -7
  75. package/dist/{chunk-GWQJKTFS.js → chunk-N7BSBAVP.js} +94 -94
  76. package/dist/{chunk-65V6IRFN.js → chunk-NUTWTV6G.js} +10 -10
  77. package/dist/{chunk-HNBY6CNV.js → chunk-O576GYAP.js} +2 -2
  78. package/dist/{chunk-3CZLWOCI.js → chunk-OJ435DQZ.js} +3 -3
  79. package/dist/{chunk-BD3WGY4T.js → chunk-OR3R27CU.js} +2 -2
  80. package/dist/{chunk-2QC4HXCY.js → chunk-OSXQKC3S.js} +8 -10
  81. package/dist/{chunk-4RGZFA7H.js → chunk-Q5IHQ4NW.js} +11 -1
  82. package/dist/{chunk-ALYZ3MAA.js → chunk-QBYP2FBZ.js} +8 -476
  83. package/dist/{chunk-4ASVFYB2.js → chunk-R5BGGBFF.js} +5 -5
  84. package/dist/{chunk-YR43LJT5.js → chunk-RIEAN4D5.js} +15 -12
  85. package/dist/{chunk-P3H7QVDH.js → chunk-RRGKMJYL.js} +6 -6
  86. package/dist/{chunk-XG4NWFPY.js → chunk-S7FOIURR.js} +13 -13
  87. package/dist/{chunk-NNUMX6WX.js → chunk-S7YFT3PO.js} +40 -15
  88. package/dist/{chunk-SQCBSFT5.js → chunk-SBOAZ7YK.js} +51 -263
  89. package/dist/{chunk-VGNIDAPQ.js → chunk-SSHS42QG.js} +4 -4
  90. package/dist/{chunk-SGPFVDUL.js → chunk-T3FAJAJT.js} +6 -6
  91. package/dist/{chunk-AN2DQB3G.js → chunk-T7Y554OK.js} +12 -12
  92. package/dist/chunk-TGOMHUOV.js +218 -0
  93. package/dist/{chunk-W2DINCHL.js → chunk-TJN2OIVG.js} +31 -16
  94. package/dist/{chunk-CK2GMDXD.js → chunk-TLNVYWPA.js} +2 -2
  95. package/dist/{chunk-CQFNIIQN.js → chunk-U4IN6AHE.js} +2 -2
  96. package/dist/{chunk-HOXKNRON.js → chunk-UEU6IYKY.js} +2 -2
  97. package/dist/{chunk-UK6DKJLD.js → chunk-UIT7E6UF.js} +4 -4
  98. package/dist/{chunk-IQJCVREL.js → chunk-VMSBMIHW.js} +6 -6
  99. package/dist/{chunk-FFXCKZOU.js → chunk-VQFDBNYF.js} +3 -3
  100. package/dist/{chunk-PV2QO7QL.js → chunk-W6PCFRPL.js} +2 -2
  101. package/dist/{chunk-UQRIKAMH.js → chunk-WKNAJ4BR.js} +13 -13
  102. package/dist/{chunk-4WGMGKCZ.js → chunk-WW4BQ744.js} +11 -11
  103. package/dist/{chunk-ZXUAPTCK.js → chunk-WWHECSYZ.js} +2 -2
  104. package/dist/{chunk-4K42RUGC.js → chunk-XWODFBHJ.js} +43 -12
  105. package/dist/{chunk-VAO6ANGC.js → chunk-YENNFS5F.js} +9 -9
  106. package/dist/cli.cjs +160 -146
  107. package/dist/completion-registry.d.ts +129 -0
  108. package/dist/completion-registry.js +1270 -0
  109. package/dist/{compute-G55RG53N.js → compute-JAP5E2E4.js} +2 -2
  110. package/dist/dgmo-router-TGZWFIZO.js +88 -0
  111. package/dist/{dimensions-K6PGYYGT.js → dimensions-L6BXQXXL.js} +8 -8
  112. package/dist/editor.js +18 -0
  113. package/dist/element.js +142 -128
  114. package/dist/element.mjs +775 -466
  115. package/dist/{flowchart-parser-LALR6J6F.js → flowchart-parser-UKYOW3VM.js} +5 -5
  116. package/dist/{flowchart-renderer-DXYB5YRF.js → flowchart-renderer-DCFKUDDR.js} +9 -9
  117. package/dist/highlight.js +18 -0
  118. package/dist/index.js +65 -62
  119. package/dist/{layout-WCAIKGZG.js → layout-25Y3VDYF.js} +5 -5
  120. package/dist/layout-4SPLI4HG.js +15 -0
  121. package/dist/{layout-E6HR6PXH.js → layout-A6OIGZN2.js} +3 -3
  122. package/dist/{layout-3BVDMKXI.js → layout-CH4HFFRD.js} +4 -4
  123. package/dist/{layout-ZE5DRJWX.js → layout-G2ABQJQZ.js} +4 -4
  124. package/dist/{layout-3V2A4MUE.js → layout-ITLPDG6M.js} +6 -5
  125. package/dist/{layout-WSMPBQ4Q.js → layout-NF4EWFLT.js} +3 -3
  126. package/dist/layout-NY7MHJCL.js +15 -0
  127. package/dist/{layout-4IHCMWZN.js → layout-QBNAMEOA.js} +4 -4
  128. package/dist/{layout-OL2XFJXA.js → layout-SP7HJWKA.js} +3 -3
  129. package/dist/{layout-search-34DPZD43.js → layout-search-LUI475P3.js} +9 -4
  130. package/dist/{legend-constants-P5EQWRQQ.js → legend-constants-B77VKB3R.js} +7 -2
  131. package/dist/{parser-5QPFOB5F.js → parser-2UWWNTFL.js} +4 -4
  132. package/dist/{parser-CKA3QMAG.js → parser-3RXYQSA7.js} +5 -5
  133. package/dist/{parser-GKP2MHHL.js → parser-5C3PEZK3.js} +3 -3
  134. package/dist/{parser-275KP7JO.js → parser-66RYGJRB.js} +5 -6
  135. package/dist/{parser-7JHWEWXM.js → parser-6GN5YJBJ.js} +4 -4
  136. package/dist/{parser-XVPTRWZ4.js → parser-6MQM7WT3.js} +4 -4
  137. package/dist/{parser-7JVIDLLR.js → parser-7UI6UQ7B.js} +4 -4
  138. package/dist/{parser-5HQXCNOS.js → parser-B2A7XOAK.js} +3 -3
  139. package/dist/{parser-UWRX52PC.js → parser-CCNJKDDA.js} +4 -4
  140. package/dist/{parser-CRKLXGW7.js → parser-ESHNUFME.js} +4 -4
  141. package/dist/{parser-EXNBDNGY.js → parser-F4FEU57T.js} +3 -3
  142. package/dist/{parser-IVGHXLZP.js → parser-FHRMFUNX.js} +4 -3
  143. package/dist/{parser-XNKJCMMA.js → parser-FPCWDYQV.js} +4 -4
  144. package/dist/{parser-ZQDQTB4X.js → parser-FY3YFFBS.js} +5 -5
  145. package/dist/{parser-VOERD6XR.js → parser-GML6V2KZ.js} +4 -4
  146. package/dist/{parser-3CODK6RG.js → parser-HA3PF5FL.js} +4 -4
  147. package/dist/{parser-GN2MM5CC.js → parser-KTYF6WO5.js} +3 -3
  148. package/dist/{parser-ZGNXYFPS.js → parser-LTA2BOZO.js} +3 -3
  149. package/dist/{parser-FOOFEJQU.js → parser-LU7UAKNB.js} +4 -4
  150. package/dist/{parser-NNIL3HXU.js → parser-MHKYQPC2.js} +3 -3
  151. package/dist/{parser-IKWK2ZU3.js → parser-MVSYFK63.js} +4 -5
  152. package/dist/{parser-3VSWEKBF.js → parser-O7YQYFEN.js} +4 -4
  153. package/dist/{parser-YSLNDFLV.js → parser-OPIXXUY4.js} +4 -5
  154. package/dist/{parser-RNLTBIJ6.js → parser-S4EJPNVN.js} +4 -4
  155. package/dist/{parser-G26MTBFS.js → parser-T3D7BV6O.js} +3 -3
  156. package/dist/{parser-3KIGEEJM.js → parser-VVE4THG3.js} +4 -4
  157. package/dist/{parser-5FGJSQNS.js → parser-WPPJGB4R.js} +4 -4
  158. package/dist/{parser-27Z76SN3.js → parser-X5XLFY4Z.js} +4 -4
  159. package/dist/{parser-6B6SSZT7.js → parser-XCPMEB2Z.js} +3 -3
  160. package/dist/{parser-6PPHAXXH.js → parser-XRDUX2AR.js} +5 -5
  161. package/dist/{parser-FF4BMRSB.js → parser-YPWYT46P.js} +4 -4
  162. package/dist/{parser-4E4I3GNT.js → parser-YULS5MLD.js} +4 -4
  163. package/dist/{renderer-ZBTEX2JK.js → renderer-2DME63VZ.js} +4 -4
  164. package/dist/{renderer-RLMOTXZ6.js → renderer-3VY3VXJE.js} +13 -13
  165. package/dist/{renderer-6WRYVM5R.js → renderer-4A32DX5L.js} +8 -8
  166. package/dist/{renderer-UPF7NRTI.js → renderer-4K5YYX5R.js} +11 -11
  167. package/dist/{renderer-HIFQVEJA.js → renderer-6CFML5G3.js} +9 -9
  168. package/dist/{renderer-7NQSTQMQ.js → renderer-7HMZ5OCJ.js} +4 -4
  169. package/dist/{renderer-NE5W7CQP.js → renderer-B7Y6I7JX.js} +6 -5
  170. package/dist/{renderer-LVZAHRP6.js → renderer-C3RI4OPJ.js} +11 -12
  171. package/dist/{renderer-COLQFSFV.js → renderer-CJ56SUMF.js} +9 -9
  172. package/dist/{renderer-WFSUBKUL.js → renderer-COJZZ4F6.js} +8 -8
  173. package/dist/{renderer-SQ54MDSA.js → renderer-FXMGCSRP.js} +9 -9
  174. package/dist/{renderer-TYHGXAVT.js → renderer-G4UOW3RH.js} +4 -4
  175. package/dist/{renderer-YUXGXGSW.js → renderer-HQ4JFZOV.js} +9 -9
  176. package/dist/{renderer-JTCX6PCG.js → renderer-LHVCKEWF.js} +9 -9
  177. package/dist/{renderer-WNFXYYGL.js → renderer-OZX5KGQM.js} +8 -8
  178. package/dist/{renderer-CWEFGEIC.js → renderer-P3YQES7B.js} +13 -13
  179. package/dist/{renderer-UKXW2QPE.js → renderer-PLVIARM7.js} +9 -8
  180. package/dist/{renderer-5MPN7CXZ.js → renderer-RA4PTAMF.js} +5 -5
  181. package/dist/{renderer-JCZG6AYU.js → renderer-RMAM2SOJ.js} +10 -10
  182. package/dist/{renderer-JWGQSTMR.js → renderer-SES7QZYL.js} +14 -14
  183. package/dist/{renderer-KARQF3F3.js → renderer-TQ5QDZOE.js} +8 -8
  184. package/dist/{renderer-6EN5XXJZ.js → renderer-V5SNTPAM.js} +10 -10
  185. package/dist/{renderer-QD2SJF2I.js → renderer-WVD6G2TS.js} +9 -9
  186. package/dist/{renderer-AK2WO4EI.js → renderer-X2LYSMLU.js} +4 -4
  187. package/dist/{renderer-VMH6L6CP.js → renderer-Y3NXZINM.js} +8 -8
  188. package/dist/{renderer-XTXSOK3L.js → renderer-YEFOOULC.js} +10 -10
  189. package/dist/{renderer-YUKPS27O.js → renderer-YP3P6UVT.js} +8 -8
  190. package/dist/{renderer-D3BRNOMV.js → renderer-YVMETH6V.js} +11 -11
  191. package/dist/{renderer-2C6DJRYN.js → renderer-Z4GNKNXO.js} +8 -8
  192. package/dist/{renderer-radial-WF6VOUOD.js → renderer-radial-VYBZAXXE.js} +9 -9
  193. package/dist/{state-parser-L7DHZIQO.js → state-parser-VIW2WNA5.js} +5 -5
  194. package/dist/{state-renderer-TFEUOP4H.js → state-renderer-H22AQD3U.js} +12 -12
  195. package/package.json +5 -1
  196. package/dist/chunk-YJVA3QUU.js +0 -734
  197. package/dist/dgmo-router-B4S23EBH.js +0 -86
  198. package/dist/layout-3M5UYJHY.js +0 -14
  199. package/dist/layout-KPQWJNAG.js +0 -14
@@ -8,6 +8,9 @@ import {
8
8
  parseDateToken,
9
9
  toInternal
10
10
  } from "./chunk-DAOFNU6J.js";
11
+ import {
12
+ normalizeName
13
+ } from "./chunk-NOTA6TEI.js";
11
14
  import {
12
15
  AUTO_TAG_COLOR_SENTINEL,
13
16
  finalizeAutoTagColors,
@@ -17,10 +20,7 @@ import {
17
20
  tagAttrKey,
18
21
  validateTagGroupNames,
19
22
  validateTagValues
20
- } from "./chunk-CMVZWP32.js";
21
- import {
22
- normalizeName
23
- } from "./chunk-NOTA6TEI.js";
23
+ } from "./chunk-AHTTKERF.js";
24
24
  import {
25
25
  PERT_REGISTRY,
26
26
  extractColor,
@@ -29,7 +29,7 @@ import {
29
29
  splitNameAndMeta,
30
30
  warnUnknownMetaKeys,
31
31
  withTagAliases
32
- } from "./chunk-YJVA3QUU.js";
32
+ } from "./chunk-3FRO35WW.js";
33
33
  import {
34
34
  emit,
35
35
  makeDgmoError,
@@ -1251,4 +1251,4 @@ export {
1251
1251
  extractPertSymbols,
1252
1252
  looksLikePert
1253
1253
  };
1254
- //# sourceMappingURL=chunk-P3H7QVDH.js.map
1254
+ //# sourceMappingURL=chunk-RRGKMJYL.js.map
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-YYVTBZZC.js";
10
10
  import {
11
11
  renderIntegratedLegend
12
- } from "./chunk-W5KMNC5U.js";
12
+ } from "./chunk-2NZOHEP4.js";
13
13
  import {
14
14
  getMaxLegendReservedHeight
15
- } from "./chunk-774C2FF3.js";
15
+ } from "./chunk-J7HQPVYH.js";
16
16
  import {
17
17
  TITLE_FONT_SIZE,
18
18
  TITLE_FONT_WEIGHT
@@ -22,27 +22,27 @@ import {
22
22
  } from "./chunk-6KFWC4CO.js";
23
23
  import {
24
24
  parseKanban
25
- } from "./chunk-FUKNRLIJ.js";
26
- import {
27
- contrastText,
28
- mix,
29
- shapeFill,
30
- themeBaseBg
31
- } from "./chunk-JYDMBWRP.js";
25
+ } from "./chunk-GK32ZFZY.js";
32
26
  import {
33
27
  LEGEND_HEIGHT,
34
28
  measureLegendText
35
- } from "./chunk-4RGZFA7H.js";
29
+ } from "./chunk-Q5IHQ4NW.js";
36
30
  import {
37
31
  measureText
38
32
  } from "./chunk-4ASYQ347.js";
33
+ import {
34
+ contrastText,
35
+ mix,
36
+ shapeFill,
37
+ themeBaseBg
38
+ } from "./chunk-JYDMBWRP.js";
39
39
  import {
40
40
  tagAttrKey
41
- } from "./chunk-CMVZWP32.js";
41
+ } from "./chunk-AHTTKERF.js";
42
42
  import {
43
43
  fillModeFromOptions,
44
44
  legendSuppressed
45
- } from "./chunk-YJVA3QUU.js";
45
+ } from "./chunk-3FRO35WW.js";
46
46
 
47
47
  // src/kanban/renderer.ts
48
48
  import * as d3Selection from "d3-selection";
@@ -893,4 +893,4 @@ export {
893
893
  renderKanban,
894
894
  renderKanbanForExport
895
895
  };
896
- //# sourceMappingURL=chunk-XG4NWFPY.js.map
896
+ //# sourceMappingURL=chunk-S7FOIURR.js.map
@@ -1,20 +1,9 @@
1
1
  import {
2
- INFRA_BEHAVIOR_KEY_SET,
3
- INFRA_EDGE_ONLY_KEY_SET,
4
- INFRA_TOP_LEVEL_OPTION_SET
5
- } from "./chunk-6DCOIN4W.js";
2
+ GRAPH_DX
3
+ } from "./chunk-7TF3QOOD.js";
6
4
  import {
7
5
  tryStripDescriptionKeyword
8
6
  } from "./chunk-IYULMRBE.js";
9
- import {
10
- matchTagBlockHeading,
11
- stripDefaultModifier,
12
- tagAttrKey,
13
- validateTagGroupNames
14
- } from "./chunk-CMVZWP32.js";
15
- import {
16
- GRAPH_DX
17
- } from "./chunk-I46X5VUA.js";
18
7
  import {
19
8
  parseInArrowLabel
20
9
  } from "./chunk-WF64MW5G.js";
@@ -23,14 +12,23 @@ import {
23
12
  normalizeName
24
13
  } from "./chunk-NOTA6TEI.js";
25
14
  import {
15
+ matchTagBlockHeading,
16
+ stripDefaultModifier,
17
+ tagAttrKey,
18
+ validateTagGroupNames
19
+ } from "./chunk-AHTTKERF.js";
20
+ import {
21
+ INFRA_BEHAVIOR_KEY_SET,
22
+ INFRA_EDGE_ONLY_KEY_SET,
26
23
  INFRA_REGISTRY,
24
+ INFRA_TOP_LEVEL_OPTION_SET,
27
25
  OPTION_NOCOLON_RE,
28
26
  measureIndent,
29
27
  parseFirstLine,
30
28
  tryParseSharedOption,
31
29
  warnUnknownMetaKeys,
32
30
  withTagAliases
33
- } from "./chunk-YJVA3QUU.js";
31
+ } from "./chunk-3FRO35WW.js";
34
32
  import {
35
33
  isRecognizedColorName
36
34
  } from "./chunk-ZKPPI6BF.js";
@@ -801,8 +799,35 @@ function parseInfra(content) {
801
799
  }
802
800
  validateTagGroupNames(result.tagGroups, warn, setError);
803
801
  checkReachability(result);
802
+ checkSplitSums(result);
804
803
  return result;
805
804
  }
805
+ function checkSplitSums(result) {
806
+ const outbound = /* @__PURE__ */ new Map();
807
+ for (const edge of result.edges) {
808
+ if (edge.async) continue;
809
+ const list = outbound.get(edge.sourceId) ?? [];
810
+ list.push(edge);
811
+ outbound.set(edge.sourceId, list);
812
+ }
813
+ for (const [sourceId, edges] of outbound) {
814
+ if (edges.length <= 1) continue;
815
+ const declared = edges.filter((e) => e.split !== null);
816
+ if (declared.length === 0) continue;
817
+ const sum = declared.reduce((s, e) => s + (e.split ?? 0), 0);
818
+ const allDeclared = declared.length === edges.length;
819
+ if (allDeclared ? Math.abs(sum - 100) > 0.01 : sum > 100) {
820
+ const label = result.nodes.find((n) => n.id === sourceId)?.label ?? sourceId;
821
+ result.diagnostics.push(
822
+ // In-bounds: declared.length > 0 here.
823
+ emit(GRAPH_DX.INFRA_SPLIT_SUM, declared[0].lineNumber, {
824
+ label,
825
+ sum: String(Number(sum.toFixed(2)))
826
+ })
827
+ );
828
+ }
829
+ }
830
+ }
806
831
  function checkReachability(result) {
807
832
  if (result.nodes.length === 0) return;
808
833
  const entries = result.nodes.filter((n) => n.isEdge);
@@ -920,4 +945,4 @@ export {
920
945
  parseInfra,
921
946
  extractSymbols
922
947
  };
923
- //# sourceMappingURL=chunk-NNUMX6WX.js.map
948
+ //# sourceMappingURL=chunk-S7YFT3PO.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ parseBody
3
+ } from "./chunk-VQFDBNYF.js";
1
4
  import {
2
5
  EXTENDED_CHART_DOORS,
3
6
  parseChart,
@@ -6,110 +9,111 @@ import {
6
9
  parseHeatmap,
7
10
  parseSankey,
8
11
  parseScatter
9
- } from "./chunk-Q7AH665U.js";
12
+ } from "./chunk-AQEYUVGJ.js";
13
+ import {
14
+ parseRing
15
+ } from "./chunk-W6PCFRPL.js";
10
16
  import {
11
17
  parseTreemap
12
- } from "./chunk-4K42RUGC.js";
18
+ } from "./chunk-XWODFBHJ.js";
13
19
  import {
14
20
  parseBlock
15
- } from "./chunk-KUSAVOWZ.js";
21
+ } from "./chunk-3SEEP2JM.js";
16
22
  import {
17
23
  parseGoal
18
- } from "./chunk-6HTRCTAS.js";
24
+ } from "./chunk-FVMKCZHF.js";
19
25
  import {
20
26
  parseCountdown
21
- } from "./chunk-DWUMPMV2.js";
27
+ } from "./chunk-EPRF3ZRV.js";
22
28
  import {
23
29
  parseClock
24
- } from "./chunk-FLDC7ZAK.js";
30
+ } from "./chunk-KV4HLIJE.js";
25
31
  import {
26
32
  parseBracket
27
- } from "./chunk-RW5PEJ7D.js";
33
+ } from "./chunk-C2UORMIA.js";
28
34
  import {
29
35
  allTasks,
30
36
  parseRaci
31
- } from "./chunk-ALYZ3MAA.js";
37
+ } from "./chunk-QBYP2FBZ.js";
32
38
  import {
33
- parseBody
34
- } from "./chunk-FFXCKZOU.js";
39
+ parseSwimlane
40
+ } from "./chunk-EAI6XJ7D.js";
35
41
  import {
36
42
  parseFamily
37
- } from "./chunk-MA3HJZHB.js";
43
+ } from "./chunk-MTZOXISJ.js";
38
44
  import {
39
45
  parseMindmap
40
- } from "./chunk-3CZLWOCI.js";
41
- import {
42
- parseWireframe
43
- } from "./chunk-GABSL6TH.js";
46
+ } from "./chunk-OJ435DQZ.js";
44
47
  import {
45
48
  parseTechRadar
46
- } from "./chunk-CK2GMDXD.js";
49
+ } from "./chunk-TLNVYWPA.js";
47
50
  import {
48
51
  parseCycle
49
- } from "./chunk-HNBY6CNV.js";
52
+ } from "./chunk-O576GYAP.js";
50
53
  import {
51
54
  parseJourneyMap
52
- } from "./chunk-VJHBSPGF.js";
55
+ } from "./chunk-KQ3FNRGR.js";
53
56
  import {
54
57
  parsePyramid
55
- } from "./chunk-JHOAH4TI.js";
58
+ } from "./chunk-KDK5EKUR.js";
56
59
  import {
57
- parseRing
58
- } from "./chunk-PV2QO7QL.js";
60
+ parseVersionControl
61
+ } from "./chunk-CCGWX6AO.js";
59
62
  import {
60
63
  parseKanban
61
- } from "./chunk-FUKNRLIJ.js";
64
+ } from "./chunk-GK32ZFZY.js";
62
65
  import {
63
66
  parseC4
64
- } from "./chunk-PKNNHU7H.js";
67
+ } from "./chunk-2NYXI35Z.js";
65
68
  import {
66
69
  parseInfra
67
- } from "./chunk-NNUMX6WX.js";
70
+ } from "./chunk-S7YFT3PO.js";
68
71
  import {
69
72
  parseGantt
70
- } from "./chunk-2QC4HXCY.js";
73
+ } from "./chunk-OSXQKC3S.js";
71
74
  import {
72
75
  parseMap
73
- } from "./chunk-27STWBOK.js";
76
+ } from "./chunk-7SP4C6EV.js";
74
77
  import {
75
78
  parseBoxesAndLines
76
- } from "./chunk-VKNCC2GX.js";
79
+ } from "./chunk-7UPFTBOW.js";
77
80
  import {
78
81
  parseSketch
79
- } from "./chunk-VAO6ANGC.js";
82
+ } from "./chunk-YENNFS5F.js";
80
83
  import {
81
- parseSwimlane
82
- } from "./chunk-I64ECJX3.js";
84
+ looksLikeFlowchart,
85
+ parseFlowchart
86
+ } from "./chunk-DLU643TF.js";
83
87
  import {
84
88
  looksLikeState,
85
89
  parseState
86
- } from "./chunk-AN2DQB3G.js";
90
+ } from "./chunk-T7Y554OK.js";
87
91
  import {
88
92
  looksLikeClassDiagram,
89
93
  parseClassDiagram
90
- } from "./chunk-VRRDUYOK.js";
94
+ } from "./chunk-M24VXUFG.js";
91
95
  import {
92
96
  looksLikeERDiagram,
93
97
  parseERDiagram
94
- } from "./chunk-BR7AYN76.js";
98
+ } from "./chunk-B7N5KYXQ.js";
95
99
  import {
96
100
  looksLikeOrg,
97
101
  parseOrg
98
- } from "./chunk-SGPFVDUL.js";
102
+ } from "./chunk-T3FAJAJT.js";
99
103
  import {
100
104
  looksLikeSitemap,
101
105
  parseSitemap
102
- } from "./chunk-XEAQDIMF.js";
106
+ } from "./chunk-F7XM366V.js";
103
107
  import {
104
108
  looksLikePert,
105
109
  parsePert
106
- } from "./chunk-P3H7QVDH.js";
110
+ } from "./chunk-RRGKMJYL.js";
107
111
  import {
108
112
  parseEventLine
109
- } from "./chunk-UK6DKJLD.js";
113
+ } from "./chunk-UIT7E6UF.js";
110
114
  import {
111
115
  parseTimelineEventLine
112
- } from "./chunk-6AUZPPAV.js";
116
+ } from "./chunk-3KHJJP3J.js";
113
117
  import {
114
118
  makeYearContext,
115
119
  parseDateToken,
@@ -117,23 +121,22 @@ import {
117
121
  toInternal
118
122
  } from "./chunk-DAOFNU6J.js";
119
123
  import {
120
- parseVersionControl
121
- } from "./chunk-FXCB7H5O.js";
124
+ chartTypes
125
+ } from "./chunk-TGOMHUOV.js";
126
+ import {
127
+ parseWireframe
128
+ } from "./chunk-BM7MG6HT.js";
122
129
  import {
123
130
  looksLikeSequence,
124
131
  parseSequenceDgmo
125
- } from "./chunk-22OQWBWD.js";
132
+ } from "./chunk-M3H7ZE6C.js";
126
133
  import {
127
134
  matchTagBlockHeading,
128
135
  stripDefaultModifier,
129
136
  tagAttrKey,
130
137
  validateTagGroupNames,
131
138
  validateTagValues
132
- } from "./chunk-CMVZWP32.js";
133
- import {
134
- looksLikeFlowchart,
135
- parseFlowchart
136
- } from "./chunk-JTMSWEIW.js";
139
+ } from "./chunk-AHTTKERF.js";
137
140
  import {
138
141
  TIMELINE_REGISTRY,
139
142
  collectIndentedValues,
@@ -145,7 +148,7 @@ import {
145
148
  peelTrailingColorName,
146
149
  splitNameAndMeta,
147
150
  withTagAliases
148
- } from "./chunk-YJVA3QUU.js";
151
+ } from "./chunk-3FRO35WW.js";
149
152
  import {
150
153
  resolveColorWithDiagnostic
151
154
  } from "./chunk-ZKPPI6BF.js";
@@ -1412,220 +1415,6 @@ function tokenizeFreeformText(text) {
1412
1415
  return Array.from(counts.entries()).map(([text2, count]) => ({ text: text2, weight: count, lineNumber: 0 })).sort((a, b) => b.weight - a.weight);
1413
1416
  }
1414
1417
 
1415
- // src/chart-types.ts
1416
- var chartTypes = [
1417
- // ── Tier 1 — Narrative / architecture diagrams ────────────
1418
- {
1419
- id: "journey-map",
1420
- description: "User experience flow with emotion scores, phases, and annotations"
1421
- },
1422
- {
1423
- id: "c4",
1424
- description: "System architecture (context, container, component, deployment)"
1425
- },
1426
- {
1427
- id: "er",
1428
- description: "Database schemas and relationships"
1429
- },
1430
- {
1431
- id: "class",
1432
- description: "UML class hierarchies"
1433
- },
1434
- {
1435
- id: "sequence",
1436
- description: "Message request and response interaction flows",
1437
- fallback: true
1438
- },
1439
- {
1440
- id: "state",
1441
- description: "State machine / lifecycle transitions"
1442
- },
1443
- {
1444
- id: "infra",
1445
- description: "Infrastructure traffic flow with RPS computation"
1446
- },
1447
- {
1448
- id: "gantt",
1449
- description: "Project scheduling with task dependencies and milestones"
1450
- },
1451
- {
1452
- id: "pert",
1453
- description: "Project network with three-point estimates, critical path, and uncertainty (Beta-PERT, Monte Carlo)"
1454
- },
1455
- {
1456
- id: "swimlane",
1457
- description: "Cross-functional process flow with lanes, phases and gateways (BPMN-style)"
1458
- },
1459
- {
1460
- id: "version-control",
1461
- description: "Git / version-control branch-and-merge graph: commits, branches, merges, rebase, HEAD and remote-tracking (gitGraph-style)"
1462
- },
1463
- // ── Tier 2 — Specialized structural diagrams ──────────────
1464
- {
1465
- id: "timeline",
1466
- description: "Events, eras, and date ranges"
1467
- },
1468
- {
1469
- id: "event-line",
1470
- description: "Annotated narrative timeline \u2014 events on a horizontal line with descriptions (not the date-scaled timeline)"
1471
- },
1472
- {
1473
- id: "body",
1474
- description: "Human anatomy figure annotated by muscle/bone/joint name \u2014 for medical, exercise, and educational diagrams"
1475
- },
1476
- {
1477
- id: "org",
1478
- description: "Reporting hierarchy"
1479
- },
1480
- {
1481
- id: "family",
1482
- description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata"
1483
- },
1484
- {
1485
- id: "sitemap",
1486
- description: "Site / app navigation structure"
1487
- },
1488
- {
1489
- id: "bracket",
1490
- description: "Single-elimination tournament bracket: winners auto-advance up a tree; seed the field for a day-0 skeleton or list results for a casual bracket, with two sides mirroring inward to a championship"
1491
- },
1492
- {
1493
- id: "kanban",
1494
- description: "Task board columns"
1495
- },
1496
- {
1497
- id: "raci",
1498
- description: "Tasks \xD7 roles responsibility matrix with constraint linting"
1499
- },
1500
- {
1501
- id: "tech-radar",
1502
- description: "Technology adoption quadrants (adopt/trial/assess/hold)"
1503
- },
1504
- {
1505
- id: "mindmap",
1506
- description: "Radial hierarchy of ideas branching from a central topic"
1507
- },
1508
- {
1509
- id: "wireframe",
1510
- description: "Low-fidelity UI layout with panels, controls, and annotations"
1511
- },
1512
- {
1513
- id: "cycle",
1514
- description: "Cyclical process visualization (PDCA, OODA, DevOps loops)"
1515
- },
1516
- {
1517
- id: "pyramid",
1518
- description: "Stacked hierarchy of layers with descriptions (Maslow, DIKW)"
1519
- },
1520
- {
1521
- id: "ring",
1522
- description: "Concentric rings showing nested or hierarchical categories (read core-out)"
1523
- },
1524
- {
1525
- id: "treemap",
1526
- description: "Nested rectangles sized by value \u2014 show a hierarchy\u2019s proportions (budgets, disk usage, portfolios) with color by category, value heatmap, or branch"
1527
- },
1528
- {
1529
- id: "block",
1530
- description: "Block diagram: an author-controlled grid of rectangular blocks with nested, collapsible containers \u2014 system/hardware/architecture layouts where the 2-D arrangement is the meaning"
1531
- },
1532
- {
1533
- id: "sketch",
1534
- description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags \u2014 the markup is generated by the canvas editor"
1535
- },
1536
- {
1537
- id: "goal",
1538
- description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
1539
- },
1540
- {
1541
- id: "countdown",
1542
- description: 'Live "N days until X" that ticks every second and is accurate on every load \u2014 trip dates, launches, deadlines; the only dynamic chart type'
1543
- },
1544
- {
1545
- id: "clock",
1546
- description: "Live world-clock board: current time for people/places across time zones, ticking every second, with optional working-hours status and sundown line"
1547
- },
1548
- {
1549
- id: "map",
1550
- description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges"
1551
- },
1552
- // ── Tier 3 — Specialized analytical charts ────────────────
1553
- {
1554
- id: "quadrant",
1555
- description: "2x2 positioning matrix"
1556
- },
1557
- {
1558
- id: "venn",
1559
- description: "Set overlaps"
1560
- },
1561
- {
1562
- id: "funnel",
1563
- description: "Conversion pipeline"
1564
- },
1565
- {
1566
- id: "slope",
1567
- description: "Change between 2 time periods"
1568
- },
1569
- {
1570
- id: "sankey",
1571
- description: "Flow / allocation visualization"
1572
- },
1573
- {
1574
- id: "arc",
1575
- description: "Network relationships (linear or circular via `layout`)"
1576
- },
1577
- {
1578
- id: "wordcloud",
1579
- description: "Term frequency visualization"
1580
- },
1581
- {
1582
- id: "heatmap",
1583
- description: "Matrix intensity visualization"
1584
- },
1585
- {
1586
- id: "function",
1587
- description: "Mathematical expressions"
1588
- },
1589
- // ── Tier 4 — General-purpose data charts ──────────────────
1590
- {
1591
- id: "bar",
1592
- description: "Categorical comparisons for 3 - 5 figures",
1593
- fallback: true
1594
- },
1595
- {
1596
- id: "line",
1597
- description: "Trends over time",
1598
- fallback: true
1599
- },
1600
- {
1601
- id: "pie",
1602
- description: "Part-to-whole proportions"
1603
- },
1604
- {
1605
- id: "radar",
1606
- description: "Multi-dimensional metrics"
1607
- },
1608
- {
1609
- id: "polar-area",
1610
- description: "Radial bar chart"
1611
- },
1612
- {
1613
- id: "scatter",
1614
- description: "2D data points or bubble chart"
1615
- },
1616
- // ── Tier 5 — Generic catch-alls (listed last on purpose) ──
1617
- {
1618
- id: "flowchart",
1619
- description: "Decision trees and process flows",
1620
- fallback: true
1621
- },
1622
- {
1623
- id: "boxes-and-lines",
1624
- description: "General-purpose node-edge diagrams with groups and tags",
1625
- fallback: true
1626
- }
1627
- ];
1628
-
1629
1418
  // src/slope/parser.ts
1630
1419
  function parseSlope(content, palette) {
1631
1420
  return parseVisualization(content, palette);
@@ -2215,7 +2004,6 @@ export {
2215
2004
  parseWordcloud,
2216
2005
  parseVenn,
2217
2006
  parseQuadrant,
2218
- chartTypes,
2219
2007
  REGISTRY_BY_ID,
2220
2008
  looksLikeGantt,
2221
2009
  looksLikeC4,
@@ -2228,4 +2016,4 @@ export {
2228
2016
  knownChartTypeIds,
2229
2017
  parseDgmo
2230
2018
  };
2231
- //# sourceMappingURL=chunk-SQCBSFT5.js.map
2019
+ //# sourceMappingURL=chunk-SBOAZ7YK.js.map
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  noteCanvasShift
6
6
  } from "./chunk-6EK55ART.js";
7
- import {
8
- measureText
9
- } from "./chunk-4ASYQ347.js";
10
7
  import {
11
8
  resolveNotes
12
9
  } from "./chunk-QZAW5SFH.js";
10
+ import {
11
+ measureText
12
+ } from "./chunk-4ASYQ347.js";
13
13
 
14
14
  // src/er/layout.ts
15
15
  import dagre from "@dagrejs/dagre";
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
326
326
  export {
327
327
  layoutERDiagram
328
328
  };
329
- //# sourceMappingURL=chunk-VGNIDAPQ.js.map
329
+ //# sourceMappingURL=chunk-SSHS42QG.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ normalizeName
3
+ } from "./chunk-NOTA6TEI.js";
1
4
  import {
2
5
  AUTO_TAG_COLOR_SENTINEL,
3
6
  finalizeAutoTagColors,
@@ -7,10 +10,7 @@ import {
7
10
  tagAttrKey,
8
11
  validateTagGroupNames,
9
12
  validateTagValues
10
- } from "./chunk-CMVZWP32.js";
11
- import {
12
- normalizeName
13
- } from "./chunk-NOTA6TEI.js";
13
+ } from "./chunk-AHTTKERF.js";
14
14
  import {
15
15
  OPTION_NOCOLON_RE,
16
16
  ORG_REGISTRY,
@@ -20,7 +20,7 @@ import {
20
20
  splitNameAndMeta,
21
21
  warnUnknownMetaKeys,
22
22
  withTagAliases
23
- } from "./chunk-YJVA3QUU.js";
23
+ } from "./chunk-3FRO35WW.js";
24
24
  import {
25
25
  formatDgmoError,
26
26
  makeDgmoError,
@@ -362,4 +362,4 @@ export {
362
362
  looksLikeOrg,
363
363
  parseOrg
364
364
  };
365
- //# sourceMappingURL=chunk-SGPFVDUL.js.map
365
+ //# sourceMappingURL=chunk-T3FAJAJT.js.map