@diagrammo/dgmo 0.56.0 → 0.58.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 (210) hide show
  1. package/dist/advanced.d.ts +57 -7
  2. package/dist/advanced.js +206 -196
  3. package/dist/auto.css +60 -0
  4. package/dist/auto.js +185 -124
  5. package/dist/auto.mjs +6749 -6280
  6. package/dist/block.css +60 -0
  7. package/dist/block.d.ts +12 -0
  8. package/dist/block.js +132 -61
  9. package/dist/{chart-meta-CPNVUZ5J.d.ts → chart-meta-C6UaqhTP.d.ts} +1 -1
  10. package/dist/chart-meta.d.ts +2 -2
  11. package/dist/chart-meta.js +53 -51
  12. package/dist/{charts-d3-D67V6KHE.js → charts-d3-K5M5J5ZM.js} +5 -5
  13. package/dist/{chunk-GDGOVO2I.js → chunk-2JPEBOUQ.js} +71 -55
  14. package/dist/{chunk-FERE46TP.js → chunk-2UBTPFIF.js} +3 -3
  15. package/dist/{chunk-CXI6X54X.js → chunk-3DY7TNZ7.js} +2 -2
  16. package/dist/{chunk-D5FANMSG.js → chunk-3LMUMAUS.js} +2 -2
  17. package/dist/{chunk-D3WTEBGT.js → chunk-46NVO5UA.js} +2 -2
  18. package/dist/{chunk-5J2RQGFG.js → chunk-4CE2GOC2.js} +3 -3
  19. package/dist/{chunk-VKN7YW4Q.js → chunk-4ESLORPX.js} +7 -7
  20. package/dist/chunk-4UNGFVVY.js +181 -0
  21. package/dist/{chunk-Y2L2LET6.js → chunk-52KLHCXQ.js} +6 -6
  22. package/dist/{chunk-VSFAJUEF.js → chunk-5RPSN32F.js} +3 -3
  23. package/dist/{chunk-RBIX3HQQ.js → chunk-5RY4W7J6.js} +9 -9
  24. package/dist/{chunk-GUVVQW3Y.js → chunk-6F3MVYUW.js} +6 -6
  25. package/dist/{chunk-ST3ZNEUQ.js → chunk-6JYE3SDK.js} +2 -2
  26. package/dist/{chunk-FZECLCCU.js → chunk-6KTRV3O5.js} +3 -3
  27. package/dist/{chunk-KIGV66SP.js → chunk-7Q6HX7ON.js} +6 -6
  28. package/dist/{chunk-ULR3BVNH.js → chunk-7SGR7A5K.js} +4 -4
  29. package/dist/{chunk-5ZDHXS5N.js → chunk-7UZFAIKI.js} +7 -7
  30. package/dist/{chunk-WFX6AUQO.js → chunk-ATKB7VEN.js} +9 -4
  31. package/dist/{chunk-5VLUAAAE.js → chunk-AU4AQYOA.js} +3 -3
  32. package/dist/{chunk-4MB4UOT5.js → chunk-B4U7RRQ4.js} +2 -2
  33. package/dist/{chunk-QWUYFUNO.js → chunk-BFYPHZ5M.js} +2 -2
  34. package/dist/{chunk-NVQXIDLE.js → chunk-BIWMOFSE.js} +7 -7
  35. package/dist/{chunk-HPJITTF7.js → chunk-C7IKQOEQ.js} +15 -15
  36. package/dist/{chunk-YJUF2N3C.js → chunk-CBPFVH3N.js} +10 -10
  37. package/dist/{chunk-R7ECJQTB.js → chunk-CC6XIQDE.js} +3 -3
  38. package/dist/{chunk-3R67RRPC.js → chunk-CZIFUXI2.js} +7 -7
  39. package/dist/chunk-D3K4U3ZM.js +232 -0
  40. package/dist/{chunk-RQGNELB3.js → chunk-DWAQXY6T.js} +3 -3
  41. package/dist/{chunk-HIMDUQT7.js → chunk-DWMJLEBT.js} +7 -7
  42. package/dist/{chunk-YG5KQ55U.js → chunk-DZUDSGGQ.js} +13 -21
  43. package/dist/chunk-E55OZDFH.js +65 -0
  44. package/dist/{chunk-P6XFQVYY.js → chunk-E6CCWMTT.js} +19 -19
  45. package/dist/{chunk-3KOPPSUQ.js → chunk-E7HANW62.js} +12 -3
  46. package/dist/{chunk-ZMMYCERO.js → chunk-EDJYIQZM.js} +9 -233
  47. package/dist/{chunk-JXFB3APA.js → chunk-EEF7BUX7.js} +15 -15
  48. package/dist/{chunk-23THM67F.js → chunk-FWNJ45NW.js} +5 -5
  49. package/dist/{chunk-2UZVMWSQ.js → chunk-FXIG472W.js} +5 -5
  50. package/dist/{chunk-CQOC2MD6.js → chunk-GAFNYUNJ.js} +17 -16
  51. package/dist/{chunk-AIH6M5J6.js → chunk-GGKWKNOL.js} +4 -4
  52. package/dist/{chunk-U2BKSEKU.js → chunk-H52HJ26L.js} +2 -2
  53. package/dist/{chunk-BR2VSKHI.js → chunk-HBIGEWRC.js} +5 -5
  54. package/dist/{chunk-D64FRGKU.js → chunk-HUYAMTCD.js} +2 -2
  55. package/dist/{chunk-FCA2UGJT.js → chunk-HXTS54OV.js} +6 -6
  56. package/dist/{chunk-XN4ZSACM.js → chunk-ILZHMKYQ.js} +7 -7
  57. package/dist/{chunk-W2I2EXSC.js → chunk-IRN5GBBO.js} +15 -15
  58. package/dist/{chunk-YH62K5D4.js → chunk-JM65HLBZ.js} +13 -13
  59. package/dist/{chunk-DIKIHU52.js → chunk-KAG5JCZV.js} +3 -3
  60. package/dist/{chunk-4MJOBVY7.js → chunk-KNCY7YHC.js} +2 -2
  61. package/dist/{chunk-N2KO445N.js → chunk-L5DQB4C7.js} +16 -16
  62. package/dist/{chunk-5HWPEYWB.js → chunk-LDVUPGWC.js} +2 -2
  63. package/dist/{chunk-EEKGMS63.js → chunk-LLDNNANC.js} +3 -3
  64. package/dist/{chunk-SK7PCW4F.js → chunk-LSFZDBAP.js} +2 -2
  65. package/dist/{chunk-7SXTD7L6.js → chunk-LYQMN35H.js} +2 -2
  66. package/dist/{chunk-ES3MUYRX.js → chunk-MF4FDLFG.js} +3 -3
  67. package/dist/{chunk-YNAHUNMA.js → chunk-MPPOQOCF.js} +2 -2
  68. package/dist/{chunk-QDOYT6UW.js → chunk-N7PF5IRF.js} +4 -4
  69. package/dist/chunk-NCT22MOD.js +93 -0
  70. package/dist/{chunk-RK3Y4WMV.js → chunk-NGGVVTP2.js} +15 -15
  71. package/dist/{chunk-AMC2OGXF.js → chunk-NPBAV3QU.js} +13 -13
  72. package/dist/{chunk-HODUM6LY.js → chunk-NQGE76NC.js} +10 -10
  73. package/dist/{chunk-5XMDSXZT.js → chunk-NSUAU6JQ.js} +2 -2
  74. package/dist/{chunk-OHBIN74X.js → chunk-NW2K6UU2.js} +3 -3
  75. package/dist/{chunk-WOMXS5R7.js → chunk-NYCBN7YE.js} +3 -3
  76. package/dist/{chunk-FXVPSTDT.js → chunk-OMOU2V3W.js} +6 -6
  77. package/dist/chunk-ON4MEUC4.js +50 -0
  78. package/dist/{chunk-SOBGK35Z.js → chunk-OXANJRNK.js} +8 -8
  79. package/dist/{chunk-X32RDWT5.js → chunk-PH5WK6G5.js} +3 -3
  80. package/dist/{chunk-C3BWDEYN.js → chunk-PIIORN3Q.js} +7 -7
  81. package/dist/{chunk-YM2ZQIVG.js → chunk-QDOSCTL5.js} +9 -17
  82. package/dist/{chunk-CY5KE2P5.js → chunk-QS37VUFZ.js} +2 -2
  83. package/dist/{chunk-NFAHDPCG.js → chunk-RB3AFVPT.js} +3 -3
  84. package/dist/{chunk-LV5BFA24.js → chunk-RDHZRHDG.js} +3 -3
  85. package/dist/{chunk-AOJJSGXE.js → chunk-S3AZMBK7.js} +7 -7
  86. package/dist/{chunk-OWLGERJL.js → chunk-SBQXLX6Y.js} +6 -6
  87. package/dist/{chunk-PECYPUJJ.js → chunk-SQK4EKOW.js} +8 -8
  88. package/dist/{chunk-2JMNOEAU.js → chunk-STYJ6EOV.js} +163 -140
  89. package/dist/{chunk-AN465MXC.js → chunk-SZCZOA2L.js} +2 -2
  90. package/dist/{chunk-GG7TK3IA.js → chunk-TQC2SUMJ.js} +6 -6
  91. package/dist/{chunk-HE57UQHL.js → chunk-TXQXPJTG.js} +4 -4
  92. package/dist/{chunk-RV2N7COG.js → chunk-UFDLQKCR.js} +2 -2
  93. package/dist/{chunk-YWPWRR7W.js → chunk-UPTAWSCG.js} +2 -2
  94. package/dist/{chunk-ULONXAOD.js → chunk-VBSKNQUO.js} +6 -6
  95. package/dist/{chunk-UU6LUYUH.js → chunk-VJARCVMH.js} +2 -2
  96. package/dist/{chunk-HOPTF3ZP.js → chunk-VJYERZ2Q.js} +7 -7
  97. package/dist/{chunk-USFZQPJ2.js → chunk-W22JRLNA.js} +3 -3
  98. package/dist/{chunk-KSPCR75O.js → chunk-W2RU24DD.js} +6 -6
  99. package/dist/{chunk-NHZAYL2X.js → chunk-W6T5QRIR.js} +4 -4
  100. package/dist/{chunk-3HDBAXF5.js → chunk-WGC42WJU.js} +8 -1
  101. package/dist/{chunk-APD52YJV.js → chunk-WQWVLAA5.js} +4 -4
  102. package/dist/{chunk-VU3DOZ6C.js → chunk-WYG5VJY2.js} +4 -4
  103. package/dist/{chunk-VYEQPPS6.js → chunk-WYGLKR4I.js} +3 -3
  104. package/dist/{chunk-MGLJA5TK.js → chunk-X3YNX4DR.js} +2 -2
  105. package/dist/{chunk-A4DAZO3U.js → chunk-X4JEAY73.js} +13 -13
  106. package/dist/{chunk-JE3SMHRZ.js → chunk-XHTRLRZ5.js} +9 -9
  107. package/dist/{chunk-UZ6L5VQJ.js → chunk-XXAHWYQU.js} +3 -3
  108. package/dist/{chunk-HKKPUUNK.js → chunk-YAG7WAQE.js} +13 -13
  109. package/dist/{chunk-KF575IXC.js → chunk-YILSSUEL.js} +3 -3
  110. package/dist/{chunk-WK3UFCZC.js → chunk-YKMOI6ZG.js} +11 -11
  111. package/dist/{chunk-TGOMHUOV.js → chunk-ZEIYC7XO.js} +12 -1
  112. package/dist/{chunk-PFG3EVRD.js → chunk-ZKNSLC35.js} +3 -3
  113. package/dist/{chunk-U7ZQTUZT.js → chunk-ZW7LTYW2.js} +4 -4
  114. package/dist/cli.cjs +144 -143
  115. package/dist/cloud-reference.d.ts +76 -0
  116. package/dist/cloud-reference.js +18 -0
  117. package/dist/completion-registry.js +24 -5
  118. package/dist/dgmo-router-2637N4DY.js +90 -0
  119. package/dist/{dimensions-PLECMFTR.js → dimensions-HSIQYP5Z.js} +5 -5
  120. package/dist/editor.js +11 -2
  121. package/dist/element.js +188 -127
  122. package/dist/element.mjs +6749 -6280
  123. package/dist/{flowchart-parser-DA3V2SLH.js → flowchart-parser-I2TEUWAP.js} +4 -4
  124. package/dist/{flowchart-renderer-UQVXOUW4.js → flowchart-renderer-ER66DNCI.js} +12 -12
  125. package/dist/highlight.js +11 -2
  126. package/dist/index.d.ts +13 -4
  127. package/dist/index.js +65 -59
  128. package/dist/{layout-UXMNKETK.js → layout-3QMCSW6B.js} +8 -7
  129. package/dist/{layout-2BJDECLZ.js → layout-DH6GSKAH.js} +7 -6
  130. package/dist/{layout-HIK4ZJFQ.js → layout-HTDK3DMG.js} +4 -4
  131. package/dist/{layout-A5UVXINF.js → layout-K4S54TX7.js} +4 -4
  132. package/dist/{layout-UFZQI6SX.js → layout-RIS5VTGL.js} +7 -6
  133. package/dist/{layout-3XFPPFXI.js → layout-TCWNJ2OZ.js} +7 -6
  134. package/dist/{layout-SNIEAZ2I.js → layout-V5X3U3WB.js} +4 -4
  135. package/dist/{layout-QRVYYYZ3.js → layout-VFUHKLTS.js} +3 -3
  136. package/dist/{layout-WDXNSQQF.js → layout-VNEBCYPX.js} +4 -4
  137. package/dist/{layout-search-I4VNIRGT.js → layout-search-N6NQI5OQ.js} +10 -9
  138. package/dist/{parser-5UZWYSIV.js → parser-2RTQF2LA.js} +4 -4
  139. package/dist/{parser-4ZIJDGPG.js → parser-2VTOUMJY.js} +4 -4
  140. package/dist/{parser-HMQZPPOK.js → parser-3M3QQRCZ.js} +4 -4
  141. package/dist/{parser-RBNOWHGM.js → parser-4WSJVVG6.js} +4 -4
  142. package/dist/{parser-Q3KNFXQR.js → parser-67JHR6I6.js} +4 -4
  143. package/dist/{parser-MH62NYKM.js → parser-6GXEHNZD.js} +4 -4
  144. package/dist/{parser-O5XCVGZG.js → parser-6I3NOLKL.js} +3 -3
  145. package/dist/{parser-6CM27UPA.js → parser-7VNCLF77.js} +4 -4
  146. package/dist/{parser-QL2LBPFE.js → parser-AE7RC4IJ.js} +4 -4
  147. package/dist/{parser-DQ2DGDYO.js → parser-BDGMJSZB.js} +3 -3
  148. package/dist/{parser-WT3DSNPQ.js → parser-BVHECXAJ.js} +4 -4
  149. package/dist/{parser-QEWSTNEJ.js → parser-FLCLHHOM.js} +4 -4
  150. package/dist/{parser-VVTCMQWY.js → parser-FSSAJO2M.js} +5 -5
  151. package/dist/{parser-73YUU35J.js → parser-GH2Y6CR4.js} +3 -3
  152. package/dist/{parser-AYZTKZC3.js → parser-GUUNA7WE.js} +3 -3
  153. package/dist/{parser-GGCDY65M.js → parser-ISJJO7TJ.js} +5 -5
  154. package/dist/parser-J3FUTZAQ.js +12 -0
  155. package/dist/{parser-Q62VR2UJ.js → parser-JY7ZU5PP.js} +5 -5
  156. package/dist/{parser-4TX6U4ZU.js → parser-KKBW25LM.js} +3 -3
  157. package/dist/{parser-XWNSCDY6.js → parser-M74SVSPT.js} +4 -4
  158. package/dist/{parser-CCAUZLYI.js → parser-MKJ52TD7.js} +4 -4
  159. package/dist/{parser-A6M25MLK.js → parser-MPQTXCBQ.js} +3 -3
  160. package/dist/{parser-LQDEU22S.js → parser-N3AAAGTA.js} +4 -4
  161. package/dist/{parser-OPOGIKFR.js → parser-N7SSE4SK.js} +4 -4
  162. package/dist/{parser-D7YZX3CH.js → parser-NH6IAVZJ.js} +3 -3
  163. package/dist/{parser-IPBEW2DG.js → parser-NKHBUGAX.js} +4 -4
  164. package/dist/{parser-PQXN6SBB.js → parser-QVX4FR3J.js} +5 -5
  165. package/dist/{parser-JWAGGYLL.js → parser-S6QH3QIK.js} +5 -5
  166. package/dist/{parser-PEBXIOPX.js → parser-UODHU3EP.js} +4 -4
  167. package/dist/{parser-LNEAHGXF.js → parser-UVS6OHCO.js} +5 -5
  168. package/dist/{parser-SJ7ECFAP.js → parser-X3TCE7P5.js} +4 -4
  169. package/dist/{parser-QN3GJJ3J.js → parser-XQKSQBOT.js} +3 -3
  170. package/dist/{parser-KTVDCWHG.js → parser-XXYB4TRG.js} +4 -4
  171. package/dist/{registry-CaSw0PSH.d.ts → registry-C0HvobTb.d.ts} +17 -0
  172. package/dist/renderer-2G7Q3L5W.js +77 -0
  173. package/dist/{renderer-I5MAFUKX.js → renderer-2IO3H53I.js} +6 -6
  174. package/dist/{renderer-M6AFKVLS.js → renderer-2KDW3TWO.js} +5 -5
  175. package/dist/{renderer-CB2DOQ2O.js → renderer-2SK7UM4O.js} +5 -5
  176. package/dist/{renderer-P7O6OUYC.js → renderer-34GG6RHO.js} +9 -9
  177. package/dist/{renderer-WWC5VGHH.js → renderer-44EXXXRC.js} +7 -7
  178. package/dist/{renderer-MLDGFZDW.js → renderer-4SH6U6WF.js} +6 -6
  179. package/dist/{renderer-53FU55KK.js → renderer-4WQRF2SK.js} +6 -6
  180. package/dist/{renderer-CL4SAUA5.js → renderer-7AVFPE3Q.js} +5 -5
  181. package/dist/{renderer-52S6JM5R.js → renderer-BA6WTWVL.js} +8 -8
  182. package/dist/{renderer-JNC6VJMN.js → renderer-BLPXBLUP.js} +7 -7
  183. package/dist/{renderer-4VLQKKTV.js → renderer-C7LFE5CB.js} +15 -15
  184. package/dist/{renderer-5CU6GYF2.js → renderer-CUXXNHFU.js} +8 -8
  185. package/dist/{renderer-TOKGYFTG.js → renderer-DRNJJNAE.js} +5 -5
  186. package/dist/{renderer-OZIPP7VF.js → renderer-DVUKHOFB.js} +11 -11
  187. package/dist/{renderer-FRBPMKPP.js → renderer-I7Q5U2TU.js} +6 -6
  188. package/dist/{renderer-SYT4L7GE.js → renderer-JIUVU3PF.js} +3 -3
  189. package/dist/{renderer-J5TL5ZX4.js → renderer-LXIIZ3BH.js} +15 -15
  190. package/dist/{renderer-5G3PORFD.js → renderer-MTX6PLPA.js} +11 -11
  191. package/dist/{renderer-IWNHBIZ6.js → renderer-NKVIQA3C.js} +4 -4
  192. package/dist/{renderer-YWYX6WAI.js → renderer-QGZ2BOJG.js} +4 -4
  193. package/dist/{renderer-O4ECS2BI.js → renderer-SL5IQJKB.js} +10 -10
  194. package/dist/{renderer-3IETIUZB.js → renderer-SL5LE7MU.js} +8 -8
  195. package/dist/{renderer-KUIZNLAQ.js → renderer-SXZBGMEH.js} +5 -5
  196. package/dist/{renderer-J5MMVCGN.js → renderer-UPANX7XK.js} +8 -8
  197. package/dist/{renderer-DZ5N6BHW.js → renderer-VDCGDJ6L.js} +5 -5
  198. package/dist/{renderer-YVCD55ZX.js → renderer-XJFRVCF6.js} +9 -9
  199. package/dist/{renderer-Q3A7572V.js → renderer-XRC5R3OP.js} +5 -5
  200. package/dist/{renderer-2NU7M5PN.js → renderer-Y64MT4JM.js} +7 -7
  201. package/dist/{renderer-CRAIC4ER.js → renderer-ZLJ5CCSO.js} +6 -6
  202. package/dist/{renderer-QRX7Q2YN.js → renderer-ZY5TXTS5.js} +6 -6
  203. package/dist/{renderer-radial-QG644QYY.js → renderer-radial-4YKK4JNW.js} +6 -6
  204. package/dist/{state-parser-NQGVYSM3.js → state-parser-3PFFJO5M.js} +5 -5
  205. package/dist/{state-renderer-NKV5B3KH.js → state-renderer-2HDVRUNG.js} +14 -14
  206. package/dist/{themes-tbBkIVsn.d.ts → themes-l406Vj2z.d.ts} +1 -1
  207. package/docs/language-reference.md +29 -0
  208. package/package.json +5 -1
  209. package/dist/chunk-BMR4CIEO.js +0 -41
  210. package/dist/dgmo-router-GSWUPLP2.js +0 -88
