@diagrammo/dgmo 0.50.1 → 0.51.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 (235) hide show
  1. package/dist/advanced.d.ts +6640 -0
  2. package/dist/advanced.js +207 -161
  3. package/dist/{analyzer-UYKBXAKR.js → analyzer-BJ54GIFB.js} +3 -3
  4. package/dist/auto.css +31 -8
  5. package/dist/auto.d.ts +60 -0
  6. package/dist/auto.js +169 -133
  7. package/dist/auto.mjs +2245 -1030
  8. package/dist/block.css +28 -8
  9. package/dist/block.d.ts +130 -0
  10. package/dist/block.js +103 -68
  11. package/dist/{charts-d3-LR6D3D7A.js → charts-d3-7E4B4IMW.js} +9 -9
  12. package/dist/{chunk-6IAA2QQ2.js → chunk-2EQMXBBQ.js} +2 -2
  13. package/dist/{chunk-XJLKLU4D.js → chunk-2ILHQOL3.js} +3 -3
  14. package/dist/{chunk-SXRTRMEE.js → chunk-2UJSV2VT.js} +3 -3
  15. package/dist/{chunk-LE4MYMLI.js → chunk-32XPAAET.js} +5 -5
  16. package/dist/{chunk-NU3XLTGP.js → chunk-332ZR4QU.js} +4 -4
  17. package/dist/{chunk-F7BFXWNQ.js → chunk-3JLKYGBQ.js} +2 -2
  18. package/dist/{chunk-QROYX7TT.js → chunk-3LV2NCB6.js} +3 -3
  19. package/dist/{chunk-ZAD4HV2G.js → chunk-3ODS2VGL.js} +99 -99
  20. package/dist/{chunk-3XGZF2QJ.js → chunk-3YSQZ75W.js} +6 -6
  21. package/dist/{chunk-FJUNPCYI.js → chunk-467TVMQL.js} +2 -2
  22. package/dist/{chunk-HHXOONLX.js → chunk-4B5YISOR.js} +38 -1
  23. package/dist/{chunk-6HJBFVLO.js → chunk-4QZ43D7I.js} +3 -3
  24. package/dist/{chunk-4S52SK6G.js → chunk-4VWJ4LW2.js} +15 -8
  25. package/dist/chunk-4XFBQT5O.js +35 -0
  26. package/dist/{chunk-2C56LEML.js → chunk-5F5ELR3V.js} +3 -3
  27. package/dist/{chunk-EAMEADTV.js → chunk-5PDTIBLV.js} +83 -21
  28. package/dist/{chunk-C2CVAM3U.js → chunk-5PZT4DQG.js} +160 -87
  29. package/dist/{chunk-IAEC4KLA.js → chunk-5QKQSSPO.js} +2 -2
  30. package/dist/{chunk-5OWVC2A6.js → chunk-5SVOCD5W.js} +6 -6
  31. package/dist/{chunk-VBYSIOOY.js → chunk-5WPNFSXP.js} +3 -3
  32. package/dist/{chunk-4MJ7M6YL.js → chunk-5X6YQA2J.js} +7 -7
  33. package/dist/{chunk-JJUOHGX2.js → chunk-65WJYYKJ.js} +4 -4
  34. package/dist/{chunk-3UIKSPFB.js → chunk-6BQFET7X.js} +3 -3
  35. package/dist/{chunk-U2HGPLZS.js → chunk-6H7O2OPM.js} +14 -1
  36. package/dist/{chunk-DZXYF2F5.js → chunk-6K2M4VSR.js} +3 -3
  37. package/dist/{chunk-PGEGPSCZ.js → chunk-6MNGECP2.js} +2 -2
  38. package/dist/{chunk-3XPUDB7B.js → chunk-6NFYEQDX.js} +266 -38
  39. package/dist/{chunk-4XK3FLFB.js → chunk-6NYWYNBI.js} +3 -3
  40. package/dist/{chunk-TWQUYVP3.js → chunk-7DF4J4RL.js} +4 -4
  41. package/dist/{chunk-H73FP42Q.js → chunk-7DYOELRK.js} +3 -3
  42. package/dist/{chunk-L3UHP6TD.js → chunk-7L4UJOY6.js} +1 -2
  43. package/dist/{chunk-QJP6PG7F.js → chunk-AB7INMR5.js} +9 -9
  44. package/dist/{chunk-3LKM6FMW.js → chunk-AE7II3E3.js} +2 -2
  45. package/dist/{chunk-BTUTZMPT.js → chunk-AFIEPDLX.js} +97 -42
  46. package/dist/chunk-APKUAJ2L.js +220 -0
  47. package/dist/{chunk-X6EZPSW6.js → chunk-AXW3M6OQ.js} +7 -7
  48. package/dist/{chunk-66RUL3XF.js → chunk-B63YB7X3.js} +5 -5
  49. package/dist/{chunk-DSWVNQVS.js → chunk-BGP54HVR.js} +4 -59
  50. package/dist/{chunk-3NODSS6A.js → chunk-BYJBIALT.js} +7 -7
  51. package/dist/{chunk-3YPY3OXD.js → chunk-CC4YRBWV.js} +2 -2
  52. package/dist/{chunk-HLJVEAOF.js → chunk-DY7XLRHK.js} +8 -33
  53. package/dist/{chunk-OMNGQPEZ.js → chunk-E7Y3SYKW.js} +3 -3
  54. package/dist/{chunk-HTMN2Z6U.js → chunk-EDA6C7MV.js} +50 -7
  55. package/dist/{chunk-7L3R6I3U.js → chunk-ENRS56GC.js} +3 -3
  56. package/dist/{chunk-2KGXHFYK.js → chunk-EXOQP75F.js} +7 -7
  57. package/dist/{chunk-BBGDM4NQ.js → chunk-F3FYUFUH.js} +26 -8
  58. package/dist/{chunk-GL5UZ6NY.js → chunk-FC5I2KXV.js} +3 -3
  59. package/dist/{chunk-VVW3F3MD.js → chunk-FTBZV6NE.js} +9 -9
  60. package/dist/{chunk-7QKLIMRZ.js → chunk-G3PF3S7P.js} +41 -46
  61. package/dist/{chunk-J6K7RP6P.js → chunk-GD6L76WD.js} +3 -3
  62. package/dist/{chunk-I2WKW7C7.js → chunk-GGHRAITI.js} +3 -3
  63. package/dist/{chunk-YIA4LEX4.js → chunk-GNSFLJAA.js} +96 -4
  64. package/dist/{chunk-IUMPEA64.js → chunk-GROLTAWZ.js} +4 -4
  65. package/dist/{chunk-Q4V4XQWV.js → chunk-GTWKD3QT.js} +2 -2
  66. package/dist/{chunk-F2L5GCQ4.js → chunk-GU46PPT3.js} +3 -3
  67. package/dist/{chunk-6IUAK7RZ.js → chunk-H6PI3KJT.js} +2 -2
  68. package/dist/{chunk-SCQ5VPUF.js → chunk-HFMYN6N2.js} +2 -2
  69. package/dist/{chunk-GKC3HILQ.js → chunk-I2QZFCS2.js} +27 -4
  70. package/dist/{chunk-MCZ5LBZD.js → chunk-IE477RQZ.js} +7 -7
  71. package/dist/{chunk-3Y2DRD7S.js → chunk-IEDMFNU7.js} +3 -3
  72. package/dist/{chunk-M5RXSRO2.js → chunk-IEWG6J7C.js} +4 -4
  73. package/dist/{chunk-P7CE7LXL.js → chunk-IUJODQKX.js} +6 -6
  74. package/dist/{chunk-NWED7CYO.js → chunk-IUO34HKW.js} +6 -6
  75. package/dist/{chunk-NX4EQS3U.js → chunk-J76PIKAT.js} +2 -2
  76. package/dist/{chunk-O7WP4ZD4.js → chunk-JED6ZDEE.js} +2 -2
  77. package/dist/{chunk-6BFZKBGD.js → chunk-JJXGQIRV.js} +2 -2
  78. package/dist/{chunk-O7NUCTFU.js → chunk-JM4LEPY3.js} +2 -2
  79. package/dist/{chunk-VDOOQZUD.js → chunk-JSSX2SX4.js} +4 -4
  80. package/dist/{chunk-SQLNBA64.js → chunk-KFNWFNAA.js} +3 -3
  81. package/dist/{chunk-VVZRV54S.js → chunk-KJGG2JKQ.js} +143 -82
  82. package/dist/{chunk-OTAL43EH.js → chunk-LV4BETUU.js} +8 -2
  83. package/dist/{chunk-VUJGMJE6.js → chunk-MVN25IF6.js} +4 -4
  84. package/dist/{chunk-CLD2OKV7.js → chunk-MX2EY5Y7.js} +2 -2
  85. package/dist/{chunk-Y4RNXEAO.js → chunk-ND76YJCN.js} +139 -25
  86. package/dist/{chunk-KFZYNWWO.js → chunk-NEQ6GJXB.js} +4 -4
  87. package/dist/{chunk-PFHVU7UA.js → chunk-NI3XQBPB.js} +2 -2
  88. package/dist/{chunk-WW32K72E.js → chunk-OJTXTQA2.js} +9 -9
  89. package/dist/{chunk-YNRDWYZP.js → chunk-OQKP2X3D.js} +170 -51
  90. package/dist/{chunk-AHGF2YYA.js → chunk-OTOHI4JO.js} +2 -2
  91. package/dist/{chunk-HEVYAHLW.js → chunk-OU7HLO7I.js} +4 -4
  92. package/dist/{chunk-GBE54KY6.js → chunk-OZPBJM5Q.js} +3 -3
  93. package/dist/{chunk-EOFPYPAU.js → chunk-P3NRSSUU.js} +51 -11
  94. package/dist/{chunk-TSA237IM.js → chunk-PZDBOK2Q.js} +2 -2
  95. package/dist/{chunk-3P2DKJCG.js → chunk-Q62FEYK3.js} +2 -2
  96. package/dist/{chunk-DFTFPYUD.js → chunk-QHI5XVUJ.js} +7 -7
  97. package/dist/{chunk-HQCHYB5F.js → chunk-QOOUC2J5.js} +2 -2
  98. package/dist/{chunk-XDXNDSKO.js → chunk-QZPEGJOM.js} +5 -2
  99. package/dist/{chunk-TN35C5KM.js → chunk-RAHVMKBG.js} +2 -2
  100. package/dist/chunk-RBDIYLA5.js +267 -0
  101. package/dist/{chunk-OTQKUHRS.js → chunk-RBHWPDBB.js} +3 -3
  102. package/dist/{chunk-BH3UYK36.js → chunk-RLFVAKEO.js} +3 -3
  103. package/dist/{chunk-3LH5CLP4.js → chunk-RXKTSFDL.js} +150 -5
  104. package/dist/{chunk-RZ6YKEUJ.js → chunk-TK2VQQX2.js} +6 -6
  105. package/dist/{chunk-I7F2A35O.js → chunk-TMACGPW5.js} +25 -47
  106. package/dist/{chunk-5GJYGP5Z.js → chunk-TRM2J7ZN.js} +8 -8
  107. package/dist/{chunk-BCYVE3N5.js → chunk-TYS6CSS5.js} +2 -2
  108. package/dist/{chunk-7PQYTZMA.js → chunk-U5SI5NIM.js} +95 -232
  109. package/dist/{chunk-KHEYDLMT.js → chunk-VB4UJ3H2.js} +2 -2
  110. package/dist/{chunk-HGN652MU.js → chunk-VL2O2F3W.js} +2 -2
  111. package/dist/{chunk-ONA5KPV3.js → chunk-VNSXLA6G.js} +4 -4
  112. package/dist/{chunk-CMCR5WBW.js → chunk-WBRZJOEC.js} +3 -3
  113. package/dist/{chunk-5LWQH6QV.js → chunk-WCT3NYCV.js} +1 -1
  114. package/dist/{chunk-T4VOVZT5.js → chunk-WJ7RW65H.js} +4 -4
  115. package/dist/{chunk-SCHXJTZL.js → chunk-WQLMU7VG.js} +2 -2
  116. package/dist/{chunk-C4GQDB5L.js → chunk-WRNFDFPU.js} +2 -2
  117. package/dist/{chunk-66NVRO4K.js → chunk-X7EC3L2H.js} +7 -7
  118. package/dist/{chunk-QXKWYZNR.js → chunk-XEQXCIBC.js} +3 -3
  119. package/dist/{chunk-C63UWAKM.js → chunk-Y2ZE3MSG.js} +2 -2
  120. package/dist/{chunk-FA6K3FWM.js → chunk-Y6GBQTBK.js} +6 -6
  121. package/dist/{chunk-7UEMZREK.js → chunk-YAA6IID3.js} +2 -2
  122. package/dist/{chunk-PZFVK3IH.js → chunk-YGJZWZTY.js} +2 -2
  123. package/dist/{chunk-7TV5Y53Y.js → chunk-ZJ3LS7DW.js} +3 -3
  124. package/dist/{chunk-PH5X4GIP.js → chunk-ZO27FGJS.js} +2 -2
  125. package/dist/cli.cjs +163 -147
  126. package/dist/clock.js +91 -5
  127. package/dist/countdown.js +208 -82
  128. package/dist/dgmo-router-Y2VEX46B.js +86 -0
  129. package/dist/dimensions-F7B5C4BJ.js +22 -0
  130. package/dist/editor.js +14 -1
  131. package/dist/element.d.ts +68 -0
  132. package/dist/element.js +170 -134
  133. package/dist/element.mjs +2209 -1015
  134. package/dist/{flowchart-parser-OE4WHLTF.js → flowchart-parser-MY53QWTZ.js} +4 -4
  135. package/dist/{flowchart-renderer-GPCSMTOR.js → flowchart-renderer-AQSMEMYF.js} +8 -8
  136. package/dist/highlight.js +14 -1
  137. package/dist/index.d.ts +185 -0
  138. package/dist/index.js +57 -53
  139. package/dist/{layout-7SKMFYHL.js → layout-46N4JJYK.js} +5 -5
  140. package/dist/layout-4DIUOX2T.js +14 -0
  141. package/dist/{layout-7H4H46CS.js → layout-7QXCNOVS.js} +3 -3
  142. package/dist/{layout-NXG63LWH.js → layout-AM2JWW3X.js} +4 -4
  143. package/dist/{layout-7MZ5NF2N.js → layout-CBCLPMSG.js} +5 -5
  144. package/dist/{layout-DC4TVXER.js → layout-EE6GE46Y.js} +5 -5
  145. package/dist/{layout-FGQWRYYW.js → layout-F4WO357A.js} +3 -3
  146. package/dist/layout-G23F7LDH.js +9 -0
  147. package/dist/{layout-QNUQLEHU.js → layout-HYZPWAK5.js} +3 -3
  148. package/dist/{layout-FWODLIMP.js → layout-JDJAEQ3P.js} +6 -6
  149. package/dist/layout-MUPRALE5.js +14 -0
  150. package/dist/{layout-34CLNICW.js → layout-OAC4PEAC.js} +5 -5
  151. package/dist/{layout-5BG6DFCU.js → layout-YVTNOTN4.js} +6 -6
  152. package/dist/{layout-PUQCB6AN.js → layout-ZDOSXL5G.js} +7 -7
  153. package/dist/{layout-search-QS44PI5R.js → layout-search-55FU6HD3.js} +6 -157
  154. package/dist/map-data/gazetteer.json +1 -1
  155. package/dist/{parser-36HVKU5U.js → parser-2Q2T4C3B.js} +6 -5
  156. package/dist/{parser-B5FVS7O6.js → parser-3A42DZ72.js} +3 -3
  157. package/dist/{parser-CSFUN3CT.js → parser-4RFTKAQX.js} +5 -4
  158. package/dist/{parser-IJBMRXMC.js → parser-57ILIFZ2.js} +5 -5
  159. package/dist/{parser-DFFEDKHH.js → parser-5A2UWU6B.js} +3 -3
  160. package/dist/{parser-H3XEPFPV.js → parser-5PDYJGWA.js} +4 -4
  161. package/dist/{parser-O4HIUN6G.js → parser-6BJEXUFX.js} +4 -4
  162. package/dist/{parser-MTOMTWTD.js → parser-6ZKABF5S.js} +6 -5
  163. package/dist/{parser-WAV5JRPT.js → parser-AIMHGJRR.js} +4 -4
  164. package/dist/{parser-TXND652E.js → parser-AZJ25OKK.js} +4 -4
  165. package/dist/{parser-4AI5ZN5F.js → parser-B77S5SZM.js} +3 -3
  166. package/dist/{parser-IBWNAPY4.js → parser-BEPSWJAD.js} +3 -3
  167. package/dist/{parser-D5VILGN2.js → parser-BKI42XBQ.js} +4 -4
  168. package/dist/{parser-LWKKBNSA.js → parser-C3D7MVXY.js} +3 -3
  169. package/dist/{parser-HYRTF3DO.js → parser-CDG7CHV5.js} +3 -3
  170. package/dist/{parser-CVMEDULU.js → parser-CZOJ7XQ6.js} +4 -4
  171. package/dist/{parser-AXKBDGNO.js → parser-E2RL6JYF.js} +5 -5
  172. package/dist/{parser-PSA4UBSP.js → parser-EH5VE7ZN.js} +4 -4
  173. package/dist/{parser-K3XXLMUW.js → parser-FQ6GZFMR.js} +4 -4
  174. package/dist/{parser-RV4M6AS2.js → parser-GKLZKEIK.js} +4 -4
  175. package/dist/{parser-MPCE5JBG.js → parser-H6ABKHZZ.js} +4 -4
  176. package/dist/{parser-RZPVAQVX.js → parser-I6GGFKOQ.js} +4 -3
  177. package/dist/{parser-W4PQUGX3.js → parser-JA7JQ7NF.js} +4 -4
  178. package/dist/{parser-5OXGPNBF.js → parser-KKTJ6M3Y.js} +5 -5
  179. package/dist/parser-OK22AC6Y.js +14 -0
  180. package/dist/{parser-4NO6VZ6S.js → parser-OK2ILHRT.js} +4 -4
  181. package/dist/{parser-YS7TOS2K.js → parser-OUTPNJWC.js} +3 -3
  182. package/dist/{parser-KCR2WS3V.js → parser-PORDUX5E.js} +4 -4
  183. package/dist/{parser-VKOJM7KS.js → parser-SRVFR7PM.js} +4 -4
  184. package/dist/{parser-TGQZJ5OT.js → parser-UKFFZCFJ.js} +4 -4
  185. package/dist/{parser-JJR52VAT.js → parser-UMWPLORP.js} +5 -5
  186. package/dist/{parser-AGVYTQXV.js → parser-Z4TZV2CB.js} +4 -4
  187. package/dist/{renderer-A5VE5BCI.js → renderer-2AUFT3E2.js} +8 -8
  188. package/dist/{renderer-FPE3J5VZ.js → renderer-2HTNBIF2.js} +11 -11
  189. package/dist/{renderer-R2WNIC2C.js → renderer-3K3IB7D5.js} +8 -8
  190. package/dist/{renderer-2AZ5HJFK.js → renderer-3YNIWF5I.js} +4 -4
  191. package/dist/{renderer-PJM35LJN.js → renderer-3YPZHMOU.js} +3 -3
  192. package/dist/{renderer-JCCHNECZ.js → renderer-4WR6WMVF.js} +9 -9
  193. package/dist/{renderer-HDCCZURL.js → renderer-66MERVQ2.js} +9 -9
  194. package/dist/{renderer-2QPMJ2DA.js → renderer-6RKQPNJI.js} +9 -9
  195. package/dist/{renderer-FYSVXL7M.js → renderer-ARMJBP6C.js} +11 -11
  196. package/dist/{renderer-6OKF44KS.js → renderer-CO2DW7S7.js} +13 -13
  197. package/dist/{renderer-BSR2O2H6.js → renderer-EDJ2O4S5.js} +13 -12
  198. package/dist/{renderer-CYB4LK3G.js → renderer-F7U3MFCV.js} +9 -9
  199. package/dist/{renderer-72LGR2YF.js → renderer-GD2COXVL.js} +4 -2
  200. package/dist/{renderer-B5TBNZJE.js → renderer-GQIESYEM.js} +8 -8
  201. package/dist/{renderer-ODUUOPVT.js → renderer-HCKJDFXD.js} +13 -13
  202. package/dist/{renderer-QAOBLRXV.js → renderer-HYGHO4SJ.js} +10 -10
  203. package/dist/{renderer-5DSEWF74.js → renderer-JC3RDUT7.js} +8 -8
  204. package/dist/{renderer-7RH2SI3B.js → renderer-KQB7UGDS.js} +3 -3
  205. package/dist/{renderer-45PSOL3E.js → renderer-NKJ24TEA.js} +5 -5
  206. package/dist/{renderer-AUW2BE6G.js → renderer-OYO67VZK.js} +9 -9
  207. package/dist/{renderer-DAXMXIKD.js → renderer-QIWVHWZO.js} +3 -3
  208. package/dist/{renderer-PSMMZCKH.js → renderer-QRWACQRI.js} +8 -8
  209. package/dist/{renderer-4ITCHBT7.js → renderer-QXGN5H3A.js} +5 -5
  210. package/dist/renderer-QXPP4TA2.js +27 -0
  211. package/dist/{renderer-KS7YZJE2.js → renderer-RGIYOTKJ.js} +10 -10
  212. package/dist/{renderer-FF24KZCI.js → renderer-RHT4MHFU.js} +8 -8
  213. package/dist/{renderer-PPIHO5FI.js → renderer-RYR3TJ46.js} +12 -11
  214. package/dist/{renderer-NGXZTRK6.js → renderer-SRKDNDFB.js} +8 -8
  215. package/dist/{renderer-SBS3YWU5.js → renderer-TGTUABCI.js} +8 -8
  216. package/dist/{renderer-7SD6MSBS.js → renderer-TXJFKPOG.js} +11 -11
  217. package/dist/{renderer-HVCU2C3Z.js → renderer-UV6MI64M.js} +3 -3
  218. package/dist/renderer-radial-FWABAZHB.js +21 -0
  219. package/dist/{resolver-FHBCO3PL.js → resolver-EMTGNR3D.js} +4 -3
  220. package/dist/{state-parser-3REXRK3R.js → state-parser-6T6CNMPX.js} +4 -4
  221. package/dist/{state-renderer-XYLNRWXR.js → state-renderer-AWZ3ECAX.js} +8 -8
  222. package/dist/themes-32xj5ZTW.d.ts +943 -0
  223. package/docs/language-reference.md +98 -10
  224. package/gallery/fixtures/clock.dgmo +3 -3
  225. package/gallery/fixtures/countdown-far.dgmo +2 -0
  226. package/gallery/fixtures/countdown-tz.dgmo +5 -0
  227. package/package.json +1 -1
  228. package/dist/dgmo-router-YTU3ENAX.js +0 -84
  229. package/dist/dimensions-OTBKC5M6.js +0 -22
  230. package/dist/layout-6RDJHS6E.js +0 -9
  231. package/dist/layout-J36454XU.js +0 -14
  232. package/dist/layout-LD6XTLD6.js +0 -14
  233. package/dist/parser-4WQQQXCG.js +0 -13
  234. package/dist/renderer-UYMQQCJK.js +0 -24
  235. package/dist/renderer-radial-F7X5F2VU.js +0 -21
