@diagrammo/dgmo 0.94.0 → 0.96.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 (220) hide show
  1. package/README.md +1 -1
  2. package/dist/advanced.d.ts +97 -570
  3. package/dist/advanced.js +176 -352
  4. package/dist/block.d.ts +6 -0
  5. package/dist/block.js +59 -57
  6. package/dist/{calculator-BNH3GSJE.js → calculator-GIB7POFX.js} +2 -2
  7. package/dist/{chart-meta-BbjsRY7o.d.ts → chart-meta-uImk4eTn.d.ts} +1 -1
  8. package/dist/chart-meta.d.ts +2 -2
  9. package/dist/chart-meta.js +16 -16
  10. package/dist/{chart-types-Cppnp31G.d.ts → chart-types-CBVYiLqy.d.ts} +1 -5
  11. package/dist/{charts-d3-SZV2SFTM.js → charts-d3-IRP5VANE.js} +5 -5
  12. package/dist/{chunk-MLY5ALOV.js → chunk-2BYFNZVM.js} +2 -2
  13. package/dist/{chunk-OSSTOSXU.js → chunk-2M3K6GD2.js} +3 -6
  14. package/dist/{chunk-CDM6XMOT.js → chunk-34JOHSVE.js} +2 -2
  15. package/dist/chunk-35A3J4Z5.js +14 -0
  16. package/dist/{chunk-HI6R27YA.js → chunk-3W73ZP6W.js} +9 -4
  17. package/dist/{chunk-IHN6WDEY.js → chunk-4B45SNZH.js} +5 -5
  18. package/dist/{chunk-AULZD45V.js → chunk-5ARANBIE.js} +2 -2
  19. package/dist/{chunk-DDIOWNHS.js → chunk-5BG4OSWJ.js} +6 -6
  20. package/dist/{chunk-6JCTW74W.js → chunk-5G4DOOX2.js} +1 -1
  21. package/dist/{chunk-JT2BG7LM.js → chunk-5GU6C5WB.js} +3 -3
  22. package/dist/{chunk-EBIDNRSR.js → chunk-5H7SA5ZD.js} +1 -1
  23. package/dist/{chunk-CN4RDJDV.js → chunk-5LG526X7.js} +1 -1
  24. package/dist/{chunk-VDY2GR6U.js → chunk-67N26CER.js} +2 -2
  25. package/dist/{chunk-G3HZ4PGE.js → chunk-67RKJEKF.js} +6 -6
  26. package/dist/{chunk-D3K4U3ZM.js → chunk-6K2W3FH7.js} +8 -5
  27. package/dist/{chunk-C6G36F5S.js → chunk-7UWVHNPM.js} +4 -4
  28. package/dist/{chunk-FWVE373X.js → chunk-AQRSEQZV.js} +1 -1
  29. package/dist/{chunk-BQO24BDM.js → chunk-AUXUNV73.js} +1 -1
  30. package/dist/{chunk-3PP746YM.js → chunk-B2YVZ3QU.js} +1 -1
  31. package/dist/{chunk-QPQWY5RU.js → chunk-B5CEV7IR.js} +3 -3
  32. package/dist/{chunk-J7Q4AB23.js → chunk-B7BSRVNC.js} +2 -2
  33. package/dist/{chunk-IXHWS2HI.js → chunk-BD4O4D2A.js} +2 -2
  34. package/dist/{chunk-4TEPDQHJ.js → chunk-BUVLLK3D.js} +7 -7
  35. package/dist/{chunk-B25IWGDH.js → chunk-CD7VQCDL.js} +8 -8
  36. package/dist/{chunk-I37S3EZE.js → chunk-CP73WWLN.js} +371 -286
  37. package/dist/{chunk-GI5R5B3S.js → chunk-D7DGLJ7N.js} +2 -2
  38. package/dist/{chunk-3TWBMU7K.js → chunk-DKCVAQU3.js} +9 -9
  39. package/dist/{chunk-KBDMEOLI.js → chunk-DPNSDCR3.js} +1 -1
  40. package/dist/{chunk-BRGRIZQB.js → chunk-DWMQ24JR.js} +2 -2
  41. package/dist/{chunk-4XYZJTFO.js → chunk-EM5SA7NC.js} +11 -3
  42. package/dist/{chunk-AM42TLSZ.js → chunk-EMGNCG5C.js} +1 -1
  43. package/dist/{chunk-3KVUFHUJ.js → chunk-EPB3UEMD.js} +2 -2
  44. package/dist/{chunk-NXU4N5WT.js → chunk-EZ6BI5LL.js} +1 -1
  45. package/dist/{chunk-2ZW4NBYX.js → chunk-FBK32S4D.js} +1 -1
  46. package/dist/{chunk-2I4UQG7W.js → chunk-FHX373L5.js} +1 -1
  47. package/dist/{chunk-AQQUJEDN.js → chunk-FKJWZWNU.js} +1 -1
  48. package/dist/{chunk-TIIZIAGS.js → chunk-FUYEXLAN.js} +6 -13
  49. package/dist/{chunk-TASRGDYP.js → chunk-GEHK4UD5.js} +3 -3
  50. package/dist/{chunk-ZD3QCNB7.js → chunk-GLL237AP.js} +2 -2
  51. package/dist/{chunk-PGSGJLUR.js → chunk-GM2SLMQW.js} +2 -2
  52. package/dist/{chunk-NOQB4KMV.js → chunk-H7JVKUA5.js} +5 -5
  53. package/dist/{chunk-DNM3XZCK.js → chunk-H7RQG4PH.js} +2 -2
  54. package/dist/{chunk-7SXV7NUS.js → chunk-HH3DHNQA.js} +2 -2
  55. package/dist/{chunk-GWQRTA5W.js → chunk-HZX4QZGR.js} +1 -1
  56. package/dist/{chunk-KBEWVCK3.js → chunk-I2I2FKAK.js} +1 -1
  57. package/dist/{chunk-2HSHWPTO.js → chunk-I3ZRIMR7.js} +10 -10
  58. package/dist/{chunk-7IOZ6JE4.js → chunk-IKXQ6NVR.js} +7 -7
  59. package/dist/{chunk-XJQ6Z3FO.js → chunk-IQZSKWE5.js} +3 -3
  60. package/dist/{chunk-3GUEYQGL.js → chunk-ITDF3MWD.js} +3 -3
  61. package/dist/{chunk-JXGSTBW6.js → chunk-IU7XKZA6.js} +2 -2
  62. package/dist/{chunk-RITTLIDJ.js → chunk-IZFJZCF6.js} +4 -4
  63. package/dist/{chunk-DRQSB72S.js → chunk-JBAFAKGX.js} +7 -7
  64. package/dist/{chunk-VSAKEMDD.js → chunk-JCC3B2GS.js} +8 -2
  65. package/dist/{chunk-66JTY4AN.js → chunk-JRN2CRXJ.js} +1 -1
  66. package/dist/{chunk-2FDQEQID.js → chunk-K2SFH3GJ.js} +2 -2
  67. package/dist/{chunk-NM5V5EKY.js → chunk-K2WXMXI2.js} +1 -1
  68. package/dist/{chunk-XKCRKD2B.js → chunk-KDWEOT54.js} +24 -12
  69. package/dist/{chunk-PVWIBKV2.js → chunk-KQAPFIYF.js} +2 -2
  70. package/dist/{chunk-4SACN2C5.js → chunk-LGUFJ7Y2.js} +1 -1
  71. package/dist/{chunk-AYUSD4Z6.js → chunk-LRHPBWOY.js} +5 -5
  72. package/dist/{chunk-DLJJOCIT.js → chunk-M4ZUIW3J.js} +3 -3
  73. package/dist/{chunk-CIHHTS5B.js → chunk-MAYTYF5S.js} +3 -3
  74. package/dist/{chunk-5ZUZZDW5.js → chunk-MVUNMJKO.js} +46 -52
  75. package/dist/{chunk-KBHT5XEY.js → chunk-MYHR3PMH.js} +194 -35
  76. package/dist/{chunk-NBAAIRFP.js → chunk-NI4L6HEU.js} +4 -1
  77. package/dist/{chunk-A2A2I4Z4.js → chunk-O2HNVNKO.js} +2 -2
  78. package/dist/{chunk-2XMTZ5JR.js → chunk-OAZ6BIIB.js} +3 -3
  79. package/dist/{chunk-IZHGT5HD.js → chunk-OO4GUE4E.js} +3 -3
  80. package/dist/{chunk-KSZB7TIY.js → chunk-OYGJZA24.js} +8 -8
  81. package/dist/{chunk-H6BT45SN.js → chunk-P2GNNEMN.js} +1 -1
  82. package/dist/{chunk-5HAYT43L.js → chunk-P3PSLC2K.js} +22 -6
  83. package/dist/{chunk-HHVIE45A.js → chunk-P6LKX3IQ.js} +4 -4
  84. package/dist/{chunk-NMS5XSLX.js → chunk-PGD6CNWO.js} +1 -1
  85. package/dist/{chunk-NVZ7R4EK.js → chunk-PWZEJNO6.js} +3 -3
  86. package/dist/{chunk-NPDVWFAQ.js → chunk-QEU6VM4O.js} +1 -1
  87. package/dist/{chunk-UIEKW4SG.js → chunk-R5L5E3TC.js} +0 -1
  88. package/dist/{chunk-2WQ3YZMN.js → chunk-RGFVHYDP.js} +2 -2
  89. package/dist/{chunk-YQMIKX54.js → chunk-RIK6WUMO.js} +62 -29
  90. package/dist/{chunk-BH2SF4TT.js → chunk-RTRORHSP.js} +1 -1
  91. package/dist/{chunk-4SP6OUO7.js → chunk-RVOSA4RR.js} +845 -193
  92. package/dist/{chunk-LKZCUFOW.js → chunk-SCYVGPLI.js} +2 -2
  93. package/dist/{chunk-XIUGSUE4.js → chunk-SIABEREK.js} +6 -2
  94. package/dist/{chunk-P7TRFL4P.js → chunk-SQBCNEJB.js} +4 -1
  95. package/dist/{chunk-3ZP3QC47.js → chunk-THTYCJGF.js} +2 -2
  96. package/dist/{chunk-4EX4OKGZ.js → chunk-TIPNNOZC.js} +5 -5
  97. package/dist/{chunk-UZ7EZW3B.js → chunk-TO53KK2P.js} +6 -1
  98. package/dist/{chunk-2MS623GW.js → chunk-TPCP2UOI.js} +3 -3
  99. package/dist/{chunk-Y3SIQN4J.js → chunk-TUOZ6AXC.js} +2 -2
  100. package/dist/{chunk-KRPLP5LP.js → chunk-U6N547QA.js} +1 -1
  101. package/dist/{chunk-RESEJSCV.js → chunk-VJ7NLYFE.js} +2 -2
  102. package/dist/{chunk-UXNA2H2V.js → chunk-VLI6AWS3.js} +2 -2
  103. package/dist/{chunk-TDAGJJPZ.js → chunk-VNAPEZX2.js} +1 -1
  104. package/dist/{chunk-EBVVMUAA.js → chunk-VVTCUIPN.js} +1 -1
  105. package/dist/{chunk-FVTYJUXR.js → chunk-W5MMPPGX.js} +2 -2
  106. package/dist/{chunk-BQMHJ6OW.js → chunk-WGNP5ND2.js} +20 -12
  107. package/dist/{chunk-5OTA2PUH.js → chunk-WLGOIMTI.js} +2 -2
  108. package/dist/{chunk-IGJEKO2P.js → chunk-WTPS73RM.js} +4 -4
  109. package/dist/{chunk-R6EGUTIV.js → chunk-YFIUABSF.js} +2 -2
  110. package/dist/{chunk-7PJBJ2DU.js → chunk-YSGOXZBB.js} +1 -1
  111. package/dist/{chunk-ZECJ7Q6C.js → chunk-YVIPJGFG.js} +2 -2
  112. package/dist/{chunk-5KKZXA44.js → chunk-ZBOIYC2G.js} +4 -2
  113. package/dist/{chunk-RBVFNUAL.js → chunk-ZOKD5F7M.js} +2 -2
  114. package/dist/{collapse-BSPH3BFM.js → collapse-6X5S2S3G.js} +2 -1
  115. package/dist/completion-registry.js +6 -37
  116. package/dist/copy-image.d.ts +34 -0
  117. package/dist/copy-image.js +96 -0
  118. package/dist/countdown.js +1 -1
  119. package/dist/dgmo-router-EPBQKQW2.js +100 -0
  120. package/dist/{dimensions-DS6FWLRY.js → dimensions-DBCRBZIU.js} +4 -4
  121. package/dist/editor.js +2 -7
  122. package/dist/{flowchart-parser-NZXASOZG.js → flowchart-parser-SM5LHF2D.js} +4 -4
  123. package/dist/{flowchart-renderer-PTCRIANF.js → flowchart-renderer-PPS2GTTD.js} +10 -10
  124. package/dist/highlight.js +3 -8
  125. package/dist/index.d.ts +42 -6
  126. package/dist/index.js +62 -57
  127. package/dist/{layout-MXHR3P35.js → layout-3J72UULM.js} +3 -3
  128. package/dist/{layout-U3AH6M7J.js → layout-AF4KA5B2.js} +4 -4
  129. package/dist/{layout-IT4ZTV6C.js → layout-FCFUVCRI.js} +7 -7
  130. package/dist/{layout-KV27UW25.js → layout-H2KP5A6M.js} +1 -1
  131. package/dist/{layout-ND26WVX2.js → layout-IXQNVRBE.js} +3 -3
  132. package/dist/{layout-ISSBWBH7.js → layout-KELSNWBD.js} +7 -7
  133. package/dist/{layout-JTIRCKAW.js → layout-LNVIH45F.js} +3 -3
  134. package/dist/{layout-VC3MXRB4.js → layout-MPSH3YWE.js} +7 -7
  135. package/dist/{layout-HFBK5UEG.js → layout-PPIVGJXD.js} +2 -2
  136. package/dist/{layout-RH3N46HP.js → layout-R6G4MEO3.js} +4 -3
  137. package/dist/{layout-search-BBX2BMEF.js → layout-search-C2TYUH4L.js} +5 -5
  138. package/dist/{parser-BT4NI6JY.js → parser-2AXU2MHJ.js} +3 -3
  139. package/dist/{parser-3QIFY5IN.js → parser-4BOP77CD.js} +2 -2
  140. package/dist/{parser-TAYRTCPR.js → parser-4GHAYZKZ.js} +5 -5
  141. package/dist/{parser-LTRQASGB.js → parser-5HQPPVHJ.js} +3 -3
  142. package/dist/{parser-EAQPZX2B.js → parser-5RUD4A3X.js} +3 -3
  143. package/dist/{parser-BJ7RJNUM.js → parser-6WURFLOB.js} +3 -3
  144. package/dist/{parser-R3LPEQIT.js → parser-722KLLAQ.js} +4 -4
  145. package/dist/{parser-KMKVFET2.js → parser-B7SCN7FG.js} +2 -2
  146. package/dist/{parser-TUAEX6ML.js → parser-BNRX35NT.js} +3 -3
  147. package/dist/{parser-NL73FSFI.js → parser-BPYHIG24.js} +3 -3
  148. package/dist/{parser-3LT3ZUUC.js → parser-CRJYLOHA.js} +2 -2
  149. package/dist/{parser-NUU3DVW4.js → parser-DGLKH4NT.js} +2 -2
  150. package/dist/{parser-5UZV32ZI.js → parser-DRUGM3R6.js} +2 -2
  151. package/dist/{parser-KLCSFQ3J.js → parser-DWV2CYBS.js} +3 -3
  152. package/dist/{parser-2IKPQVKX.js → parser-F3JJNIFC.js} +3 -3
  153. package/dist/{parser-EFF22GYO.js → parser-F75WNYMK.js} +3 -3
  154. package/dist/{parser-RTWPFKXG.js → parser-GBQY3WOZ.js} +3 -3
  155. package/dist/{parser-F7NDRPMA.js → parser-GM5B2EPW.js} +3 -3
  156. package/dist/{parser-K2DI26SC.js → parser-H6HT2WFQ.js} +2 -2
  157. package/dist/{parser-PEZ7RN43.js → parser-HM6FEX5K.js} +3 -3
  158. package/dist/{parser-YG625J5H.js → parser-L7SI3PW4.js} +4 -4
  159. package/dist/{parser-GMQJISZ6.js → parser-LUJX7AXO.js} +2 -2
  160. package/dist/{parser-A3AN76RQ.js → parser-MWINQNQW.js} +3 -3
  161. package/dist/{parser-KJPPUN4D.js → parser-OHBBDCG4.js} +2 -2
  162. package/dist/{parser-4RFY7D52.js → parser-QWTECQEC.js} +5 -5
  163. package/dist/{parser-4TBSWULQ.js → parser-TTGZYLYD.js} +3 -3
  164. package/dist/{parser-6TDWUKM5.js → parser-UHKROC7Z.js} +3 -3
  165. package/dist/{parser-H5OODY5N.js → parser-W6NX3AIV.js} +3 -3
  166. package/dist/{parser-GDLKUBTO.js → parser-WIKXZP4X.js} +2 -2
  167. package/dist/{parser-4Y6PODW6.js → parser-XEJP37GQ.js} +3 -3
  168. package/dist/{parser-RCIEKN7Y.js → parser-Y7QXD2UR.js} +2 -2
  169. package/dist/{parser-7QKQ4P4P.js → parser-ZV756RMP.js} +5 -5
  170. package/dist/{parser-KKF6Y5MM.js → parser-ZWWQZ4XZ.js} +4 -3
  171. package/dist/{redraw-AHW7EUUF.js → redraw-BZ4GI6IC.js} +6 -4
  172. package/dist/{redraw-STZ4WJAI.js → redraw-LEOXS7C6.js} +3 -3
  173. package/dist/{renderer-J3GPDK73.js → renderer-2MCV75JQ.js} +12 -12
  174. package/dist/{renderer-TINHO2IO.js → renderer-2V2XY2V7.js} +4 -4
  175. package/dist/{renderer-PHLCYVSN.js → renderer-5AEDVLAA.js} +8 -7
  176. package/dist/{renderer-W4MUMXJE.js → renderer-5GP7YUS4.js} +3 -3
  177. package/dist/{renderer-FMTLSOCX.js → renderer-66NCRXSC.js} +6 -6
  178. package/dist/{renderer-AM7P4LN7.js → renderer-6HU44IGJ.js} +4 -4
  179. package/dist/{renderer-JJ4QW3SK.js → renderer-7C76HP5W.js} +6 -6
  180. package/dist/{renderer-O6RP52CQ.js → renderer-7RAMBMTH.js} +6 -6
  181. package/dist/{renderer-M5DUMITP.js → renderer-BYLQ37T2.js} +8 -8
  182. package/dist/{renderer-7OGGV327.js → renderer-CVCCW7UT.js} +4 -4
  183. package/dist/{renderer-QTPWRRJ7.js → renderer-D6EH5UQ6.js} +6 -6
  184. package/dist/renderer-E3334XLT.js +84 -0
  185. package/dist/{renderer-IXBOT6DU.js → renderer-F7YGMEGQ.js} +2 -2
  186. package/dist/{renderer-XCLARXCK.js → renderer-GKY55M4Z.js} +5 -5
  187. package/dist/{renderer-KJ3V5BYP.js → renderer-LFZKG2GR.js} +5 -5
  188. package/dist/{renderer-2LYX6NHN.js → renderer-LJPUCG3U.js} +5 -5
  189. package/dist/{renderer-DAZWHNLI.js → renderer-MGF2NNGG.js} +3 -3
  190. package/dist/{renderer-HX6ICPDX.js → renderer-MVBAQP3M.js} +4 -4
  191. package/dist/{renderer-XOWDERU2.js → renderer-MZIWP55B.js} +5 -5
  192. package/dist/{renderer-MWZC7TMD.js → renderer-N6PM5CSG.js} +7 -7
  193. package/dist/{renderer-ISQJ2ELA.js → renderer-N75E3UVY.js} +5 -5
  194. package/dist/{renderer-53B523PM.js → renderer-ONENGXFQ.js} +7 -7
  195. package/dist/{renderer-RUSQJFFC.js → renderer-PEJF6R2I.js} +2 -2
  196. package/dist/{renderer-36446HSH.js → renderer-QZJZIAT3.js} +2 -2
  197. package/dist/{renderer-UTEEJDGB.js → renderer-SYRH3B62.js} +6 -6
  198. package/dist/{renderer-LNP23NSM.js → renderer-TS5NHOQD.js} +6 -6
  199. package/dist/{renderer-J7ZSTJUE.js → renderer-VNJOZPSH.js} +7 -7
  200. package/dist/{renderer-OUDHH5MV.js → renderer-VNUDN6F5.js} +12 -12
  201. package/dist/{renderer-JYHA6R2D.js → renderer-VUXAAGUG.js} +5 -5
  202. package/dist/{renderer-BXD5KVSR.js → renderer-YJVQT7QG.js} +6 -6
  203. package/dist/{renderer-radial-WFUX3Z3C.js → renderer-radial-4R7AKETK.js} +5 -5
  204. package/dist/{state-parser-KPVW5CRI.js → state-parser-EQBBEKHR.js} +5 -5
  205. package/dist/{state-renderer-ZVEI265C.js → state-renderer-SOGZ2CNN.js} +12 -12
  206. package/dist/{themes-DzIH3Hjv.d.ts → themes-CbJL3w8L.d.ts} +1 -1
  207. package/docs/ai-integration.md +5 -6
  208. package/docs/language-reference.md +69 -105
  209. package/gallery/fixtures/whiteboard.dgmo +1 -0
  210. package/package.json +5 -1
  211. package/dist/chunk-6BQSDF77.js +0 -734
  212. package/dist/chunk-NWSPPGIE.js +0 -60
  213. package/dist/chunk-VBMRZCMQ.js +0 -1465
  214. package/dist/chunk-WZBZXZ6T.js +0 -636
  215. package/dist/dgmo-router-E5O7RJSW.js +0 -101
  216. package/dist/layout-D4L44NRG.js +0 -11
  217. package/dist/parser-YHDGKPZI.js +0 -14
  218. package/dist/renderer-4SE7R22T.js +0 -85
  219. package/dist/renderer-WPN2SXGT.js +0 -29
  220. package/gallery/fixtures/sketch.dgmo +0 -22