@@ -4,10 +4,7 @@ import {
4
4
  layoutC4Containers,
5
5
  layoutC4Context,
6
6
  layoutC4Deployment
7
- } from "./chunk-XN4ZSACM.js";
8
- import {
9
- renderInlineText
10
- } from "./chunk-3HDBAXF5.js";
7
+ } from "./chunk-ILZHMKYQ.js";
11
8
  import {
12
9
  CARD_RADIUS,
13
10
  EDGE_STROKE_WIDTH,
@@ -15,12 +12,15 @@ import {
15
12
  META_LINE_HEIGHT,
16
13
  NODE_STROKE_WIDTH
17
14
  } from "./chunk-3CIOJ5YJ.js";
15
+ import {
16
+ renderInlineText
17
+ } from "./chunk-WGC42WJU.js";
18
18
  import {
19
19
  serializeSvg
20
20
  } from "./chunk-NZ5QVASG.js";
21
21
  import {
22
22
  renderIntegratedLegend
23
- } from "./chunk-QDOYT6UW.js";
23
+ } from "./chunk-N7PF5IRF.js";
24
24
  import {
25
25
  TITLE_FONT_SIZE,
26
26
  TITLE_FONT_WEIGHT
@@ -30,10 +30,16 @@ import {
30
30
  } from "./chunk-6KFWC4CO.js";
31
31
  import {
32
32
  parseC4
33
- } from "./chunk-FCA2UGJT.js";
33
+ } from "./chunk-HXTS54OV.js";
34
34
  import {
35
35
  preprocessDescriptionLine
36
36
  } from "./chunk-IYULMRBE.js";