@@ -2,14 +2,14 @@ import {
2
2
  extractSymbols,
3
3
  looksLikeFlowchart,
4
4
  parseFlowchart
5
- } from "./chunk-GBE54KY6.js";
5
+ } from "./chunk-OZPBJM5Q.js";
6
6
  import "./chunk-I46X5VUA.js";
7
7
  import "./chunk-NXMESY4J.js";
8
- import "./chunk-SCHXJTZL.js";
8
+ import "./chunk-WQLMU7VG.js";
9
9
  import "./chunk-FMDSF3OV.js";
10
10
  import "./chunk-FFUN5D66.js";
11
11
  import "./chunk-NOTA6TEI.js";
12
- import "./chunk-OTAL43EH.js";
12
+ import "./chunk-LV4BETUU.js";
13
13
  import "./chunk-TLVIHFRO.js";
14
14
  import "./chunk-CXK4DZH3.js";
15
15
  import "./chunk-5WRI5ZAA.js";
@@ -18,4 +18,4 @@ export {
18
18
  looksLikeFlowchart,
19
19
  parseFlowchart
20
20
  };
21
- //# sourceMappingURL=flowchart-parser-OE4WHLTF.js.map
21
+ //# sourceMappingURL=flowchart-parser-MY53QWTZ.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  renderFlowchart,
3
3
  renderFlowchartForExport