package/dist/advanced.js CHANGED
@@ -1,9 +1,38 @@
1
+ import {
2
+ renderWireframe
3
+ } from "./chunk-TUOZ6AXC.js";
4
+ import {
5
+ layoutSwimlane
6
+ } from "./chunk-ERT7XDQW.js";
7
+ import {
8
+ renderSwimlaneForExport
9
+ } from "./chunk-W5MMPPGX.js";
10
+ import {
11
+ computeRadarLayout,
12
+ getRadarGeometry,
13
+ renderQuadrantFocus,
14
+ renderQuadrantFocusForExport,
15
+ renderTechRadar,
16
+ renderTechRadarForExport
17
+ } from "./chunk-ZOKD5F7M.js";
18
+ import {
19
+ layoutTreemapRadial,
20
+ renderTreemapRadial,
21
+ renderTreemapRadialForExport
22
+ } from "./chunk-PWZEJNO6.js";
23
+ import {
24
+ layoutTreemap,
25
+ renderTreemap,
26
+ renderTreemapForExport
27
+ } from "./chunk-WTPS73RM.js";
1
28
  import {
2
29
  renderVersionControl,
3
30
  renderVersionControlForExport
4
31
  } from "./chunk-V2NQV7VL.js";
5
32
  import {
6
33
  IMAGE_NOT_UPLOADED,
34
+ WHITEBOARD_CONTAINER_FONT,
35
+ WHITEBOARD_CONTAINER_WEIGHT,
7
36
  WHITEBOARD_LABEL_MIN_FONT,
8
37
  WHITEBOARD_NOTE_FONT,
9
38
  clipWhiteboardConnector,
@@ -17,98 +46,44 @@ import {
17
46
  whiteboardBounds,
18
47
  whiteboardConnectorAttachments,
19
48
  whiteboardConnectorPaint,
49
+ whiteboardDrawBand,
50
+ whiteboardDrawOrder,
51
+ whiteboardFilePath,
52
+ whiteboardFileWave,
53
+ whiteboardFileWavePoints,
54
+ whiteboardLabelCentreY,
20
55
  whiteboardLabelHeight,
56
+ whiteboardLabelPosition,
21
57
  whiteboardLabelShift,
22
58
  whiteboardLabelWidth,
23
59
  whiteboardNoteFold,
24
60
  whiteboardSegmentMidpoint,
25
61
  whiteboardShapeAt,
26
62
  whiteboardShapeContains,
63
+ whiteboardShapeLabel,
27
64
  wrapWhiteboardLabel
28
- } from "./chunk-KBHT5XEY.js";
65
+ } from "./chunk-MYHR3PMH.js";
29
66
  import {
30
67
  layoutWireframe
31
68
  } from "./chunk-GLCMUTO5.js";