37
+ import {
38
+ tagAttrKey
39
+ } from "./chunk-3LMUMAUS.js";
40
+ import {
41
+ fillModeFromOptions
42
+ } from "./chunk-E7HANW62.js";
37
43
  import {
38
44
  LEGEND_HEIGHT
39
45
  } from "./chunk-SCJ7CAJF.js";
@@ -46,12 +52,6 @@ import {
46
52
  mix,
47
53
  shapeFill
48
54
  } from "./chunk-42IT4BG2.js";
49
- import {
50
- tagAttrKey
51
- } from "./chunk-D5FANMSG.js";
52
- import {
53
- fillModeFromOptions
54
- } from "./chunk-3KOPPSUQ.js";
55
55
 
56
56
  // src/c4/renderer.ts
57
57
  import * as d3Selection from "d3-selection";
@@ -1039,4 +1039,4 @@ export {
1039
1039
  renderC4Deployment,
1040
1040
  renderC4DeploymentForExport
1041
1041
  };
1042
- //# sourceMappingURL=chunk-YH62K5D4.js.map
1042
+ //# sourceMappingURL=chunk-JM65HLBZ.js.map
@@ -20,7 +20,7 @@ import {
20
20
  tagAttrKey,
21
21
  validateTagGroupNames,
22
22
  validateTagValues
23
- } from "./chunk-D5FANMSG.js";
23
+ } from "./chunk-3LMUMAUS.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-3KOPPSUQ.js";
32
+ } from "./chunk-E7HANW62.js";
33
33
  import {
34
34
  emit,
35
35
  makeDgmoError,
@@ -1256,4 +1256,4 @@ export {
1256
1256
  extractPertSymbols,
1257
1257
  looksLikePert
1258
1258
  };
1259
- //# sourceMappingURL=chunk-DIKIHU52.js.map
1259
+ //# sourceMappingURL=chunk-KAG5JCZV.js.map
@@ -7,7 +7,7 @@ import {
7
7
  splitNameAndMeta,
8
8
  warnUnknownMetaKeys,
9
9
  withTagAliases
10
- } from "./chunk-3KOPPSUQ.js";
10
+ } from "./chunk-E7HANW62.js";
11
11
  import {
12
12
  makeDgmoError
13
13
  } from "./chunk-OLMWTJVU.js";