4
- } from "./chunk-M5RXSRO2.js";
4
+ } from "./chunk-IEWG6J7C.js";
5
5
  import "./chunk-PDKUANDZ.js";
6
- import "./chunk-SCQ5VPUF.js";
6
+ import "./chunk-HFMYN6N2.js";
7
7
  import "./chunk-LP7EC4MI.js";
8
8
  import "./chunk-JEUJOX5X.js";
9
9
  import "./chunk-6EK55ART.js";
10
- import "./chunk-BCYVE3N5.js";
10
+ import "./chunk-TYS6CSS5.js";
11
11
  import "./chunk-5DH3KYFH.js";
12
12
  import "./chunk-3HDBAXF5.js";
13
13
  import "./chunk-BMR4CIEO.js";
@@ -15,16 +15,16 @@ import "./chunk-3CIOJ5YJ.js";
15
15
  import "./chunk-YYVTBZZC.js";
16
16
  import "./chunk-A4GOY3PE.js";
17
17
  import "./chunk-6KFWC4CO.js";
18
- import "./chunk-5LWQH6QV.js";
18
+ import "./chunk-WCT3NYCV.js";
19
19
  import "./chunk-P6T66CCZ.js";
20
- import "./chunk-GBE54KY6.js";
20
+ import "./chunk-OZPBJM5Q.js";
21
21
  import "./chunk-I46X5VUA.js";