32
- import {
33
- renderWireframe
34
- } from "./chunk-Y3SIQN4J.js";
35
- import {
36
- renderSitemap,
37
- renderSitemapForExport
38
- } from "./chunk-B25IWGDH.js";
39
- import {
40
- SKETCH_AUTO_LAYOUT_DEFAULTS,
41
- SKETCH_FOOT_H,
42
- SKETCH_FOOT_W,
43
- SKETCH_GEOMETRY,
44
- SKETCH_HALF_SLOT_X,
45
- SKETCH_HALF_SLOT_Y,
46
- SKETCH_SEP,
47
- SKETCH_SLOT_X,
48
- SKETCH_SLOT_Y,
49
- collapseSketch,
50
- layoutSketch,
51
- sketchSlotToPx
52
- } from "./chunk-6BQSDF77.js";
53
- import {
54
- CONTAINER_FILL_OPACITY,
55
- CONTAINER_STROKE_OPACITY,
56
- CONTAINER_STROKE_WIDTH,
57
- SKETCH_VISUALS,
58
- renderSketch,
59
- renderSketchForExport,
60
- sketchColors,
61
- sketchContainerFill,
62
- sketchEdgeGeometry,
63
- sketchLabelSpot,
64
- sketchNeutralFill
65
- } from "./chunk-VBMRZCMQ.js";
66
- import {
67
- layoutSwimlane
68
- } from "./chunk-ERT7XDQW.js";
69
- import {
70
- renderSwimlaneForExport
71
- } from "./chunk-FVTYJUXR.js";
72
- import {
73
- computeRadarLayout,
74
- getRadarGeometry,
75
- renderQuadrantFocus,
76
- renderQuadrantFocusForExport,
77
- renderTechRadar,
78
- renderTechRadarForExport
79
- } from "./chunk-RBVFNUAL.js";
80
- import {
81
- layoutTreemapRadial,
82
- renderTreemapRadial,
83
- renderTreemapRadialForExport
84
- } from "./chunk-NVZ7R4EK.js";
85
- import {
86
- layoutTreemap,
87
- renderTreemap,
88
- renderTreemapForExport
89
- } from "./chunk-IGJEKO2P.js";
90
69
  import {
91
70
  measurePertAnalysisBlock,
92
71
  renderPert,
93
72
  renderPertAnalysisBlock,
94
73
  renderPertForExport
95
- } from "./chunk-KSZB7TIY.js";
96
- import {
97
- layoutPert,
98
- relayoutPert
99
- } from "./chunk-NBAAIRFP.js";
74
+ } from "./chunk-OYGJZA24.js";
100
75
  import {
101
76
  renderPyramid,
102
77
  renderPyramidForExport
103
- } from "./chunk-BH2SF4TT.js";
78
+ } from "./chunk-RTRORHSP.js";
104
79
  import {
105
80
  renderRaci,
106
81
  renderRaciForExport
107
- } from "./chunk-MLY5ALOV.js";
82
+ } from "./chunk-2BYFNZVM.js";
108
83
  import {
109
84
  renderRing,
110
85
  renderRingForExport
111
- } from "./chunk-GWQRTA5W.js";
86
+ } from "./chunk-HZX4QZGR.js";
112
87
  import {
113
88
  applyCollapseProjection,
114
89
  applyGroupOrdering,
@@ -118,27 +93,27 @@ import {
118
93
  computeActivations,
119
94
  groupMessagesBySection,
120
95
  renderSequenceDiagram
121
- } from "./chunk-XKCRKD2B.js";
96
+ } from "./chunk-KDWEOT54.js";
122
97
  import {
123
98
  layoutSitemap
124
- } from "./chunk-4XYZJTFO.js";
99
+ } from "./chunk-EM5SA7NC.js";
125
100
  import {
126
101
  collapseSitemapTree
127
102
  } from "./chunk-UNCCZ3NU.js";