@@ -314,4 +314,4 @@ export {
314
314
  parseTimelineDate,
315
315
  parseTimelineEventLine
316
316
  };
317
- //# sourceMappingURL=chunk-4MJOBVY7.js.map
317
+ //# sourceMappingURL=chunk-KNCY7YHC.js.map
@@ -1,13 +1,13 @@
1
+ import {
2
+ layoutERDiagram
3
+ } from "./chunk-SZCZOA2L.js";
1
4
  import {
2
5
  NOTE_BADGE_RADIUS,
3
6
  noteConnectorPoints,
4
7
  renderNoteBadge,
5
8
  renderNoteBox,
6
9
  renderNoteConnector
7
- } from "./chunk-U2BKSEKU.js";
8
- import {
9
- layoutERDiagram
10
- } from "./chunk-AN465MXC.js";
10
+ } from "./chunk-H52HJ26L.js";
11
11
  import {
12
12
  EDGE_STROKE_WIDTH,
13
13
  NODE_STROKE_WIDTH
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-NZ5QVASG.js";
24
24
  import {
25
25
  renderIntegratedLegend
26
- } from "./chunk-QDOYT6UW.js";
26
+ } from "./chunk-N7PF5IRF.js";
27
27
  import {
28
28
  getLegendExtent
29
29
  } from "./chunk-ES66QH6J.js";