22
22
  import "./chunk-NXMESY4J.js";
23
- import "./chunk-SCHXJTZL.js";
23
+ import "./chunk-WQLMU7VG.js";
24
24
  import "./chunk-FMDSF3OV.js";
25
25
  import "./chunk-FFUN5D66.js";
26
26
  import "./chunk-NOTA6TEI.js";
27
- import "./chunk-OTAL43EH.js";
27
+ import "./chunk-LV4BETUU.js";
28
28
  import "./chunk-TLVIHFRO.js";
29
29
  import "./chunk-CXK4DZH3.js";
30
30
  import "./chunk-5WRI5ZAA.js";
@@ -32,4 +32,4 @@ export {
32
32
  renderFlowchart,
33
33
  renderFlowchartForExport
34
34
  };
35
- //# sourceMappingURL=flowchart-renderer-GPCSMTOR.js.map
35
+ //# sourceMappingURL=flowchart-renderer-AQSMEMYF.js.map
package/dist/highlight.js CHANGED
@@ -10,6 +10,13 @@ var ModifierKeyword = 5;
10
10
 
11
11
  // src/directives-registry.ts
12
12
  var DIRECTIVES_REGISTRY = [
13
+ // ── Universal date handling (§ BL-121) ───────────────────
14
+ // Accepted in every date-bearing chart (gantt, pert, countdown, timeline,
15
+ // event-line). Handled inline by each parser's prescan — no parser-Set
16
+ // membership here — so they only contribute highlighting (DIRECTIVE_KEYWORDS).
17
+ { token: "year", category: "directive" },
18
+ { token: "date-order", category: "directive" },
19
+ { token: "no-current-year", category: "directive" },
13
20
  // ── Infra ────────────────────────────────────────────────
14
21
  // Top-level SLO options that are ALSO accepted as node colon-properties
15
22
  // (dual membership). Highlight bare (kept in DIRECTIVE_KEYWORDS) — their
@@ -96,6 +103,12 @@ var DIRECTIVES_REGISTRY = [
96
103
  { token: "no-colorize", category: "directive", map: true },
97
104
  { token: "no-cities", category: "directive", map: true },
98
105
  { token: "no-cluster-pois", category: "directive", map: true },
106
+ // ── Clock channel (BL-122): live local-time cards on POIs flagged `clock` ──
107
+ // Activation is the per-POI `clock` flag (peeled in the map parser, not a
108
+ // directive). `hours 9-17` / `days mon-fri` are the global availability
109
+ // window (reused verbatim from the clock chart type).
110
+ { token: "hours", category: "directive", map: true },
111
+ { token: "days", category: "directive", map: true },
99
112
  // ── Shared across types ──────────────────────────────────
100
113
  // `active-tag`: infra top-level option + gantt option + map directive.
101
114
  {
@@ -426,7 +439,7 @@ var parser = LRParser.deserialize({
426
439
  maxTerm: 40,
427
440
  skippedNodes: [0],
428
441
  repeatNodeCount: 2,
429
- tokenData: "<v~RzOX#uXY#zYZ$VZp#upq#zqr#urs$[st#uux#uxy%eyz%lz{%s{|%z|}&R}!O&Y!O!P#u!P!Q&i!Q!['Y![!]/{!]!^#u!^!_0S!_!`0Z!`!a0h!a!b0o!b!c#u!c!}0v!}#O3|#O#P#u#P#Q4R#Q#R#u#R#S0v#S#T#u#T#[0v#[#]4Y#]#o0v#o#p#u#p#q<Y#q#r#u#r#s<a#s;'S#u;'S;=`<p<%lO#u~#zOq~~$PQv~XY#zpq#z~$[Ow~~$aUq~OY$sZr$srs%Ys;'S$s;'S;=`%_<%lO$s~$vUOY$sZr$srs%Ys;'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R#S3R#T#o3R~=fOg~q~~=mPl~q~!`!a=p~=uOY~~=xP;=`<%l#u",
430
443
  tokenizers: [0],
431
444
  topRules: { "Document": [0, 6] },
432
445
  specialized: [{ term: 32, get: (value, stack) => specializeKeyword(value, stack) << 1, external: specializeKeyword }],
@@ -0,0 +1,185 @@
1
+ import { ab as DiagnosticSpec, a as PaletteConfig, J as Theme, C as CompactViewState, D as DgmoError } from './themes-32xj5ZTW.js';
2
+ export { f as ChartTypeMeta, h as DgmoSeverity, ac as DiagnosticParams, ad as EmitOptions, j as Gazetteer, k as GazetteerEntry, l as MapCompletionOptions, M as MapData, o as MapLocationMatch, p as MapPlaceCompletion, s as MapRegionCompletion, P as PaletteColors, w as RegionName, x as RegionNames, N as chartTypes, O as completeMapPlaces, Q as completeMapRegions, ae as emit, X as formatDgmoError, _ as getPalette, a4 as palettes, af as resolvePaletteOrFallback, a8 as searchMapLocations, aa as themes, a5 as validate } from './themes-32xj5ZTW.js';
3
+
4
+ declare function getMinDimensions(content: string): {
5
+ width: number;
6
+ height: number;
7
+ };
8
+
9
+ /**
10
+ * Make an SVG produced by `@diagrammo/dgmo`'s static `render()` suitable for
11
+ * responsive inline embedding in any host (Obsidian, remark/markdown, web
12
+ * pages):
13
+ *
14
+ * - dgmo renders diagrams inside a fixed export canvas (e.g.
15
+ * `viewBox="0 0 1200 800"`), with content often occupying only a fraction
16
+ * of it. We compute a tight content bounding box from element coordinates
17
+ * and set the root `viewBox` to bbox+padding, so the diagram's intrinsic
18
+ * aspect ratio matches its CONTENT — no dead space above/below or beside it.
19
+ * - Ensure the root `<svg>` has a `viewBox` so it scales responsively.
20
+ * - Strip fixed `width="N"` / `height="N"` so CSS (e.g. `width:100%;
21
+ * height:auto`, or an aspect-ratio derived from the tight viewBox) controls
22
+ * sizing.
23
+ * - The root background (the theme's opaque `palette.bg` — both the inline
24
+ * `background:` style and the full-canvas `<rect>` some renderers paint) is
25
+ * STRIPPED by default so the embed inherits the host page surface and blends
26
+ * into Obsidian / doc-site / arbitrary pages instead of showing a mismatched
27
+ * rectangle. Pass `{ background: 'opaque' }` to keep it — the embedder
28
+ * opt-out, and the automatic default for background-meaningful types like
29
+ * `map` (whose bg is the ocean) via `defaultEmbedBackground`. Standalone
30
+ * PNG/SVG export does NOT go through here and stays opaque.
31
+ *
32
+ * This is intentionally a string transform, not a DOM `getBBox()` step: dgmo
33
+ * can dual-render light/dark SVGs where one is hidden by color-mode CSS, and
34
+ * `getBBox()` returns 0 for the hidden copy. Parsing coordinates from the
35
+ * markup measures both copies reliably and works server-side (Node).
36
+ */
37
+ interface NormalizeSvgForEmbedOptions {
38
+ /**
39
+ * `transparent` (default) strips the theme's opaque root background so the
40
+ * embed inherits the host page surface. `opaque` preserves it — the embedder
41
+ * opt-out for diagrams that need their own solid backdrop. Callers that know
42
+ * the chart type should resolve this via `defaultEmbedBackground`.
43
+ */
44
+ background?: 'transparent' | 'opaque';
45
+ }
46
+ declare function normalizeSvgForEmbed(input: string, opts?: NormalizeSvgForEmbedOptions): string;
47
+ /**
48
+ * The embed background an embedder gets by default for a given chart type:
49
+ * `transparent` (blend into the host) for everything except
50
+ * background-meaningful types, which stay `opaque`.
51
+ */
52
+ declare function defaultEmbedBackground(chartType?: string): 'transparent' | 'opaque';
53
+ /**
54
+ * Parse the content bounding box of a normalized embed SVG, if one can be
55
+ * derived. Returns `null` when no usable coordinates are found (e.g. an empty
56
+ * diagram). Useful for hosts that want to set an explicit `aspect-ratio` from
57
+ * the tight viewBox.
58
+ */
59
+ declare function getEmbedSvgViewBox(svg: string): {
60
+ x: number;
61
+ y: number;
62
+ width: number;
63
+ height: number;
64
+ } | null;
65
+
66
+ interface MountD3Opts {
67
+ theme?: 'light' | 'dark' | 'transparent';
68
+ palette?: string;
69
+ /** Forwarded to the interaction adapter: source-line navigation on click. */
70
+ onNavigate?: (line: number) => void;
71
+ mutedColor?: string;
72
+ surface?: string;
73
+ text?: string;
74
+ }
75
+ interface MountedD3Chart {
76
+ /** Re-render with new content and/or theme/palette; re-attaches interactions. */
77
+ update: (content: string, opts?: Partial<MountD3Opts>) => Promise<void>;
78
+ /** Emphasize the chart element on the given source line (editor cursor sync);
79
+ * pass null to clear. */
80
+ highlight: (line: number | null) => void;
81
+ /** Tear down listeners + overlays and clear the container. */
82
+ destroy: () => void;
83
+ }
84
+ declare function mountD3DataChart(container: HTMLElement, content: string, opts?: MountD3Opts): MountedD3Chart;
85
+
86
+ interface DataChartInteractionOpts {
87
+ onNavigate?: (line: number) => void;
88
+ mutedColor?: string;
89
+ surface?: string;
90
+ text?: string;
91
+ }
92
+ interface DataChartController {
93
+ /** Remove all listeners + overlays. */
94
+ destroy: () => void;
95
+ /** Emphasize the chart element(s) on the given source line (editor cursor
96
+ * sync); pass null to clear. No-op while the pointer is actively hovering. */
97
+ highlight: (line: number | null) => void;
98
+ }
99
+ declare function attachDataChartInteractions(svg: SVGSVGElement, opts?: DataChartInteractionOpts): DataChartController;
100
+
101
+ /** All data-chart types the hand-built renderers currently cover. */
102
+ declare const D3_DATA_CHART_TYPES: Set<string>;
103
+ declare function supportsD3DataChart(type: string): boolean;
104
+
105
+ /**
106
+ * The full diagnostic catalog, sorted by code. Every coded diagnostic
107
+ * dgmo can emit — its severity, owning chart type, canonical message,
108
+ * fix hint, and a triggering example. This is the enumerable source of
109
+ * truth for the CLI `diagnostics` subcommand, the console error-review
110
+ * surface, MCP, and the language-spec catalog.
111
+ */
112
+ declare function listDiagnosticCodes(): DiagnosticSpec[];
113
+ /** Look up a single spec by its code, or `undefined` if not cataloged. */
114
+ declare function getDiagnosticSpec(code: string): DiagnosticSpec | undefined;
115
+
116
+ interface RenderOptions {
117
+ theme?: Theme;
118
+ /**
119
+ * A `PaletteConfig` (e.g. `palettes.catppuccin`) or a palette id string
120
+ * (e.g. `'catppuccin'`). Unknown ids fall back to the default palette.
121
+ */
122
+ palette?: PaletteConfig | string;
123
+ /**
124
+ * How to handle parse errors:
125
+ * 'svg' — render an inline error SVG (default)
126
+ * 'silent' — return empty svg + diagnostics; caller handles UI
127
+ * 'throw' — throw an Error with the diagnostics
128
+ */
129
+ onError?: 'svg' | 'silent' | 'throw';
130
+ /**
131
+ * Pre-applied interactive view state — collapsed sections/columns,
132
+ * active swimlane tag-group, etc. Used to render a specific view
133
+ * non-interactively (server-side render, share-link decode).
134
+ */
135
+ viewState?: CompactViewState;
136
+ }
137
+ interface RenderResult {
138
+ svg: string;
139
+ diagnostics: DgmoError[];
140
+ }
141
+ /**
142
+ * Render DGMO source to an SVG string.
143
+ *
144
+ * @example
145
+ * ```ts
146
+ * import { render, palettes, themes } from '@diagrammo/dgmo';
147
+ *
148
+ * const { svg } = await render(text, {
149
+ * palette: palettes.catppuccin,
150
+ * theme: themes.dark,
151
+ * });
152
+ * document.getElementById('chart').innerHTML = svg;
153
+ * ```
154
+ */
155
+ declare function render(text: string, options?: RenderOptions): Promise<RenderResult>;
156
+
157
+ interface EncodeDiagramUrlOptions {
158
+ baseUrl?: string;
159
+ palette?: PaletteConfig;
160
+ theme?: Theme;
161
+ filename?: string;
162
+ /**
163
+ * Initial view state to embed in the URL — re-applied when the link is
164
+ * decoded so recipients open the diagram in the same configuration.
165
+ */
166
+ viewState?: CompactViewState;
167
+ }
168
+ /**
169
+ * Encode DGMO text into a shareable URL. Returns null if the compressed
170
+ * payload exceeds the 8 KB URL limit.
171
+ */
172
+ declare function encodeDiagramUrl(text: string, options?: EncodeDiagramUrlOptions): string | null;
173
+ interface DecodedDiagramUrl {
174
+ text: string;
175
+ palette?: PaletteConfig;
176
+ theme?: Theme;
177
+ filename?: string;
178
+ }
179
+ /**
180
+ * Decode a share URL back into DGMO text plus optional palette/theme/filename.
181
+ * Returns null if the URL contains no valid DGMO payload.
182
+ */
183
+ declare function decodeDiagramUrl(url: string): DecodedDiagramUrl | null;
184
+
185
+ export { CompactViewState, D3_DATA_CHART_TYPES, type DataChartInteractionOpts, type DecodedDiagramUrl, DgmoError, DiagnosticSpec, type EncodeDiagramUrlOptions, type MountD3Opts, type MountedD3Chart, type NormalizeSvgForEmbedOptions, PaletteConfig, type RenderOptions, type RenderResult, Theme, attachDataChartInteractions, decodeDiagramUrl, defaultEmbedBackground, encodeDiagramUrl, getDiagnosticSpec, getEmbedSvgViewBox, getMinDimensions, listDiagnosticCodes, mountD3DataChart, normalizeSvgForEmbed, render, supportsD3DataChart };
package/dist/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
+ defaultEmbedBackground,
2
3
  getEmbedSvgViewBox,
3
4
  normalizeSvgForEmbed,
4
5
  renderErrorCard
5
- } from "./chunk-YIA4LEX4.js";
6
+ } from "./chunk-GNSFLJAA.js";
6
7
  import {
7
8
  completeMapPlaces,
8
9
  completeMapRegions,
@@ -11,91 +12,93 @@ import {
11
12
  } from "./chunk-SQAG3UXH.js";
12
13
  import {
13
14
  MAP_DIAGNOSTICS
14
- } from "./chunk-HHXOONLX.js";
15
+ } from "./chunk-4B5YISOR.js";
15
16
  import {
16
17
  decodeDiagramUrl,
17
18
  encodeDiagramUrl,
18
19
  render
19
- } from "./chunk-ZAD4HV2G.js";
20
- import "./chunk-66RUL3XF.js";
20
+ } from "./chunk-3ODS2VGL.js";
21
+ import "./chunk-B63YB7X3.js";
21
22
  import "./chunk-YRYKTYMQ.js";
22
23
  import "./chunk-YYVTBZZC.js";
23
- import "./chunk-HEVYAHLW.js";
24
+ import "./chunk-OU7HLO7I.js";
24
25
  import {
25
26
  REGISTRY_BY_ID,
26
27
  chartTypes,
27
28
  parseDgmo
28
- } from "./chunk-VVZRV54S.js";
29
- import "./chunk-Q4V4XQWV.js";
30
- import "./chunk-BTUTZMPT.js";
31
- import "./chunk-YNRDWYZP.js";
32
- import "./chunk-3XPUDB7B.js";
33
- import "./chunk-QXKWYZNR.js";
29
+ } from "./chunk-KJGG2JKQ.js";
30
+ import "./chunk-GTWKD3QT.js";
31
+ import "./chunk-AFIEPDLX.js";
32
+ import "./chunk-OQKP2X3D.js";
33
+ import "./chunk-6NFYEQDX.js";
34
+ import "./chunk-APKUAJ2L.js";
35
+ import "./chunk-XEQXCIBC.js";
34
36
  import {
35
37
  RACI_DIAGNOSTICS
36
- } from "./chunk-PGEGPSCZ.js";
38
+ } from "./chunk-6MNGECP2.js";
37
39
  import {
38
40
  BODY_DIAGNOSTICS
39
- } from "./chunk-3UIKSPFB.js";
41
+ } from "./chunk-6BQFET7X.js";
40
42
  import "./chunk-BDXC7MDK.js";