128
103
  import {
129
- mapContentAspect,
130
- mapExportDimensions
131
- } from "./chunk-2I4UQG7W.js";
104
+ renderSitemap,
105
+ renderSitemapForExport
106
+ } from "./chunk-CD7VQCDL.js";
132
107
  import {
133
108
  collapseMindmapTree
134
- } from "./chunk-UZ7EZW3B.js";
109
+ } from "./chunk-TO53KK2P.js";
135
110
  import {
136
111
  renderMindmap,
137
112
  renderMindmapForExport
138
- } from "./chunk-4TEPDQHJ.js";
113
+ } from "./chunk-BUVLLK3D.js";
139
114
  import {
140
115
  layoutMindmap
141
- } from "./chunk-BQMHJ6OW.js";
116
+ } from "./chunk-WGNP5ND2.js";
142
117
  import {
143
118
  collapseOrgTree,
144
119
  focusOrgTree
@@ -147,10 +122,10 @@ import "./chunk-BS7SV7C3.js";
147
122
  import {
148
123
  renderOrg,
149
124
  renderOrgForExport
150
- } from "./chunk-DRQSB72S.js";
125
+ } from "./chunk-JBAFAKGX.js";
151
126
  import {
152
127
  layoutOrg
153
- } from "./chunk-A2A2I4Z4.js";
128
+ } from "./chunk-O2HNVNKO.js";
154
129
  import {
155
130
  analyzePert,
156
131
  buildSimulationContext,
@@ -159,6 +134,10 @@ import {
159
134
  simulateCanonical,
160
135
  simulateFast
161
136
  } from "./chunk-FOTH2WWP.js";
137
+ import {
138
+ layoutPert,
139
+ relayoutPert
140
+ } from "./chunk-NI4L6HEU.js";
162
141
  import {
163
142
  renderLiveLinkCard
164
143
  } from "./chunk-A6YINTY6.js";
@@ -169,14 +148,18 @@ import {
169
148
  renderMap,
170
149
  renderMapForExport,
171
150
  renderMapLayout
172
- } from "./chunk-HHVIE45A.js";
151
+ } from "./chunk-P6LKX3IQ.js";
152
+ import {
153
+ mapContentAspect,
154
+ mapExportDimensions
155
+ } from "./chunk-FHX373L5.js";
173
156
  import {
174
157
  albersSkewFallback,
175
158
  layoutMap,
176
159
  mapBackgroundColor,
177
160
  mapNeutralLandColor,
178
161
  rebuildMapProjection
179
- } from "./chunk-AM42TLSZ.js";
162
+ } from "./chunk-EMGNCG5C.js";
180
163
  import {
181
164
  decodeFeatures,
182
165
  regionAt
@@ -184,18 +167,18 @@ import {
184
167
  import {
185
168
  renderJourneyMap,
186
169
  renderJourneyMapForExport
187
- } from "./chunk-G3HZ4PGE.js";
170
+ } from "./chunk-67RKJEKF.js";
188
171
  import {
189
172
  computeCardArchive,
190
173
  computeCardMove,
191
174
  isArchiveColumn,
192
175
  renderKanban,
193
176
  renderKanbanForExport
194
- } from "./chunk-RITTLIDJ.js";
177
+ } from "./chunk-IZFJZCF6.js";
195
178
  import {
196
179
  renderState,
197
180
  renderStateForExport
198
- } from "./chunk-3TWBMU7K.js";
181
+ } from "./chunk-DKCVAQU3.js";
199
182
  import {
200
183
  collapseStateGroups
201
184
  } from "./chunk-SQ7IY53Q.js";
@@ -205,7 +188,7 @@ import {
205
188
  inferRoles,
206
189
  parseAndLayoutInfra,
207
190
  renderInfra
208
- } from "./chunk-4EX4OKGZ.js";
191
+ } from "./chunk-TIPNNOZC.js";
209
192
  import {
210
193
  computeInfra
211
194
  } from "./chunk-EQJ3U5EW.js";
@@ -214,42 +197,42 @@ import {
214
197
  } from "./chunk-5P2L5QXE.js";
215
198
  import {
216
199
  layoutJourneyMap
217
- } from "./chunk-EBIDNRSR.js";
200
+ } from "./chunk-5H7SA5ZD.js";
218
201
  import {
219
202
  calculateSchedule,
220
203
  collectTasks,
221
204
  resolveTaskName
222
- } from "./chunk-66JTY4AN.js";
205
+ } from "./chunk-JRN2CRXJ.js";
223
206
  import {
224
207
  buildTagLaneRowList,
225
208
  renderGantt
226
- } from "./chunk-IZHGT5HD.js";
209
+ } from "./chunk-OO4GUE4E.js";
227
210
  import {
228
211
  renderGoal,
229
212
  renderGoalForExport
230
- } from "./chunk-FWVE373X.js";
231
- import "./chunk-CN4RDJDV.js";
213
+ } from "./chunk-AQRSEQZV.js";
214
+ import "./chunk-5LG526X7.js";
232
215
  import {
233
216
  renderFlowchart,
234
217
  renderFlowchartForExport
235
- } from "./chunk-AYUSD4Z6.js";
218
+ } from "./chunk-LRHPBWOY.js";
236
219
  import "./chunk-26EVL454.js";
237
220
  import {
238
221
  layoutGraph
239
- } from "./chunk-JT2BG7LM.js";
222
+ } from "./chunk-5GU6C5WB.js";
240
223
  import {
241
224
  renderERDiagram,
242
225
  renderERDiagramForExport
243
- } from "./chunk-7IOZ6JE4.js";
226
+ } from "./chunk-IKXQ6NVR.js";
244
227
  import {
245
228
  layoutERDiagram
246
- } from "./chunk-HI6R27YA.js";
229
+ } from "./chunk-3W73ZP6W.js";
247
230
  import {
248
231
  clearEventLineMuted,
249
232
  focusEventLine,
250
233
  renderEventLine,
251
234
  renderEventLineForExport
252
- } from "./chunk-I37S3EZE.js";
235
+ } from "./chunk-CP73WWLN.js";
253
236
  import "./chunk-R2K5L4UA.js";