@@ -37,7 +37,16 @@ import {
37
37
  } from "./chunk-6KFWC4CO.js";
38
38
  import {
39
39
  parseERDiagram
40
- } from "./chunk-ULR3BVNH.js";
40
+ } from "./chunk-7SGR7A5K.js";
41
+ import {
42
+ resolveTagColor,
43
+ tagAttrKey
44
+ } from "./chunk-3LMUMAUS.js";
45
+ import {
46
+ fillModeFromOptions,
47
+ legendInlineRequested,
48
+ legendSuppressed
49
+ } from "./chunk-E7HANW62.js";
41
50
  import {
42
51
  LEGEND_HEIGHT
43
52
  } from "./chunk-SCJ7CAJF.js";
@@ -49,15 +58,6 @@ import {
49
58
  getSeriesColors,
50
59
  shapeFill
51
60
  } from "./chunk-42IT4BG2.js";
52
- import {
53
- resolveTagColor,
54
- tagAttrKey
55
- } from "./chunk-D5FANMSG.js";
56
- import {
57
- fillModeFromOptions,
58
- legendInlineRequested,
59
- legendSuppressed
60
- } from "./chunk-3KOPPSUQ.js";
61
61
 
62
62
  // src/er/renderer.ts
63
63
  import * as d3Selection from "d3-selection";
@@ -603,4 +603,4 @@ export {
603
603
  renderERDiagram,
604
604
  renderERDiagramForExport
605
605
  };
606
- //# sourceMappingURL=chunk-N2KO445N.js.map
606
+ //# sourceMappingURL=chunk-L5DQB4C7.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-6EK55ART.js";
4
4
  import {
5
5
  noteBoxSize
6
- } from "./chunk-UU6LUYUH.js";
6
+ } from "./chunk-VJARCVMH.js";
7
7
 
8
8
  // src/utils/notes/build.ts
9
9
  function buildPlacedNotes(anchors, noteByNode, direction, collapsedNotes) {
@@ -70,4 +70,4 @@ function buildPlacedNotes(anchors, noteByNode, direction, collapsedNotes) {
70
70
  export {
71
71
  buildPlacedNotes
72
72
  };
73
- //# sourceMappingURL=chunk-5HWPEYWB.js.map
73
+ //# sourceMappingURL=chunk-LDVUPGWC.js.map
@@ -9,13 +9,13 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-D5FANMSG.js";
12
+ } from "./chunk-3LMUMAUS.js";
13
13
  import {
14
14
  extractColor,
15
15
  fillModeFromToken,
16
16
  measureIndent,
17
17
  parseFirstLine
18
- } from "./chunk-3KOPPSUQ.js";
18
+ } from "./chunk-E7HANW62.js";
19
19
  import {
20
20
  emit
21
21
  } from "./chunk-OLMWTJVU.js";
@@ -264,4 +264,4 @@ export {
264
264
  parseBody,
265
265
  extractSymbols
266
266
  };
267
- //# sourceMappingURL=chunk-EEKGMS63.js.map
267
+ //# sourceMappingURL=chunk-LLDNNANC.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6EK55ART.js";
5
5
  import {
6
6
  noteBoxSize
7
- } from "./chunk-UU6LUYUH.js";
7
+ } from "./chunk-VJARCVMH.js";
8
8
  import {
9
9
  resolveNotes
10
10
  } from "./chunk-7NK42OIB.js";