41
43
  import {
42
44
  D3_DATA_CHART_TYPES,
43
45
  renderDataChartD3,
44
46
  supportsD3DataChart
45
- } from "./chunk-4S52SK6G.js";
46
- import "./chunk-HGN652MU.js";
47
+ } from "./chunk-4VWJ4LW2.js";
48
+ import "./chunk-VL2O2F3W.js";
47
49
  import "./chunk-U6EQI3U6.js";
48
- import "./chunk-7UEMZREK.js";
50
+ import "./chunk-YAA6IID3.js";
49
51
  import "./chunk-A4GOY3PE.js";
50
52
  import "./chunk-6KFWC4CO.js";
51
- import "./chunk-HQCHYB5F.js";
52
- import "./chunk-5LWQH6QV.js";
53
- import "./chunk-XDXNDSKO.js";
54
- import "./chunk-I2WKW7C7.js";
55
- import "./chunk-TSA237IM.js";
56
- import "./chunk-6IAA2QQ2.js";
57
- import "./chunk-6HJBFVLO.js";
58
- import "./chunk-3P2DKJCG.js";
59
- import "./chunk-3LKM6FMW.js";
53
+ import "./chunk-QOOUC2J5.js";
54
+ import "./chunk-WCT3NYCV.js";
55
+ import "./chunk-QZPEGJOM.js";
56
+ import "./chunk-GGHRAITI.js";
57
+ import "./chunk-PZDBOK2Q.js";
58
+ import "./chunk-2EQMXBBQ.js";
59
+ import "./chunk-4QZ43D7I.js";
60
+ import "./chunk-Q62FEYK3.js";
61
+ import "./chunk-AE7II3E3.js";
60
62
  import {
61
63
  TREEMAP_DIAGNOSTICS
62
- } from "./chunk-XJLKLU4D.js";
63
- import "./chunk-7L3R6I3U.js";
64
+ } from "./chunk-2ILHQOL3.js";
65
+ import "./chunk-ENRS56GC.js";
64
66
  import "./chunk-NNAAJVBU.js";