254
237
  import {
255
238
  layoutFamily
@@ -257,12 +240,12 @@ import {
257
240
  import {
258
241
  renderFamily,
259
242
  renderFamilyForExport
260
- } from "./chunk-C6G36F5S.js";
243
+ } from "./chunk-7UWVHNPM.js";
261
244
  import "./chunk-IVKC4GID.js";
262
245
  import {
263
246
  renderClassDiagram,
264
247
  renderClassDiagramForExport
265
- } from "./chunk-DDIOWNHS.js";
248
+ } from "./chunk-5BG4OSWJ.js";
266
249
  import {
267
250
  renderClock,
268
251
  renderClockForExport
@@ -276,11 +259,11 @@ import {
276
259
  computeCycleLayout,
277
260
  renderCycle,
278
261
  renderCycleForExport
279
- } from "./chunk-OSSTOSXU.js";
262
+ } from "./chunk-2M3K6GD2.js";
280
263
  import {
281
264
  renderBracket,
282
265
  renderBracketForExport
283
- } from "./chunk-XJQ6Z3FO.js";
266
+ } from "./chunk-IQZSKWE5.js";
284
267
  import {
285
268
  renderC4ComponentsForExport,
286
269
  renderC4Containers,
@@ -289,41 +272,42 @@ import {
289
272
  renderC4ContextForExport,
290
273
  renderC4Deployment,
291
274
  renderC4DeploymentForExport
292
- } from "./chunk-IHN6WDEY.js";
275
+ } from "./chunk-4B45SNZH.js";
293
276
  import {
294
277
  CYLINDER_RY,
278
+ FILE_WAVE,
295
279
  QUEUE_CAP,
296
280
  layoutC4Components,
297
281
  layoutC4Containers,
298
282
  layoutC4Context,
299
283
  layoutC4Deployment,
300
284
  rollUpContextRelationships
301
- } from "./chunk-5KKZXA44.js";
285
+ } from "./chunk-ZBOIYC2G.js";
302
286
  import {
303
287
  layoutClassDiagram
304
- } from "./chunk-RESEJSCV.js";
305
- import "./chunk-TDAGJJPZ.js";
288
+ } from "./chunk-VJ7NLYFE.js";
289
+ import "./chunk-VNAPEZX2.js";
306
290
  import {
307
291
  authoredCollapsedIds,
308
292
  layoutBlock,
309
293
  renderBlock,
310
294
  renderBlockForExport
311
- } from "./chunk-QPQWY5RU.js";
295
+ } from "./chunk-B5CEV7IR.js";
312
296
  import {
313
297
  renderBody,
314
298
  renderBodyForExport
315
- } from "./chunk-ZD3QCNB7.js";
299
+ } from "./chunk-GLL237AP.js";
316
300
  import {
317
301
  renderBoxesAndLines,
318
302
  renderBoxesAndLinesForExport
319
- } from "./chunk-NOQB4KMV.js";
303
+ } from "./chunk-H7JVKUA5.js";
320
304
  import "./chunk-B5DHFFZP.js";
321
305
  import "./chunk-XBJJP2HN.js";
322
- import "./chunk-6JCTW74W.js";
306
+ import "./chunk-5G4DOOX2.js";
323
307
  import "./chunk-VGAMBOOC.js";
324
308
  import {
325
309
  layoutBoxesAndLines
326
- } from "./chunk-3ZP3QC47.js";
310
+ } from "./chunk-THTYCJGF.js";
327
311
  import "./chunk-WTTIODDV.js";
328
312
  import "./chunk-IN7XI6NO.js";
329
313
  import {
@@ -342,12 +326,13 @@ import {
342
326
  renderSlopeChart,
343
327
  renderVenn,
344
328
  renderWordCloud
345
- } from "./chunk-4SP6OUO7.js";
329
+ } from "./chunk-RVOSA4RR.js";
346
330
  import {
347
331
  renderLegendSvg,
348
332
  renderLegendSvgFromConfig
349
- } from "./chunk-YQMIKX54.js";
350
- import "./chunk-2FDQEQID.js";
333
+ } from "./chunk-RIK6WUMO.js";
334
+ import "./chunk-6K2W3FH7.js";
335
+ import "./chunk-K2SFH3GJ.js";
351
336
  import {
352
337
  CHART_TYPE_DESCRIPTIONS,
353
338
  chartTypeParsers,
@@ -357,45 +342,39 @@ import {
357
342
  knownChartTypeIds,
358
343
  parseDgmo,
359
344
  parseVisualization
360
- } from "./chunk-5ZUZZDW5.js";
345
+ } from "./chunk-MVUNMJKO.js";
361
346
  import {
362
347
  getExtendedChartLegendGroups,
363
348
  getSimpleChartLegendGroups,
364
349
  parseChart,
365
350
  parseDataRowValues,
366
351
  parseExtendedChart
367
- } from "./chunk-H6BT45SN.js";
368
- import {
369
- parsePyramid
370
- } from "./chunk-3PP746YM.js";
352
+ } from "./chunk-P2GNNEMN.js";
371
353
  import {
372
354
  parseRing
373
- } from "./chunk-NM5V5EKY.js";
355
+ } from "./chunk-K2WXMXI2.js";
374
356
  import {
375
357
  parseTreemap
376
- } from "./chunk-3KVUFHUJ.js";
358
+ } from "./chunk-EPB3UEMD.js";
377
359
  import "./chunk-EOYPX6SF.js";
378
360
  import "./chunk-KMU65FYM.js";
379
361
  import {
380
362
  parseVersionControl
381
- } from "./chunk-2ZW4NBYX.js";
363
+ } from "./chunk-FBK32S4D.js";
382
364
  import {
383
365
  looksLikeMap,
384
366
  parseMap
385
- } from "./chunk-AULZD45V.js";
386
- import {
387
- parseSketch
388
- } from "./chunk-WZBZXZ6T.js";
389
- import "./chunk-NWSPPGIE.js";
367
+ } from "./chunk-5ARANBIE.js";
390
368
  import {
391
369
  isWhiteboardImageRef,
392
370
  parseWhiteboard
393
- } from "./chunk-5HAYT43L.js";
371
+ } from "./chunk-P3PSLC2K.js";
394
372
  import {
395
373
  WHITEBOARD_COLORS,
396
374
  WHITEBOARD_ELEMENT_KEYWORDS,
397
375
  WHITEBOARD_FILLS,
398
376
  WHITEBOARD_HEADS,
377
+ WHITEBOARD_LABEL_POSITIONS,
399
378
  WHITEBOARD_NOTE_COLOR,
400
379
  WHITEBOARD_NOTE_HEIGHT,
401
380
  WHITEBOARD_NOTE_WIDTH,
@@ -403,38 +382,42 @@ import {
403
382
  WHITEBOARD_STROKE_STYLES,
404
383
  isWhiteboardColor,
405
384
  isWhiteboardShapeKind
406
- } from "./chunk-P7TRFL4P.js";
385
+ } from "./chunk-SQBCNEJB.js";
407
386
  import {
408
387
  parseSwimlane
409
- } from "./chunk-J7Q4AB23.js";
388
+ } from "./chunk-B7BSRVNC.js";
410
389
  import {
411
390
  parseMindmap
412
- } from "./chunk-XIUGSUE4.js";
391
+ } from "./chunk-SIABEREK.js";
392
+ import "./chunk-35A3J4Z5.js";
413
393
  import {
414
394
  parseTechRadar
415
- } from "./chunk-EBVVMUAA.js";
395
+ } from "./chunk-VVTCUIPN.js";
396
+ import {
397
+ parsePyramid
398
+ } from "./chunk-B2YVZ3QU.js";
416
399
  import {
417
400
  parseKanban
418
- } from "./chunk-LKZCUFOW.js";
401
+ } from "./chunk-SCYVGPLI.js";
419
402
  import {
420
403
  INFRA_BEHAVIOR_KEYS,
421
404
  extractSymbols as extractSymbols4,
422
405
  parseInfra
423
- } from "./chunk-UXNA2H2V.js";
406
+ } from "./chunk-VLI6AWS3.js";
424
407
  import {
425
408
  parseJourneyMap
426
- } from "./chunk-PGSGJLUR.js";
409
+ } from "./chunk-GM2SLMQW.js";
427
410
  import {
428
411
  parseGoal
429
- } from "./chunk-7PJBJ2DU.js";
412
+ } from "./chunk-YSGOXZBB.js";
430
413
  import "./chunk-EPDBWATV.js";
431
414
  import {
432
415
  parseEventLine
433
- } from "./chunk-3GUEYQGL.js";
416
+ } from "./chunk-ITDF3MWD.js";
434
417
  import {
435
418
  formatDateLabel,
436
419
  renderTimeline
437
- } from "./chunk-TASRGDYP.js";
420
+ } from "./chunk-GEHK4UD5.js";
438
421
  import "./chunk-6XLMTAEX.js";