@@ -311,4 +311,4 @@ function layoutGraph(graph, options) {
311
311
  export {
312
312
  layoutGraph
313
313
  };
314
- //# sourceMappingURL=chunk-SK7PCW4F.js.map
314
+ //# sourceMappingURL=chunk-LSFZDBAP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  isTagBlockHeading,
6
6
  matchTagBlockHeading
7
- } from "./chunk-D5FANMSG.js";
7
+ } from "./chunk-3LMUMAUS.js";
8
8
  import {
9
9
  makeDgmoError
10
10
  } from "./chunk-OLMWTJVU.js";
@@ -401,4 +401,4 @@ export {
401
401
  normalizePertSourceForShare,
402
402
  resolveOrgImports
403
403
  };
404
- //# sourceMappingURL=chunk-7SXTD7L6.js.map
404
+ //# sourceMappingURL=chunk-LYQMN35H.js.map
@@ -11,7 +11,7 @@ import {
11
11
  matchTagBlockHeading,
12
12
  stripDefaultModifier,
13
13
  tagAttrKey
14
- } from "./chunk-D5FANMSG.js";
14
+ } from "./chunk-3LMUMAUS.js";
15
15
  import {
16
16
  FAMILY_PERSON_REGISTRY,
17
17
  FAMILY_UNION_REGISTRY,
@@ -26,7 +26,7 @@ import {
26
26
  tokenizeQuoteAware,
27
27
  tryParseSharedOption,
28
28
  withTagAliases
29
- } from "./chunk-3KOPPSUQ.js";
29
+ } from "./chunk-E7HANW62.js";
30
30
  import {
31
31
  nord,
32
32
  resolveColor
@@ -571,4 +571,4 @@ export {
571
571
  FAMILY_DIAGNOSTICS,
572
572
  parseFamily
573
573
  };
574
- //# sourceMappingURL=chunk-ES3MUYRX.js.map
574
+ //# sourceMappingURL=chunk-MF4FDLFG.js.map
@@ -7,7 +7,7 @@ import {
7
7
  extractColor,
8
8
  fillModeFromToken,
9
9
  parseFirstLine
10
- } from "./chunk-3KOPPSUQ.js";
10
+ } from "./chunk-E7HANW62.js";
11
11
  import {
12
12
  makeDgmoError,
13
13
  makeFail
@@ -675,4 +675,4 @@ export {
675
675
  searchZones,
676
676
  parseClock
677
677
  };
678
- //# sourceMappingURL=chunk-YNAHUNMA.js.map
678
+ //# sourceMappingURL=chunk-MPPOQOCF.js.map
@@ -4,6 +4,9 @@ import {
4
4
  import {
5
5
  FONT_FAMILY
6
6
  } from "./chunk-6KFWC4CO.js";
7
+ import {
8
+ tagAttrKey
9
+ } from "./chunk-3LMUMAUS.js";
7
10
  import {
8
11
  CONTROLS_ICON_PATH,
9
12
  LEGEND_DOT_R,
@@ -19,9 +22,6 @@ import {
19
22
  import {
20
23
  valueRampStops
21
24
  } from "./chunk-42IT4BG2.js";
22
- import {
23
- tagAttrKey
24
- } from "./chunk-D5FANMSG.js";
25
25
 
26
26
  // src/utils/legend-d3.ts
27
27
  var LEGEND_TEXT_DY = "0.32em";
@@ -292,4 +292,4 @@ export {
292
292
  renderLegendD3,
293
293
  renderIntegratedLegend
294
294
  };
295
- //# sourceMappingURL=chunk-QDOYT6UW.js.map
295
+ //# sourceMappingURL=chunk-N7PF5IRF.js.map
@@ -0,0 +1,93 @@
1
+ import {
2
+ stripInlineMarkdown
3
+ } from "./chunk-WGC42WJU.js";
4
+
5
+ // src/utils/wrapped-desc.ts
6
+ var BULLET_PREFIX = "\u2022 ";
7
+ var BULLET_INDENT_CHARS = 2;
8
+ var HARD_BREAK = "\\";
9
+ function reflowDescriptionLines(lines) {
10
+ const blocks = [];
11
+ let open = null;
12
+ let gapPending = false;
13
+ let breakPending = false;
14
+ const openBlock = (kind, text) => {
15
+ const block = {
16
+ kind,
17
+ segments: [text],
18
+ gapBefore: gapPending && blocks.length > 0
19
+ };
20
+ blocks.push(block);
21
+ gapPending = false;
22
+ return block;
23
+ };
24
+ for (const raw of lines) {
25
+ const line = raw.trimEnd();
26
+ if (!line) {
27
+ open = null;
28
+ breakPending = false;
29
+ gapPending = blocks.length > 0;
30
+ continue;
31
+ }
32
+ const hard = line.endsWith(HARD_BREAK);
33
+ const text = hard ? line.slice(0, -1).trimEnd() : line;
34
+ if (!text) {
35
+ breakPending = hard;
36
+ continue;
37
+ }
38
+ if (text.startsWith(BULLET_PREFIX)) {
39
+ open = openBlock("bullet", text.slice(BULLET_PREFIX.length));
40
+ } else if (open) {
41
+ if (breakPending) open.segments.push(text);
42
+ else open.segments[open.segments.length - 1] += ` ${text}`;
43
+ } else {
44
+ open = openBlock("plain", text);
45
+ }
46
+ breakPending = hard;
47
+ }
48
+ return blocks;
49
+ }
50
+ function wrapDescriptionLines(lines, charsPerLine, lengthFn = (s) => s.length) {
51
+ const measure = (s) => lengthFn(stripInlineMarkdown(s));
52
+ const result = [];
53
+ for (const block of reflowDescriptionLines(lines)) {
54
+ if (block.gapBefore && result.length > 0)
55
+ result.push({ text: "", kind: "plain" });
56
+ if (block.kind === "plain") {
57
+ for (const segment of block.segments)
58
+ for (const w of wrapPlainLine(segment, charsPerLine, measure))
59
+ result.push({ text: w, kind: "plain" });
60
+ continue;
61
+ }
62
+ const bodyLimit = Math.max(8, charsPerLine - BULLET_INDENT_CHARS);
63
+ let first = true;
64
+ for (const segment of block.segments) {
65
+ for (const w of wrapPlainLine(segment, bodyLimit, measure)) {
66
+ result.push({ text: w, kind: first ? "bullet-first" : "bullet-cont" });
67
+ first = false;
68
+ }
69
+ }
70
+ }
71
+ return result;
72
+ }
73
+ function wrapPlainLine(line, charsPerLine, lengthFn) {
74
+ const words = line.split(/\s+/);
75
+ const result = [];
76
+ let current = "";
77
+ for (const word of words) {
78
+ const test = current ? `${current} ${word}` : word;
79
+ if (lengthFn(test) > charsPerLine && current) {
80
+ result.push(current);
81
+ current = word;
82
+ } else {
83
+ current = test;
84
+ }
85
+ }
86
+ if (current) result.push(current);
87
+ return result;
88
+ }
89
+
90
+ export {
91
+ wrapDescriptionLines
92
+ };
93
+ //# sourceMappingURL=chunk-NCT22MOD.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-PDKUANDZ.js";
5
5
  import {
6
6
  layoutGraph
7
- } from "./chunk-SK7PCW4F.js";
7
+ } from "./chunk-LSFZDBAP.js";
8
8
  import {
9
9
  appendArrowheadMarkers
10
10
  } from "./chunk-LP7EC4MI.js";
@@ -14,7 +14,7 @@ import {
14
14
  renderNoteBadge,
15
15
  renderNoteBox,
16
16
  renderNoteConnector
17
- } from "./chunk-U2BKSEKU.js";
17
+ } from "./chunk-H52HJ26L.js";
18
18
  import {
19
19
  EDGE_STROKE_WIDTH,
20
20
  NODE_STROKE_WIDTH
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-NZ5QVASG.js";
31
31
  import {
32
32
  renderIntegratedLegend
33
- } from "./chunk-QDOYT6UW.js";
33
+ } from "./chunk-N7PF5IRF.js";
34
34
  import {
35
35
  getLegendExtent,
36
36
  getMaxLegendReservedHeight
@@ -45,7 +45,17 @@ import {
45
45
  } from "./chunk-6KFWC4CO.js";
46
46
  import {
47
47
  parseState
48
- } from "./chunk-APD52YJV.js";
48
+ } from "./chunk-WQWVLAA5.js";
49
+ import {
50
+ resolveActiveTagGroup,
51
+ resolveTagColor,
52
+ tagAttrKey
53
+ } from "./chunk-3LMUMAUS.js";
54
+ import {
55
+ fillModeFromOptions,
56
+ legendInlineRequested,
57
+ legendSuppressed
58
+ } from "./chunk-E7HANW62.js";
49
59
  import {
50
60
  measureText
51
61
  } from "./chunk-4ASYQ347.js";
@@ -55,16 +65,6 @@ import {
55
65
  shapeFill,
56
66
  themeBaseBg
57
67
  } from "./chunk-42IT4BG2.js";
58
- import {
59
- resolveActiveTagGroup,
60
- resolveTagColor,
61
- tagAttrKey
62
- } from "./chunk-D5FANMSG.js";
63
- import {
64
- fillModeFromOptions,
65
- legendInlineRequested,
66
- legendSuppressed
67
- } from "./chunk-3KOPPSUQ.js";
68
68
 
69
69
  // src/graph/state-renderer.ts
70
70
  import * as d3Selection from "d3-selection";
@@ -481,4 +481,4 @@ export {
481
481
  renderState,
482
482
  renderStateForExport
483
483
  };
484
- //# sourceMappingURL=chunk-RK3Y4WMV.js.map
484
+ //# sourceMappingURL=chunk-NGGVVTP2.js.map
@@ -4,15 +4,15 @@ import {
4
4
  import {
5
5
  layoutInfra
6
6
  } from "./chunk-43E26CDA.js";
7
- import {
8
- renderInlineText
9
- } from "./chunk-3HDBAXF5.js";
10
7
  import {
11
8
  COLLAPSE_BAR_HEIGHT,
12
9
  COLLAPSE_BAR_INSET,
13
10
  EDGE_STROKE_WIDTH,
14
11
  NODE_STROKE_WIDTH
15
12
  } from "./chunk-3CIOJ5YJ.js";
13
+ import {
14
+ renderInlineText
15
+ } from "./chunk-WGC42WJU.js";
16
16
  import {
17
17
  ScaleContext
18
18
  } from "./chunk-YYVTBZZC.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-6VJCURWU.js";
22
22
  import {
23
23
  renderIntegratedLegend
24
- } from "./chunk-QDOYT6UW.js";
24
+ } from "./chunk-N7PF5IRF.js";
25
25
  import {
26
26
  getLegendExtent,
27
27
  getMaxLegendReservedHeight
@@ -37,10 +37,17 @@ import {
37
37
  } from "./chunk-6KFWC4CO.js";
38
38
  import {
39
39
  parseInfra
40
- } from "./chunk-FXVPSTDT.js";
40
+ } from "./chunk-OMOU2V3W.js";
41
41
  import {
42
42
  preprocessDescriptionLine
43
43
  } from "./chunk-IYULMRBE.js";
44
+ import {
45
+ tagAttrKey
46
+ } from "./chunk-3LMUMAUS.js";
47
+ import {
48
+ legendInlineRequested,
49
+ legendSuppressed
50
+ } from "./chunk-E7HANW62.js";
44
51
  import {
45
52
  LEGEND_CAPSULE_PAD,
46
53
  LEGEND_DOT_R,
@@ -62,13 +69,6 @@ import {
62
69
  mix,
63
70
  shapeFill
64
71
  } from "./chunk-42IT4BG2.js";
65
- import {
66
- tagAttrKey
67
- } from "./chunk-D5FANMSG.js";
68
- import {
69
- legendInlineRequested,
70
- legendSuppressed
71
- } from "./chunk-3KOPPSUQ.js";
72
72
  import {
73
73
  resolveColor
74
74
  } from "./chunk-EXNKNJ65.js";
@@ -1608,4 +1608,4 @@ export {
1608
1608
  renderInfra,
1609
1609
  parseAndLayoutInfra
1610
1610
  };
1611
- //# sourceMappingURL=chunk-AMC2OGXF.js.map
1611
+ //# sourceMappingURL=chunk-NPBAV3QU.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-6VJCURWU.js";
12
12
  import {
13
13
  renderIntegratedLegend
14
- } from "./chunk-QDOYT6UW.js";
14
+ } from "./chunk-N7PF5IRF.js";
15
15
  import {
16
16
  controlsGroupCapsuleWidth,
17
17
  getLegendExtent,
@@ -25,6 +25,14 @@ import {
25
25
  import {
26
26
  FONT_FAMILY
27
27
  } from "./chunk-6KFWC4CO.js";
28
+ import {
29
+ normalizeName
30
+ } from "./chunk-NOTA6TEI.js";
31
+ import {
32
+ resolveActiveTagGroup,
33
+ resolveTagColor,
34
+ tagAttrKey
35
+ } from "./chunk-3LMUMAUS.js";
28
36
  import {
29
37
  LEGEND_CAPSULE_PAD,
30
38
  LEGEND_DOT_R,
@@ -51,14 +59,6 @@ import {
51
59
  mix,
52
60
  shapeFill
53
61
  } from "./chunk-42IT4BG2.js";
54
- import {
55
- normalizeName
56
- } from "./chunk-NOTA6TEI.js";
57
- import {
58
- resolveActiveTagGroup,
59
- resolveTagColor,
60
- tagAttrKey
61
- } from "./chunk-D5FANMSG.js";
62
62
 
63
63
  // src/gantt/renderer.ts
64
64
  import * as d3Scale from "d3-scale";
@@ -2143,4 +2143,4 @@ export {
2143
2143
  renderGantt,
2144
2144
  buildTagLaneRowList
2145
2145
  };
2146
- //# sourceMappingURL=chunk-HODUM6LY.js.map
2146
+ //# sourceMappingURL=chunk-NQGE76NC.js.map
@@ -5,7 +5,7 @@ import {
5
5
  normalizeNumericToken,
6
6
  parseFirstLine,
7
7
  tryParseSharedOption
8
- } from "./chunk-3KOPPSUQ.js";
8
+ } from "./chunk-E7HANW62.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail
@@ -158,4 +158,4 @@ function parseGoal(content, palette) {
158
158
  export {
159
159
  parseGoal
160
160
  };
161
- //# sourceMappingURL=chunk-5XMDSXZT.js.map
161
+ //# sourceMappingURL=chunk-NSUAU6JQ.js.map
@@ -13,7 +13,7 @@ import {
13
13
  tagAttrKey,
14
14
  validateTagGroupNames,
15
15
  validateTagValues
16
- } from "./chunk-D5FANMSG.js";
16
+ } from "./chunk-3LMUMAUS.js";
17
17
  import {
18
18
  ALL_CHART_TYPES,
19
19
  OPTION_NOCOLON_RE,
@@ -25,7 +25,7 @@ import {
25
25
  tryParseSharedOption,
26
26
  warnUnknownMetaKeys,
27
27
  withTagAliases
28
- } from "./chunk-3KOPPSUQ.js";
28
+ } from "./chunk-E7HANW62.js";
29
29
  import {
30
30
  formatDgmoError,
31
31
  makeDgmoError,
@@ -520,4 +520,4 @@ export {
520
520
  looksLikeSitemap,
521
521
  parseSitemap
522
522
  };
523
- //# sourceMappingURL=chunk-OHBIN74X.js.map
523
+ //# sourceMappingURL=chunk-NW2K6UU2.js.map
@@ -8,7 +8,7 @@ import {
8
8
  stripDefaultModifier,
9
9
  tagAttrKey,
10
10
  validateTagGroupNames
11
- } from "./chunk-D5FANMSG.js";
11
+ } from "./chunk-3LMUMAUS.js";
12
12
  import {
13
13
  MAP_DIRECTIVE_KEY_SET,
14
14
  MAP_REGISTRY,
@@ -17,7 +17,7 @@ import {
17
17
  peelRampColors,
18
18
  splitNameAndMeta,
19
19
  withTagAliases
20
- } from "./chunk-3KOPPSUQ.js";
20
+ } from "./chunk-E7HANW62.js";
21
21
  import {
22
22
  NEGATIVE_VALUE_DX,
23
23
  emit,
@@ -652,4 +652,4 @@ export {
652
652
  looksLikeMap,
653
653
  parseMap
654
654
  };
655
- //# sourceMappingURL=chunk-WOMXS5R7.js.map
655
+ //# sourceMappingURL=chunk-NYCBN7YE.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GRAPH_DX
3
3
  } from "./chunk-7TF3QOOD.js";
4
- import {
5
- tryStripDescriptionKeyword
6
- } from "./chunk-IYULMRBE.js";
7
4
  import {
8
5
  parseInArrowLabel
9
6
  } from "./chunk-RRX4Z4TH.js";
7
+ import {
8
+ tryStripDescriptionKeyword
9
+ } from "./chunk-IYULMRBE.js";
10
10
  import {
11
11
  displayName,
12
12
  normalizeName
@@ -16,7 +16,7 @@ import {
16
16
  stripDefaultModifier,
17
17
  tagAttrKey,
18
18
  validateTagGroupNames
19
- } from "./chunk-D5FANMSG.js";
19
+ } from "./chunk-3LMUMAUS.js";
20
20
  import {
21
21
  INFRA_BEHAVIOR_KEY_SET,
22
22
  INFRA_EDGE_ONLY_KEY_SET,
@@ -28,7 +28,7 @@ import {
28
28
  tryParseSharedOption,
29
29
  warnUnknownMetaKeys,
30
30
  withTagAliases
31
- } from "./chunk-3KOPPSUQ.js";
31
+ } from "./chunk-E7HANW62.js";
32
32
  import {
33
33
  isRecognizedColorName
34
34
  } from "./chunk-EXNKNJ65.js";
@@ -945,4 +945,4 @@ export {
945
945
  parseInfra,
946
946
  extractSymbols
947
947
  };
948
- //# sourceMappingURL=chunk-FXVPSTDT.js.map
948
+ //# sourceMappingURL=chunk-OMOU2V3W.js.map