65
- import "./chunk-VUJGMJE6.js";
66
- import "./chunk-C2CVAM3U.js";
67
- import "./chunk-GKC3HILQ.js";
68
- import "./chunk-U2HGPLZS.js";
69
- import "./chunk-DSWVNQVS.js";
70
- import "./chunk-DZXYF2F5.js";
67
+ import "./chunk-MVN25IF6.js";
68
+ import "./chunk-5PZT4DQG.js";
69
+ import "./chunk-I2QZFCS2.js";
70
+ import "./chunk-6H7O2OPM.js";
71
+ import "./chunk-BGP54HVR.js";
72
+ import "./chunk-6K2M4VSR.js";
71
73
  import {
72
74
  SKETCH_DIAGNOSTICS
73
75
  } from "./chunk-XHVV4NVW.js";
74
76
  import {
75
77
  SWIMLANE_DIAGNOSTICS
76
- } from "./chunk-OMNGQPEZ.js";
78
+ } from "./chunk-E7Y3SYKW.js";
77
79
  import {
78
80
  FAMILY_DIAGNOSTICS
79
- } from "./chunk-VBYSIOOY.js";
81
+ } from "./chunk-5WPNFSXP.js";
80
82
  import "./chunk-QQJUTGQH.js";
81
- import "./chunk-SXRTRMEE.js";
82
- import "./chunk-NU3XLTGP.js";
83
- import "./chunk-OTQKUHRS.js";
84
- import "./chunk-SQLNBA64.js";
83
+ import "./chunk-2UJSV2VT.js";
84
+ import "./chunk-332ZR4QU.js";
85
+ import "./chunk-RBHWPDBB.js";
86
+ import "./chunk-KFNWFNAA.js";
85
87
  import {
86
88
  PERT_DIAGNOSTICS
87
- } from "./chunk-EAMEADTV.js";
88
- import "./chunk-L3UHP6TD.js";
89
+ } from "./chunk-5PDTIBLV.js";
90
+ import "./chunk-7L4UJOY6.js";
89
91
  import "./chunk-USZW2HHU.js";