439
422
  import {
440
423
  computeTimeTicks
@@ -442,22 +425,22 @@ import {
442
425
  import {
443
426
  addDurationToDate,
444
427
  parseTimelineDate
445
- } from "./chunk-BQO24BDM.js";
428
+ } from "./chunk-AUXUNV73.js";
446
429
  import {
447
430
  parseFamily
448
- } from "./chunk-R6EGUTIV.js";
431
+ } from "./chunk-YFIUABSF.js";
449
432
  import "./chunk-QQJUTGQH.js";
450
433
  import "./chunk-2CW5ZTNH.js";
451
434
  import {
452
435
  parseGantt
453
- } from "./chunk-PVWIBKV2.js";
436
+ } from "./chunk-KQAPFIYF.js";
454
437
  import "./chunk-TOHTKLKE.js";
455
438
  import {
456
439
  normalizePlace,
457
440
  parseClock,
458
441
  resolvePlace,
459
442
  searchZones
460
- } from "./chunk-NXU4N5WT.js";
443
+ } from "./chunk-EZ6BI5LL.js";
461
444
  import {
462
445
  fixedParts,
463
446
  fixedTimeCells,
@@ -473,7 +456,7 @@ import {
473
456
  import {
474
457
  parseCountdown,
475
458
  targetToMs as targetToMs2
476
- } from "./chunk-KBEWVCK3.js";
459
+ } from "./chunk-I2I2FKAK.js";
477
460
  import {
478
461
  applyOrdinalTemplate,
479
462
  dayDelta,
@@ -495,37 +478,37 @@ import {
495
478
  } from "./chunk-3DPOIW3W.js";
496
479
  import {
497
480
  parseCycle
498
- } from "./chunk-NPDVWFAQ.js";
481
+ } from "./chunk-QEU6VM4O.js";
499
482
  import {
500
483
  parseBracket
501
- } from "./chunk-2WQ3YZMN.js";
484
+ } from "./chunk-RGFVHYDP.js";
502
485
  import {
503
486
  layoutBracket
504
487
  } from "./chunk-ZI6WC24V.js";
505
488
  import "./chunk-CYRB2JTN.js";
506
489
  import {
507
490
  parseC4
508
- } from "./chunk-IXHWS2HI.js";
491
+ } from "./chunk-BD4O4D2A.js";
509
492
  import {
510
493
  parseBlock
511
- } from "./chunk-BRGRIZQB.js";
494
+ } from "./chunk-DWMQ24JR.js";
512
495
  import "./chunk-XSVWUOUZ.js";
513
496
  import {
514
497
  parseBody
515
- } from "./chunk-JXGSTBW6.js";
498
+ } from "./chunk-IU7XKZA6.js";
516
499
  import "./chunk-H7AXCRO7.js";
517
500
  import {
518
501
  parseBoxesAndLines
519
- } from "./chunk-2XMTZ5JR.js";
502
+ } from "./chunk-OAZ6BIIB.js";
520
503
  import {
521
504
  ScaleContext
522
505
  } from "./chunk-24YPR5EH.js";
523
- import "./chunk-UIEKW4SG.js";
506
+ import "./chunk-R5L5E3TC.js";
524
507
  import "./chunk-VLC6WNRD.js";
525
508
  import "./chunk-XCKNFFKM.js";
526
509
  import {
527
510
  renderLegendD3
528
- } from "./chunk-NMS5XSLX.js";
511
+ } from "./chunk-PGD6CNWO.js";
529
512
  import {
530
513
  computeLegendLayout,
531
514
  controlsGroupCapsuleWidth,
@@ -535,7 +518,7 @@ import {
535
518
  import {
536
519
  normalizePertSourceForShare,
537
520
  resolveOrgImports
538
- } from "./chunk-AQQUJEDN.js";
521
+ } from "./chunk-FKJWZWNU.js";
539
522
  import {
540
523
  decodeDiagramUrl,
541
524
  decodeViewState,
@@ -544,44 +527,44 @@ import {
544
527
  } from "./chunk-6OSGENN5.js";
545
528
  import {
546
529
  parseDgmoChartType
547
- } from "./chunk-2HSHWPTO.js";
530
+ } from "./chunk-I3ZRIMR7.js";
548
531
  import {
549
532
  allTasks,
550
533
  parseRaci
551
- } from "./chunk-KRPLP5LP.js";
534
+ } from "./chunk-U6N547QA.js";
552
535
  import {
553
536
  parseLiveLink
554
- } from "./chunk-KBDMEOLI.js";
537
+ } from "./chunk-DPNSDCR3.js";
555
538
  import {
556
539
  isSequenceBlock,
557
540
  isSequenceNote,
558
541
  looksLikeSequence,
559
542
  parseSequenceDgmo
560
- } from "./chunk-VSAKEMDD.js";
543
+ } from "./chunk-JCC3B2GS.js";
561
544
  import {
562
545
  findOrgNodeIdByName,
563
546
  parseOrg
564
- } from "./chunk-5OTA2PUH.js";
547
+ } from "./chunk-WLGOIMTI.js";
565
548
  import {
566
549
  looksLikeSitemap,
567
550
  parseSitemap
568
- } from "./chunk-ZECJ7Q6C.js";
551
+ } from "./chunk-YVIPJGFG.js";
569
552
  import {
570
553
  extractPertSymbols,
571
554
  looksLikePert,
572
555
  parsePert
573
- } from "./chunk-CDM6XMOT.js";
556
+ } from "./chunk-34JOHSVE.js";
574
557
  import "./chunk-2SKMEL7V.js";
575
558
  import {
576
559
  extractSymbols as extractSymbols3,
577
560
  looksLikeFlowchart,
578
561
  parseFlowchart
579
- } from "./chunk-DNM3XZCK.js";
562
+ } from "./chunk-H7RQG4PH.js";
580
563
  import "./chunk-TIVMAITN.js";
581
564
  import {
582
565
  looksLikeState,
583
566
  parseState
584
- } from "./chunk-2MS623GW.js";
567
+ } from "./chunk-TPCP2UOI.js";
585
568
  import "./chunk-NXMESY4J.js";
586
569
  import "./chunk-EQW6HOP4.js";
587
570
  import "./chunk-MKSTL6DR.js";
@@ -593,7 +576,7 @@ import {
593
576
  extractSymbols as extractSymbols2,
594
577
  looksLikeERDiagram,
595
578
  parseERDiagram
596
- } from "./chunk-CIHHTS5B.js";
579
+ } from "./chunk-MAYTYF5S.js";
597
580
  import {
598
581
  RULE_COUNT,
599
582
  inferParticipantType
@@ -603,7 +586,7 @@ import {
603
586
  extractSymbols,
604
587
  looksLikeClassDiagram,
605
588
  parseClassDiagram
606
- } from "./chunk-DLJJOCIT.js";
589
+ } from "./chunk-M4ZUIW3J.js";
607
590
  import {
608
591
  palettes
609
592
  } from "./chunk-GXCDD6NG.js";
@@ -626,13 +609,13 @@ import {
626
609
  parseInArrowLabel,
627
610
  validateLabelCharacters
628
611
  } from "./chunk-N7VMGZCU.js";
629
- import "./chunk-7SXV7NUS.js";
612
+ import "./chunk-HH3DHNQA.js";
630
613
  import {
631
614
  displayName,
632
615
  getOrCreateName,
633
616
  normalizeName
634
617
  } from "./chunk-NOTA6TEI.js";
635
- import "./chunk-VDY2GR6U.js";
618
+ import "./chunk-67N26CER.js";
636
619
  import "./chunk-7WEYXYLC.js";
637
620
  import {
638
621
  parseInlineMarkdown,
@@ -644,7 +627,7 @@ import {
644
627
  } from "./chunk-ICLB27PZ.js";
645
628
  import {
646
629
  parseWireframe
647
- } from "./chunk-GI5R5B3S.js";
630
+ } from "./chunk-D7DGLJ7N.js";
648
631
  import {
649
632
  RACI_ERROR_CODES,
650
633
  RACI_WARNING_CODES,
@@ -657,13 +640,13 @@ import {
657
640
  resolveTagColor,
658
641
  resolveTagValue,
659
642
  tagAttrKey
660
- } from "./chunk-4SACN2C5.js";
643
+ } from "./chunk-LGUFJ7Y2.js";
661
644
  import {
662
645
  ALL_CHART_TYPES,
663
646
  chartTypes,
664
647
  measureIndent,
665
648
  parseFirstLine
666
- } from "./chunk-TIIZIAGS.js";
649
+ } from "./chunk-FUYEXLAN.js";
667
650
  import "./chunk-Z6QFHH4D.js";
668
651
  import {
669
652
  LEGEND_CAPSULE_PAD,
@@ -772,165 +755,6 @@ function collapseBoxesAndLines(parsed, collapsedGroups) {
772
755
  };
773
756
  }
774
757
 
775
- // src/sketch/emit.ts
776
- var LIFTED_KEYS = /* @__PURE__ */ new Set(["shape", "at", "as"]);
777
- function atText(at) {
778
- return at ? `at: ${String(at.c)} ${String(at.r)}` : null;
779
- }
780
- function safeValue(value) {
781
- return value.includes(",") ? value.replace(/,/g, " \u2014") : value;
782
- }
783
- function tailFor(thing, at, extra = []) {
784
- const alias = thing.alias !== void 0 ? ` as ${thing.alias}` : "";
785
- const parts = [];
786
- const atPart = atText(at);
787
- if (atPart) parts.push(atPart);
788
- for (const [k, v] of Object.entries(thing.metadata)) {
789
- if (LIFTED_KEYS.has(k)) continue;
790
- parts.push(`${k}: ${safeValue(v)}`);
791
- }
792
- parts.push(...extra);
793
- return `${alias}${parts.length > 0 ? ` ${parts.join(", ")}` : ""}`;
794
- }
795
- function shapeLine(node, indent) {
796
- const out = [`${indent}${node.label}${tailFor(node, node.at)}`];
797
- if (node.description !== void 0 && node.description !== "") {
798
- for (const line2 of node.description.split("\n")) {
799
- out.push(`${indent} > ${line2}`);
800
- }
801
- }
802
- return out;
803
- }
804
- function boxLine(box, indent) {
805
- const extra = box.collapsed ? ["collapsed"] : [];
806
- return `${indent}[${box.label}]${tailFor(box, box.at, extra)}`;
807
- }
808
- function edgeText(edge, target) {
809
- const d = edge.dashed;
810
- const label = edge.label ?? "";
811
- const tail = tailFor(edge, null);
812
- if (label === "") {
813
- if (edge.heads === "none") return `${d ? "~~" : "--"} ${target}${tail}`;
814
- if (edge.heads === "both") return `${d ? "<~>" : "<->"} ${target}${tail}`;
815
- return `${d ? "~>" : "->"} ${target}${tail}`;
816
- }
817
- const l = safeValue(label);
818
- if (edge.heads === "none")
819
- return `${d ? "~" : "-"}${l}${d ? "~" : "-"} ${target}${tail}`;
820
- if (edge.heads === "both")
821
- return `${d ? "<~" : "<-"}${l}${d ? "~>" : "->"} ${target}${tail}`;
822
- return `${d ? "~" : "-"}${l}${d ? "~>" : "->"} ${target}${tail}`;
823
- }
824
- function emitSketch(parsed) {
825
- const lines = [];
826
- lines.push(parsed.title ? `sketch ${parsed.title}` : "sketch");
827
- const o = parsed.options;
828
- if (o.noLegend) lines.push("no-legend");
829
- if (o.legendInline === true) lines.push("legend-inline");
830
- if (o.fillMode === "solid") lines.push("fill-solid");
831
- if (o.fillMode === "outline") lines.push("fill-outline");
832
- if (o.noDescriptions) lines.push("no-descriptions");
833
- for (const group of parsed.tagGroups) {
834
- lines.push("");
835
- lines.push(
836
- group.alias !== void 0 ? `tag ${group.name} as ${group.alias}` : `tag ${group.name}`
837
- );
838
- for (const entry of group.entries) {
839
- const isDefault = group.defaultValue !== void 0 && entry.value === group.defaultValue;
840
- const colour = entry.authoredColor === void 0 ? "" : ` ${entry.authoredColor}`;
841
- lines.push(` ${entry.value}${colour}${isDefault ? " default" : ""}`);
842
- }
843
- }
844
- const refOf = (id) => {
845
- const node = parsed.nodes.find((n) => n.id === id);
846
- if (node) return node.alias ?? node.label;
847
- const box = parsed.boxes.find((b) => b.id === id);
848
- if (box) return box.alias ?? `[${box.label}]`;
849
- return id;
850
- };
851
- const edgesBySource = /* @__PURE__ */ new Map();
852
- for (const edge of parsed.edges) {
853
- const list = edgesBySource.get(edge.sourceId);
854
- if (list) list.push(edge);
855
- else edgesBySource.set(edge.sourceId, [edge]);
856
- }
857
- const emitEdgesFor = (id, indent) => {
858
- for (const edge of edgesBySource.get(id) ?? []) {
859
- lines.push(`${indent}${edgeText(edge, refOf(edge.targetId))}`);
860
- }
861
- };
862
- const nodesByBox = /* @__PURE__ */ new Map();
863
- const rootNodes = [];
864
- for (const node of parsed.nodes) {
865
- if (node.boxLabel === void 0) {
866
- rootNodes.push(node);
867
- continue;
868
- }
869
- const list = nodesByBox.get(node.boxLabel);
870
- if (list) list.push(node);
871
- else nodesByBox.set(node.boxLabel, [node]);
872
- }
873
- const emitBox = (box, depth) => {
874
- const indent = " ".repeat(depth);
875
- lines.push("");
876
- lines.push(boxLine(box, indent));
877
- emitEdgesFor(box.id, `${indent} `);
878
- for (const node of nodesByBox.get(box.label) ?? []) {
879
- lines.push(...shapeLine(node, `${indent} `));
880
- emitEdgesFor(node.id, `${indent} `);
881
- }
882
- for (const childId of box.childBoxes) {
883
- const child = parsed.boxes.find((b) => b.id === childId);
884
- if (child) emitBox(child, depth + 1);
885
- }
886
- };
887
- for (const node of rootNodes) {
888
- lines.push("");
889
- lines.push(...shapeLine(node, ""));
890
- emitEdgesFor(node.id, " ");
891
- }
892
- for (const box of parsed.boxes) {
893
- if (box.parentBoxId !== null) continue;
894
- emitBox(box, 0);
895
- }
896
- return `${lines.join("\n")}
897
- `;
898
- }
899
- function canonicalSketch(parsed) {
900
- const nameOf = (id) => {
901
- const node = parsed.nodes.find((n) => n.id === id);
902
- if (node) return `n:${node.label}`;
903
- const box = parsed.boxes.find((b) => b.id === id);
904
- if (box) return `b:${box.label}`;
905
- return `?:${id}`;
906
- };
907
- const meta = (m) => Object.entries(m).filter(([k]) => !LIFTED_KEYS.has(k)).sort(([a], [b]) => a.localeCompare(b)).map(([k, v]) => `${k}=${v}`).join(";");
908
- return {
909
- title: parsed.title,
910
- options: JSON.stringify({
911
- noLegend: parsed.options.noLegend,
912
- legendInline: parsed.options.legendInline === true,
913
- fillMode: parsed.options.fillMode ?? null,
914
- noDescriptions: parsed.options.noDescriptions
915
- }),
916
- tags: parsed.tagGroups.map(
917
- (g) => `${g.name}[${g.entries.map((e) => e.value).join("|")}]${g.defaultValue ?? ""}`
918
- ).sort().join(","),
919
- nodes: parsed.nodes.map(
920
- (n) => `${n.label}|${n.at ? `${String(n.at.c)},${String(n.at.r)}` : "-"}|${n.boxLabel ?? "-"}|${n.description ?? ""}|${meta(n.metadata)}`
921
- ).sort(),
922
- boxes: parsed.boxes.map(
923
- (b) => `${b.label}|${b.at ? `${String(b.at.c)},${String(b.at.r)}` : "-"}|${String(b.collapsed)}|${b.parentBoxId === null ? "-" : parsed.boxes.find((x) => x.id === b.parentBoxId)?.label ?? "?"}|${meta(b.metadata)}`
924
- ).sort(),
925
- edges: parsed.edges.map(
926
- (e) => `${nameOf(e.sourceId)}->${nameOf(e.targetId)}|${e.label ?? ""}|${e.heads}|${String(e.dashed)}`
927
- ).sort()
928
- };
929
- }
930
- function sameSketch(a, b) {
931
- return JSON.stringify(canonicalSketch(a)) === JSON.stringify(canonicalSketch(b));
932
- }
933
-
934
758
  // src/whiteboard/emit.ts