90
92
  import {
91
93
  EVENT_LINE_DIAGNOSTICS
92
- } from "./chunk-HTMN2Z6U.js";
93
- import "./chunk-I7F2A35O.js";
94
+ } from "./chunk-EDA6C7MV.js";
95
+ import "./chunk-TMACGPW5.js";
96
+ import "./chunk-RBDIYLA5.js";
94
97
  import {
95
98
  VERSION_CONTROL_DIAGNOSTICS
96
- } from "./chunk-6BFZKBGD.js";
97
- import "./chunk-3Y2DRD7S.js";
98
- import "./chunk-QROYX7TT.js";
99
+ } from "./chunk-JJXGQIRV.js";
100
+ import "./chunk-IEDMFNU7.js";
101
+ import "./chunk-3LV2NCB6.js";
99
102
  import "./chunk-IYULMRBE.js";
100
103
  import {
101
104
  getPalette,
@@ -103,23 +106,23 @@ import {
103
106
  resolvePaletteOrFallback
104
107
  } from "./chunk-R3XI2VC7.js";
105
108
  import "./chunk-P6T66CCZ.js";
106
- import "./chunk-BH3UYK36.js";
109
+ import "./chunk-RLFVAKEO.js";
107
110
  import "./chunk-C3Z4DX3V.js";
108
- import "./chunk-FJUNPCYI.js";
109
- import "./chunk-GBE54KY6.js";
111
+ import "./chunk-467TVMQL.js";
112
+ import "./chunk-OZPBJM5Q.js";
110
113
  import {
111
114
  GRAPH_DIAGNOSTICS
112
115
  } from "./chunk-I46X5VUA.js";
113
- import "./chunk-2C56LEML.js";
116
+ import "./chunk-5F5ELR3V.js";
114
117
  import "./chunk-NXMESY4J.js";
115
- import "./chunk-GL5UZ6NY.js";
116
- import "./chunk-SCHXJTZL.js";
118
+ import "./chunk-FC5I2KXV.js";
119
+ import "./chunk-WQLMU7VG.js";
117
120
  import "./chunk-FMDSF3OV.js";
118
121
  import {
119
122
  ARROW_DIAGNOSTIC_CODES
120
123
  } from "./chunk-FFUN5D66.js";
121
124
  import "./chunk-NOTA6TEI.js";
122
- import "./chunk-OTAL43EH.js";
125
+ import "./chunk-LV4BETUU.js";
123
126
  import "./chunk-TLVIHFRO.js";
124
127
  import {
125
128
  emit,
@@ -866,6 +869,7 @@ export {
866
869
  completeMapPlaces,
867
870
  completeMapRegions,
868
871
  decodeDiagramUrl2 as decodeDiagramUrl,
872
+ defaultEmbedBackground,
869
873
  emit,
870
874
  encodeDiagramUrl2 as encodeDiagramUrl,
871
875
  formatDgmoError,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  layoutClassDiagram
3
- } from "./chunk-CMCR5WBW.js";
4
- import "./chunk-O7WP4ZD4.js";
3
+ } from "./chunk-WBRZJOEC.js";
4
+ import "./chunk-JED6ZDEE.js";
5
5
  import "./chunk-6EK55ART.js";
6
- import "./chunk-BCYVE3N5.js";
6
+ import "./chunk-TYS6CSS5.js";
7
7
  import "./chunk-5DH3KYFH.js";
8
8
  import "./chunk-BMR4CIEO.js";
9
- import "./chunk-5LWQH6QV.js";
9
+ import "./chunk-WCT3NYCV.js";
10
10
  import "./chunk-FMDSF3OV.js";
11
11
  import "./chunk-NOTA6TEI.js";
12
12
  import "./chunk-CXK4DZH3.js";
@@ -14,4 +14,4 @@ import "./chunk-5WRI5ZAA.js";
14
14
  export {
15
15
  layoutClassDiagram
16
16
  };
17
- //# sourceMappingURL=layout-7SKMFYHL.js.map
17
+ //# sourceMappingURL=layout-46N4JJYK.js.map
@@ -0,0 +1,14 @@
1
+ import {
2
+ layoutOrg
3
+ } from "./chunk-GROLTAWZ.js";
4
+ import "./chunk-QOOUC2J5.js";
5
+ import "./chunk-WCT3NYCV.js";
6
+ import "./chunk-467TVMQL.js";
7
+ import "./chunk-LV4BETUU.js";
8
+ import "./chunk-TLVIHFRO.js";
9
+ import "./chunk-CXK4DZH3.js";
10
+ import "./chunk-5WRI5ZAA.js";
11
+ export {
12
+ layoutOrg
13
+ };
14
+ //# sourceMappingURL=layout-4DIUOX2T.js.map
@@ -2,12 +2,12 @@ import {
2
2
  fixEdgeWaypoints,
3
3
  layoutInfra,
4
4
  separateGroups
5
- } from "./chunk-C63UWAKM.js";
6
- import "./chunk-5LWQH6QV.js";
5
+ } from "./chunk-Y2ZE3MSG.js";
6
+ import "./chunk-WCT3NYCV.js";
7
7
  import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  fixEdgeWaypoints,