935
759
  var NEEDS_QUOTES_RE = /(^|\s)[a-z][a-z-]*:(\s|$)|^["']/;
936
760
  function nameText(name) {
@@ -957,7 +781,8 @@ function emitWhiteboardElement(el) {
957
781
  `at: ${el.x} ${el.y}`,
958
782
  `size: ${el.width} ${el.height}`,
959
783
  ...colorPart(el.color),
960
- ...el.fill === "tint" ? [] : [`fill: ${el.fill}`]
784
+ ...el.fill === "tint" ? [] : [`fill: ${el.fill}`],
785
+ ...el.labelPosition ? [`label: ${el.labelPosition}`] : []
961
786
  ]);
962
787
  case "note":
963
788
  return line("note", el.text, [
@@ -1513,7 +1338,7 @@ function redrawIfStale(node, svg, now2, resolvedMs, tz) {
1513
1338
  }
1514
1339
  if (!svg.hasAttribute("data-dgmo-countdown-redraw")) return;
1515
1340
  redrawing.add(svg);
1516
- void import("./redraw-STZ4WJAI.js").then((m) => {
1341
+ void import("./redraw-LEOXS7C6.js").then((m) => {
1517
1342
  m.redrawCountdown(svg, resolvedMs);
1518
1343
  redrawing.delete(svg);
1519
1344
  }).catch(() => {
@@ -2448,7 +2273,10 @@ function textFromSvg(svg) {
2448
2273
  return parts.join("").replace(
2449
2274
  /&#x([0-9a-f]+);/gi,
2450
2275
  (_, hex) => String.fromCodePoint(parseInt(hex, 16))
2451
- ).replace(/&#(\d+);/g, (_, dec) => String.fromCodePoint(parseInt(dec, 10))).replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
2276
+ ).replace(
2277
+ /&#(\d+);/g,
2278
+ (_, dec) => String.fromCodePoint(parseInt(dec, 10))
2279
+ ).replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
2452
2280
  }
2453
2281
  function uncoveredCharacters(text, coverage) {
2454
2282
  const byScript = /* @__PURE__ */ new Map();
@@ -2480,6 +2308,17 @@ function fontPortabilityWarning(runs) {
2480
2308
  }).join(", ");
2481
2309
  return `This diagram uses characters the bundled Inter font does not contain: ${described}. They were drawn with a font installed on this machine, so the image is correct here \u2014 but a machine without a font for those characters draws nothing at all, with no error. Install a font covering them wherever this runs, or check the output there.`;
2482
2310
  }
2311
+ var EMOJI_ATOM = [
2312
+ "[\\u{1F1E6}-\\u{1F1FF}]{2}",
2313
+ // a flag: two regional indicators
2314
+ "[0-9#*]\\uFE0F?\\u20E3",
2315
+ // a keycap
2316
+ "(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}(?=\\uFE0F)|(?=\\p{Extended_Pictographic})[\\u{1F000}-\\u{1FFFF}])[\\u{1F3FB}-\\u{1F3FF}]?\\uFE0F?[\\u{E0020}-\\u{E007F}]*"
2317
+ ].join("|");
2318
+ var EMOJI = new RegExp(
2319
+ `(?:${EMOJI_ATOM})(?:\\u200D(?:${EMOJI_ATOM}))*`,
2320
+ "gu"
2321
+ );
2483
2322
 
2484
2323
  // src/cloud-space.ts
2485
2324
  var CLOUD_API = "https://api.diagrammo.app";
@@ -2636,13 +2475,11 @@ export {
2636
2475
  ARROW_DIAGNOSTIC_CODES,
2637
2476
  CHART_TYPE_DESCRIPTIONS,
2638
2477
  CLOUD_API,
2639
- CONTAINER_FILL_OPACITY,
2640
- CONTAINER_STROKE_OPACITY,
2641
- CONTAINER_STROKE_WIDTH,
2642
2478
  CYLINDER_RY,
2643
2479
  CloudSpaceError,
2644
2480
  DEFAULT_FONT_NAME,
2645
2481
  EXAMPLES_SHOWN,
2482
+ FILE_WAVE,
2646
2483
  FLOWCHART_STRUCTURE_CODE,
2647
2484
  FONT_FAMILY,
2648
2485
  DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY,
@@ -2667,22 +2504,15 @@ export {
2667
2504
  RACI_WARNING_CODES,
2668
2505
  RECOGNIZED_COLOR_NAMES,
2669
2506
  RULE_COUNT,
2670
- SKETCH_AUTO_LAYOUT_DEFAULTS,
2671
- SKETCH_FOOT_H,
2672
- SKETCH_FOOT_W,
2673
- SKETCH_GEOMETRY,
2674
- SKETCH_HALF_SLOT_X,
2675
- SKETCH_HALF_SLOT_Y,
2676
- SKETCH_SEP,
2677
- SKETCH_SLOT_X,
2678
- SKETCH_SLOT_Y,
2679
- SKETCH_VISUALS,
2680
2507
  ScaleContext,
2681
2508
  WHITEBOARD_COLORS,
2509
+ WHITEBOARD_CONTAINER_FONT,
2510
+ WHITEBOARD_CONTAINER_WEIGHT,
2682
2511
  WHITEBOARD_ELEMENT_KEYWORDS,
2683
2512
  WHITEBOARD_FILLS,
2684
2513
  WHITEBOARD_HEADS,
2685
2514
  WHITEBOARD_LABEL_MIN_FONT,
2515
+ WHITEBOARD_LABEL_POSITIONS,
2686
2516
  WHITEBOARD_NOTE_COLOR,
2687
2517
  WHITEBOARD_NOTE_FONT,
2688
2518
  WHITEBOARD_NOTE_HEIGHT,
@@ -2705,7 +2535,6 @@ export {
2705
2535
  buildSimulationContext,
2706
2536
  buildTagLaneRowList,
2707
2537
  calculateSchedule,
2708
- canonicalSketch,
2709
2538
  catppuccinPalette,
2710
2539
  chartTypeParsers,
2711
2540
  chartTypes,
@@ -2716,7 +2545,6 @@ export {
2716
2545
  collapseMindmapTree,
2717
2546
  collapseOrgTree,
2718
2547
  collapseSitemapTree,
2719
- collapseSketch,
2720
2548
  collapseStateGroups,
2721
2549
  collectDiagramRoles,
2722
2550
  collectTasks,
@@ -2739,7 +2567,6 @@ export {
2739
2567
  decodeDiagramUrl,
2740
2568
  decodeViewState,
2741
2569
  displayName,
2742
- emitSketch,
2743
2570
  emitWhiteboard,
2744
2571
  emitWhiteboardElement,
2745
2572
  encodeDiagramUrl,
@@ -2816,7 +2643,6 @@ export {
2816
2643
  layoutOrg,
2817
2644
  layoutPert,
2818
2645
  layoutSitemap,
2819
- layoutSketch,
2820
2646
  layoutSwimlane,
2821
2647
  layoutTreemap,
2822
2648
  layoutTreemapRadial,
@@ -2888,7 +2714,6 @@ export {
2888
2714
  parseSequenceDgmo,
2889
2715
  parseSequenceDgmo as parseSequenceDiagram,
2890
2716
  parseSitemap,
2891
- parseSketch,
2892
2717
  parseState,
2893
2718
  parseSwimlane,
2894
2719
  parseTechRadar,
@@ -2976,8 +2801,6 @@ export {
2976
2801
  renderSequenceDiagram,
2977
2802
  renderSitemap,
2978
2803
  renderSitemapForExport,
2979
- renderSketch,
2980
- renderSketchForExport,
2981
2804
  renderSlopeChart,
2982
2805
  renderState,
2983
2806
  renderStateForExport,
@@ -3005,7 +2828,6 @@ export {
3005
2828
  resolveTagValue,
3006
2829
  resolveTaskName,
3007
2830
  rollUpContextRelationships,
3008
- sameSketch,
3009
2831
  sameWhiteboard,
3010
2832
  sampleBetaPert,
3011
2833
  searchMapLocations,
@@ -3015,12 +2837,6 @@ export {
3015
2837
  shapeFill,
3016
2838
  simulateCanonical,
3017
2839
  simulateFast,
3018
- sketchColors,
3019
- sketchContainerFill,
3020
- sketchEdgeGeometry,
3021
- sketchLabelSpot,
3022
- sketchNeutralFill,
3023
- sketchSlotToPx,
3024
2840
  slatePalette,
3025
2841
  startClocks,
3026
2842
  startCountdowns,
@@ -3050,13 +2866,21 @@ export {
3050
2866
  whiteboardBounds,
3051
2867
  whiteboardConnectorAttachments,
3052
2868
  whiteboardConnectorPaint,
2869
+ whiteboardDrawBand,
2870
+ whiteboardDrawOrder,
2871
+ whiteboardFilePath,
2872
+ whiteboardFileWave,
2873
+ whiteboardFileWavePoints,
2874
+ whiteboardLabelCentreY,
3053
2875
  whiteboardLabelHeight,
2876
+ whiteboardLabelPosition,
3054
2877
  whiteboardLabelShift,
3055
2878
  whiteboardLabelWidth,
3056
2879
  whiteboardNoteFold,
3057
2880
  whiteboardSegmentMidpoint,
3058
2881
  whiteboardShapeAt,
3059
2882
  whiteboardShapeContains,
2883
+ whiteboardShapeLabel,
3060
2884
  wrapTextToWidth,
3061
2885
  wrapWhiteboardLabel
3062
2886
  };