10
10
  layoutInfra,
11
11
  separateGroups
12
12
  };
13
- //# sourceMappingURL=layout-7H4H46CS.js.map
13
+ //# sourceMappingURL=layout-7QXCNOVS.js.map
@@ -2,9 +2,9 @@ import {
2
2
  computeNodeSizing,
3
3
  layoutPert,
4
4
  relayoutPert
5
- } from "./chunk-F2L5GCQ4.js";
6
- import "./chunk-5LWQH6QV.js";
7
- import "./chunk-L3UHP6TD.js";
5
+ } from "./chunk-GU46PPT3.js";
6
+ import "./chunk-WCT3NYCV.js";
7
+ import "./chunk-7L4UJOY6.js";
8
8
  import "./chunk-USZW2HHU.js";
9
9
  import "./chunk-5WRI5ZAA.js";
10
10
  export {
@@ -12,4 +12,4 @@ export {
12
12
  layoutPert,
13
13
  relayoutPert
14
14
  };
15
- //# sourceMappingURL=layout-NXG63LWH.js.map
15
+ //# sourceMappingURL=layout-AM2JWW3X.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  layoutMindmap
3
- } from "./chunk-7TV5Y53Y.js";
3
+ } from "./chunk-ZJ3LS7DW.js";
4
4
  import "./chunk-YYVTBZZC.js";
5
- import "./chunk-5LWQH6QV.js";
5
+ import "./chunk-WCT3NYCV.js";
6
6
  import "./chunk-IYULMRBE.js";
7
- import "./chunk-FJUNPCYI.js";
8
- import "./chunk-OTAL43EH.js";
7
+ import "./chunk-467TVMQL.js";
8
+ import "./chunk-LV4BETUU.js";
9
9
  import "./chunk-TLVIHFRO.js";
10
10
  import "./chunk-CXK4DZH3.js";
11
11
  import "./chunk-5WRI5ZAA.js";
12
12
  export {
13
13
  layoutMindmap
14
14
  };
15
- //# sourceMappingURL=layout-7MZ5NF2N.js.map
15
+ //# sourceMappingURL=layout-CBCLPMSG.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  layoutERDiagram
3
- } from "./chunk-4XK3FLFB.js";
4
- import "./chunk-O7WP4ZD4.js";
3
+ } from "./chunk-6NYWYNBI.js";
4
+ import "./chunk-JED6ZDEE.js";
5
5
  import "./chunk-6EK55ART.js";
6
- import "./chunk-BCYVE3N5.js";
6
+ import "./chunk-TYS6CSS5.js";
7
7
  import "./chunk-5DH3KYFH.js";
8
8
  import "./chunk-BMR4CIEO.js";
9
- import "./chunk-5LWQH6QV.js";
9
+ import "./chunk-WCT3NYCV.js";
10
10
  import "./chunk-FMDSF3OV.js";
11
11
  import "./chunk-NOTA6TEI.js";
12
12
  import "./chunk-CXK4DZH3.js";
@@ -14,4 +14,4 @@ import "./chunk-5WRI5ZAA.js";
14
14
  export {
15
15
  layoutERDiagram
16
16
  };
17
- //# sourceMappingURL=layout-DC4TVXER.js.map
17
+ //# sourceMappingURL=layout-EE6GE46Y.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  focusFamily,
3
3
  layoutFamily
4
- } from "./chunk-IAEC4KLA.js";
4
+ } from "./chunk-5QKQSSPO.js";
5
5
  import "./chunk-IVKC4GID.js";
6
6
  import "./chunk-3CIOJ5YJ.js";
7
- import "./chunk-5LWQH6QV.js";
7
+ import "./chunk-WCT3NYCV.js";
8
8
  import "./chunk-QQJUTGQH.js";
9
9
  import "./chunk-5WRI5ZAA.js";
10
10
  export {
11
11
  focusFamily,
12
12
  layoutFamily
13
13
  };
14
- //# sourceMappingURL=layout-FGQWRYYW.js.map
14
+ //# sourceMappingURL=layout-F4WO357A.js.map
@@ -0,0 +1,9 @@
1
+ import {
2
+ layoutWireframe
3
+ } from "./chunk-H6PI3KJT.js";
4
+ import "./chunk-WCT3NYCV.js";
5
+ import "./chunk-5WRI5ZAA.js";
6
+ export {
7
+ layoutWireframe
8
+ };
9
+ //# sourceMappingURL=layout-G23F7LDH.js.map