@diagrammo/dgmo 0.83.0 → 0.85.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 (293) hide show
  1. package/dist/advanced.d.ts +19 -8
  2. package/dist/advanced.js +8 -9
  3. package/dist/analyzer-R5UBTRO2.js +0 -1
  4. package/dist/block.d.ts +2 -2
  5. package/dist/block.js +10 -8
  6. package/dist/calculator-35YVW4QO.js +0 -1
  7. package/dist/{chart-meta-BnVwoPaA.d.ts → chart-meta-PbgpGwYo.d.ts} +2 -2
  8. package/dist/chart-meta.d.ts +3 -3
  9. package/dist/chart-meta.js +3 -4
  10. package/dist/{chart-types-CsUlmuiY.d.ts → chart-types-Db_EGf1o.d.ts} +1 -1
  11. package/dist/charts-d3-3BZRSZV6.js +0 -1
  12. package/dist/chunk-23RWHHI5.js +0 -1
  13. package/dist/chunk-24YPR5EH.js +0 -1
  14. package/dist/chunk-26EVL454.js +0 -1
  15. package/dist/chunk-2CW5ZTNH.js +0 -1
  16. package/dist/chunk-2M4IGSCY.js +0 -1
  17. package/dist/chunk-2QIGN7KL.js +0 -1
  18. package/dist/chunk-3AX6MCI6.js +0 -1
  19. package/dist/chunk-3C2FWS2J.js +0 -1
  20. package/dist/chunk-3DOQOXXI.js +0 -1
  21. package/dist/chunk-3DPOIW3W.js +0 -1
  22. package/dist/chunk-3FCSOYN4.js +0 -1
  23. package/dist/chunk-3MXJMZAN.js +0 -1
  24. package/dist/chunk-3RYBTEF5.js +0 -1
  25. package/dist/chunk-3TYUXC7D.js +0 -1
  26. package/dist/chunk-44GP7PD5.js +0 -1
  27. package/dist/chunk-47E5UTXE.js +0 -1
  28. package/dist/chunk-4QV26TEG.js +0 -1
  29. package/dist/chunk-4WW3SGMH.js +0 -1
  30. package/dist/chunk-5DH3KYFH.js +0 -1
  31. package/dist/chunk-5JO443MB.js +0 -1
  32. package/dist/chunk-5WRI5ZAA.js +0 -1
  33. package/dist/chunk-66YFDTT6.js +0 -1
  34. package/dist/chunk-67USWFFE.js +0 -1
  35. package/dist/chunk-6EK55ART.js +0 -1
  36. package/dist/chunk-6HOVLE3H.js +0 -1
  37. package/dist/chunk-6K7RODXG.js +0 -1
  38. package/dist/chunk-7256EOAE.js +0 -1
  39. package/dist/chunk-7HWY4QAJ.js +0 -1
  40. package/dist/chunk-7TF3QOOD.js +0 -1
  41. package/dist/chunk-7UDAIP6W.js +0 -1
  42. package/dist/chunk-A2RUBBVT.js +0 -1
  43. package/dist/chunk-A4PHPKNR.js +0 -1
  44. package/dist/chunk-A4XPI4YN.js +0 -1
  45. package/dist/chunk-A6YINTY6.js +0 -1
  46. package/dist/{chunk-D7T2K5WT.js → chunk-ADAGWVWJ.js} +6 -7
  47. package/dist/chunk-AYOVY75O.js +0 -1
  48. package/dist/chunk-BAZT6CIF.js +0 -1
  49. package/dist/chunk-BDXC7MDK.js +0 -1
  50. package/dist/chunk-BIQYWWJ2.js +0 -1
  51. package/dist/chunk-BOO24UMJ.js +0 -1
  52. package/dist/chunk-BP4BT5TH.js +0 -1
  53. package/dist/chunk-BS7SV7C3.js +0 -1
  54. package/dist/chunk-BYU54C3S.js +0 -1
  55. package/dist/chunk-C3Z4DX3V.js +0 -1
  56. package/dist/chunk-C5FEPGSJ.js +0 -1
  57. package/dist/chunk-C7QRRTAW.js +0 -1
  58. package/dist/chunk-D3K4U3ZM.js +0 -1
  59. package/dist/chunk-D7D5YK4J.js +0 -1
  60. package/dist/chunk-DAOFNU6J.js +0 -1
  61. package/dist/chunk-DOXBS7F5.js +0 -1
  62. package/dist/chunk-DV2VEJCC.js +0 -1
  63. package/dist/chunk-EOYPX6SF.js +0 -1
  64. package/dist/chunk-EPDBWATV.js +0 -1
  65. package/dist/chunk-EQW6HOP4.js +0 -1
  66. package/dist/chunk-ERNCPKD4.js +0 -1
  67. package/dist/chunk-ETBXIKK6.js +0 -1
  68. package/dist/chunk-FAV4RDVT.js +0 -1
  69. package/dist/chunk-FJNXXGTR.js +0 -1
  70. package/dist/chunk-FKZ2Y3Q5.js +0 -1
  71. package/dist/chunk-FM3WAVB6.js +0 -1
  72. package/dist/chunk-FPXMCGS5.js +0 -1
  73. package/dist/chunk-FWNJDD4U.js +0 -1
  74. package/dist/chunk-FX2USYOU.js +0 -1
  75. package/dist/chunk-GDJW64XE.js +0 -1
  76. package/dist/chunk-GSYZZFI5.js +0 -1
  77. package/dist/chunk-GUTZCRBT.js +0 -1
  78. package/dist/chunk-GUYVKGFN.js +0 -1
  79. package/dist/chunk-H2GEIFUF.js +0 -1
  80. package/dist/chunk-HATTVAWX.js +0 -1
  81. package/dist/chunk-HBCAY3KR.js +0 -1
  82. package/dist/chunk-HEYGGSNQ.js +0 -1
  83. package/dist/chunk-HMWZQ53A.js +0 -1
  84. package/dist/chunk-HSRQDWV7.js +0 -1
  85. package/dist/chunk-HTWH2XQL.js +0 -1
  86. package/dist/chunk-ICLB27PZ.js +0 -1
  87. package/dist/chunk-ICZ7M6IZ.js +0 -1
  88. package/dist/chunk-IDJGV6VM.js +0 -1
  89. package/dist/chunk-IIEI7VK5.js +0 -1
  90. package/dist/chunk-ITLPDLBH.js +0 -1
  91. package/dist/chunk-IVKC4GID.js +0 -1
  92. package/dist/chunk-IYULMRBE.js +0 -1
  93. package/dist/chunk-J2ICADUM.js +0 -1
  94. package/dist/chunk-J64NZ6NF.js +0 -1
  95. package/dist/chunk-JIPUBFAM.js +0 -1
  96. package/dist/chunk-JLGN6S4B.js +0 -1
  97. package/dist/chunk-JQ57AWDL.js +0 -1
  98. package/dist/chunk-JRUEIRJB.js +0 -1
  99. package/dist/{chunk-ECIXBEG2.js → chunk-JVRDKR5R.js} +1 -2
  100. package/dist/chunk-KAO7JL4I.js +0 -1
  101. package/dist/chunk-KMU65FYM.js +0 -1
  102. package/dist/chunk-L5AFONQU.js +0 -1
  103. package/dist/chunk-LCJURK7L.js +0 -1
  104. package/dist/chunk-LD2JSKU3.js +0 -1
  105. package/dist/chunk-LHL6HDUL.js +0 -1
  106. package/dist/chunk-LNO3ASX5.js +0 -1
  107. package/dist/chunk-LQSNWE3W.js +0 -1
  108. package/dist/chunk-LRNIYQ6Y.js +0 -1
  109. package/dist/chunk-LYRDIVSY.js +0 -1
  110. package/dist/chunk-MGBV4JEI.js +0 -1
  111. package/dist/chunk-MHAYUS65.js +0 -1
  112. package/dist/chunk-MIZ46MOF.js +0 -1
  113. package/dist/chunk-MY6GUH26.js +0 -1
  114. package/dist/chunk-N4XHXBDQ.js +0 -1
  115. package/dist/chunk-N7VMGZCU.js +0 -1
  116. package/dist/chunk-NF5YKFRH.js +0 -1
  117. package/dist/chunk-NGC3IZRY.js +0 -1
  118. package/dist/{chunk-AYA6C64M.js → chunk-NJS62BAG.js} +83 -27
  119. package/dist/chunk-NOTA6TEI.js +0 -1
  120. package/dist/chunk-NSS2EF5B.js +0 -1
  121. package/dist/chunk-NXMESY4J.js +0 -1
  122. package/dist/chunk-NZCSVD4M.js +0 -1
  123. package/dist/chunk-O753JUEZ.js +0 -1
  124. package/dist/chunk-OGKP2XGJ.js +0 -1
  125. package/dist/{chunk-RKBF2SKK.js → chunk-OZTDXMRQ.js} +2 -3
  126. package/dist/chunk-P3SKSKJI.js +0 -1
  127. package/dist/chunk-PBEH52A2.js +0 -1
  128. package/dist/chunk-PEFPTQ3Z.js +0 -1
  129. package/dist/chunk-PIXJL77H.js +0 -1
  130. package/dist/chunk-PLE2432T.js +0 -1
  131. package/dist/chunk-PPH6ILHL.js +0 -1
  132. package/dist/chunk-PSH5DT26.js +0 -1
  133. package/dist/chunk-QFHWYWQL.js +0 -1
  134. package/dist/chunk-QFIXL3OK.js +0 -1
  135. package/dist/chunk-QJ2JOLFN.js +0 -1
  136. package/dist/chunk-QNKHJ5CK.js +0 -1
  137. package/dist/chunk-QQJUTGQH.js +0 -1
  138. package/dist/{chunk-U7VO6JAA.js → chunk-RE27AX7O.js} +3 -1
  139. package/dist/chunk-RE6TVIAV.js +0 -1
  140. package/dist/chunk-REUEU5PU.js +0 -1
  141. package/dist/chunk-RH2PROYG.js +0 -1
  142. package/dist/chunk-RMAJIB6S.js +0 -1
  143. package/dist/chunk-RU725VCJ.js +0 -1
  144. package/dist/chunk-RYZNNXUV.js +0 -1
  145. package/dist/chunk-SLMAAJPE.js +0 -1
  146. package/dist/chunk-SQ7IY53Q.js +0 -1
  147. package/dist/chunk-SQAG3UXH.js +0 -1
  148. package/dist/{chunk-KABGWUND.js → chunk-T327J6CE.js} +4 -3
  149. package/dist/chunk-UG2XG57E.js +0 -1
  150. package/dist/chunk-UGYZ5Q5Y.js +0 -1
  151. package/dist/chunk-UJRMARNX.js +0 -1
  152. package/dist/chunk-ULCB4BLF.js +0 -1
  153. package/dist/chunk-UNAP6O26.js +0 -1
  154. package/dist/chunk-UNCCZ3NU.js +0 -1
  155. package/dist/chunk-UNNJCSSQ.js +0 -1
  156. package/dist/chunk-UNSN56OJ.js +0 -1
  157. package/dist/chunk-UZ7EZW3B.js +0 -1
  158. package/dist/chunk-V3LJIPS4.js +0 -1
  159. package/dist/chunk-VDMG3MM4.js +0 -1
  160. package/dist/chunk-VEPIAUSK.js +0 -1
  161. package/dist/chunk-VLC6WNRD.js +0 -1
  162. package/dist/{chunk-6EV2F6W7.js → chunk-VPASQOR3.js} +68 -47
  163. package/dist/chunk-WFA6IULY.js +0 -1
  164. package/dist/chunk-WMIKC5XO.js +0 -1
  165. package/dist/chunk-WP2RLGDI.js +0 -1
  166. package/dist/chunk-WPL5PFXE.js +0 -1
  167. package/dist/chunk-WQ6G6FFM.js +0 -1
  168. package/dist/chunk-WTTIODDV.js +0 -1
  169. package/dist/chunk-X2VEJ5NT.js +0 -1
  170. package/dist/chunk-XBJJP2HN.js +0 -1
  171. package/dist/chunk-XD7XL3SF.js +0 -1
  172. package/dist/chunk-XIYVGO24.js +0 -1
  173. package/dist/chunk-XSVWUOUZ.js +0 -1
  174. package/dist/chunk-XXAZ5C4K.js +0 -1
  175. package/dist/{chunk-4NYXQB7Y.js → chunk-Y7FTHOMD.js} +1 -2
  176. package/dist/chunk-YRYKTYMQ.js +0 -1
  177. package/dist/chunk-YWHGWLY6.js +0 -1
  178. package/dist/chunk-ZGHV4QLK.js +0 -1
  179. package/dist/chunk-ZUCXFXLD.js +0 -1
  180. package/dist/chunk-ZUUNTOMG.js +0 -1
  181. package/dist/clock.js +0 -1
  182. package/dist/cloud-reference.js +0 -1
  183. package/dist/collapse-JRGPUE67.js +0 -1
  184. package/dist/collapse-SLINJQW6.js +0 -1
  185. package/dist/collapse-ZWUFFCK2.js +0 -1
  186. package/dist/completion-registry.js +0 -1
  187. package/dist/compute-JAP5E2E4.js +0 -1
  188. package/dist/countdown.js +0 -1
  189. package/dist/{d3-CTGUvjsH.d.ts → d3-B6524aaP.d.ts} +1 -1
  190. package/dist/{dgmo-router-YW4SBNYB.js → dgmo-router-VILEOWQ2.js} +3 -4
  191. package/dist/dimensions-F3Y5T54V.js +0 -1
  192. package/dist/editor.js +0 -1
  193. package/dist/flowchart-parser-GG7XBLQH.js +0 -1
  194. package/dist/flowchart-renderer-TGQL4S4L.js +0 -1
  195. package/dist/highlight.js +0 -1
  196. package/dist/index.d.ts +7 -7
  197. package/dist/index.js +6 -7
  198. package/dist/layout-6JARW64V.js +0 -1
  199. package/dist/layout-AM57TGN5.js +0 -1
  200. package/dist/{layout-JLUGD4WH.js → layout-CFTB7GKV.js} +1 -2
  201. package/dist/layout-FMKSENGL.js +0 -1
  202. package/dist/layout-JQ3IPJYR.js +0 -1
  203. package/dist/layout-K6NI4VCS.js +0 -1
  204. package/dist/layout-MSSHF45T.js +0 -1
  205. package/dist/layout-NB7TKAWN.js +0 -1
  206. package/dist/layout-PT7IKVCV.js +0 -1
  207. package/dist/layout-SOPAVXIH.js +0 -1
  208. package/dist/layout-SW3XWYKC.js +0 -1
  209. package/dist/layout-UIV56NUA.js +0 -1
  210. package/dist/layout-WXVGMSI3.js +0 -1
  211. package/dist/layout-WZCXK7DF.js +0 -1
  212. package/dist/layout-YELNBVPC.js +0 -1
  213. package/dist/{layout-search-RODROCT4.js → layout-search-GRJEBAUF.js} +22 -4
  214. package/dist/legend-constants-ZVO4FLAK.js +0 -1
  215. package/dist/live-link-resolve.js +0 -1
  216. package/dist/palettes-BIV54XLS.js +0 -1
  217. package/dist/parser-256EIWB2.js +0 -1
  218. package/dist/parser-5655XSOR.js +0 -1
  219. package/dist/parser-6TXNMXNB.js +0 -1
  220. package/dist/parser-7OEE7QT6.js +0 -1
  221. package/dist/parser-ACW6C6OY.js +0 -1
  222. package/dist/parser-AKBVJHMK.js +0 -1
  223. package/dist/parser-AN3MGHRL.js +0 -1
  224. package/dist/parser-C327BBE3.js +0 -1
  225. package/dist/parser-DGF3ZEO6.js +0 -1
  226. package/dist/parser-DHSFIUPU.js +0 -1
  227. package/dist/parser-GEKPWSSK.js +0 -1
  228. package/dist/parser-GPW4ZHPQ.js +0 -1
  229. package/dist/parser-GZ3LVF72.js +0 -1
  230. package/dist/parser-HCGXNHHL.js +0 -1
  231. package/dist/parser-J4DVNL4W.js +0 -1
  232. package/dist/parser-JOOAVBJI.js +0 -1
  233. package/dist/parser-JXS4426S.js +0 -1
  234. package/dist/parser-KFYRTGTC.js +0 -1
  235. package/dist/parser-KYPP2DX6.js +0 -1
  236. package/dist/parser-KZMALSB2.js +0 -1
  237. package/dist/parser-KZMJNKDW.js +0 -1
  238. package/dist/parser-LANGKWRG.js +0 -1
  239. package/dist/parser-LGS65QPN.js +0 -1
  240. package/dist/parser-NGHQQGD2.js +0 -1
  241. package/dist/parser-NOANDFJ4.js +0 -1
  242. package/dist/parser-NPXPJHWN.js +0 -1
  243. package/dist/parser-OKB64MMN.js +0 -1
  244. package/dist/parser-OVQTTTUJ.js +0 -1
  245. package/dist/{parser-6PHQJO42.js → parser-PVIWHVGY.js} +1 -2
  246. package/dist/parser-SA3RAJFS.js +0 -1
  247. package/dist/parser-WEVTMBJ5.js +0 -1
  248. package/dist/parser-WUK6CP5X.js +0 -1
  249. package/dist/parser-ZLKYDFI5.js +0 -1
  250. package/dist/pert.js +0 -1
  251. package/dist/renderer-3AOOLHJU.js +0 -1
  252. package/dist/renderer-3F4K2X57.js +0 -1
  253. package/dist/renderer-3XRDFNYF.js +0 -1
  254. package/dist/{renderer-QSRJGBH6.js → renderer-5A6VWIVX.js} +5 -6
  255. package/dist/renderer-5YOF2AHJ.js +0 -1
  256. package/dist/renderer-6BUUTWVS.js +0 -1
  257. package/dist/renderer-ADX4DWRJ.js +0 -1
  258. package/dist/{renderer-GWNSV76V.js → renderer-DRLLZZ6P.js} +2 -3
  259. package/dist/renderer-E5EKGIX2.js +0 -1
  260. package/dist/renderer-EU27D4S6.js +0 -1
  261. package/dist/renderer-FBAFYSIQ.js +0 -1
  262. package/dist/renderer-FQAZ3KNU.js +0 -1
  263. package/dist/renderer-FXX3XSNW.js +0 -1
  264. package/dist/renderer-G72GMBKA.js +0 -1
  265. package/dist/renderer-HV6ZYJMC.js +0 -1
  266. package/dist/renderer-HWEGM72C.js +0 -1
  267. package/dist/renderer-J3O2KVTL.js +0 -1
  268. package/dist/renderer-JKV2DBYP.js +0 -1
  269. package/dist/renderer-ML2CLU25.js +0 -1
  270. package/dist/renderer-OV3GUJRR.js +0 -1
  271. package/dist/renderer-OVDVFPAI.js +0 -1
  272. package/dist/renderer-OXSLLQQC.js +0 -1
  273. package/dist/renderer-P7LQBDU2.js +0 -1
  274. package/dist/renderer-PQYO2HCE.js +0 -1
  275. package/dist/renderer-R6VJDZFO.js +0 -1
  276. package/dist/renderer-RWJ45DWH.js +0 -1
  277. package/dist/renderer-TF3NTKP3.js +0 -1
  278. package/dist/renderer-UGA5DGKR.js +0 -1
  279. package/dist/renderer-WRWVFEX7.js +0 -1
  280. package/dist/renderer-WUDVV363.js +0 -1
  281. package/dist/renderer-X4KFEKUK.js +0 -1
  282. package/dist/renderer-XS42HEXW.js +0 -1
  283. package/dist/renderer-YSH5EX54.js +0 -1
  284. package/dist/renderer-radial-XZ5TKUT4.js +0 -1
  285. package/dist/resolver-XSXE2TRX.js +0 -1
  286. package/dist/state-collapse-HCGD6IVJ.js +0 -1
  287. package/dist/state-parser-FE3RF6XY.js +0 -1
  288. package/dist/state-renderer-B4ZF6ESS.js +0 -1
  289. package/dist/{tag-groups-CFxENdtP.d.ts → tag-groups-fgxWTyyB.d.ts} +16 -0
  290. package/dist/{themes-WjudZgda.d.ts → themes-CzuBdx1T.d.ts} +2 -2
  291. package/docs/language-reference.md +12 -0
  292. package/gallery/fixtures/sequence-groups-nested.dgmo +50 -0
  293. package/package.json +2 -1
@@ -18,4 +18,3 @@ export {
18
18
  looksLikeFlowchart,
19
19
  parseFlowchart
20
20
  };
21
- //# sourceMappingURL=flowchart-parser-GG7XBLQH.js.map
@@ -34,4 +34,3 @@ export {
34
34
  renderFlowchart,
35
35
  renderFlowchartForExport
36
36
  };
37
- //# sourceMappingURL=flowchart-renderer-TGQL4S4L.js.map
package/dist/highlight.js CHANGED
@@ -1335,4 +1335,3 @@ export {
1335
1335
  renderAnsi,
1336
1336
  scanMonthNameDates
1337
1337
  };
1338
- //# sourceMappingURL=highlight.js.map
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { b as DiagnosticSpec, P as PaletteConfig, C as CompactViewState, D as DgmoError } from './tag-groups-CFxENdtP.js';
2
- export { c as DgmoSeverity, d as DiagnosticParams, E as EmitOptions, a as PaletteColors, e as emit, f as formatDgmoError } from './tag-groups-CFxENdtP.js';
3
- import { T as Theme } from './themes-WjudZgda.js';
4
- export { M as MapCompletionOptions, a as MapLocationMatch, b as MapPlaceCompletion, c as MapRegionCompletion, d as completeMapPlaces, e as completeMapRegions, p as palettes, s as searchMapLocations, t as themes, f as validate } from './themes-WjudZgda.js';
5
- import { M as MapDataSource } from './d3-CTGUvjsH.js';
6
- export { G as Gazetteer, a as GazetteerEntry, b as MapData, R as RegionName, c as RegionNames } from './d3-CTGUvjsH.js';
7
- export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, g as getPalette, r as resolvePaletteOrFallback } from './chart-types-CsUlmuiY.js';
1
+ import { b as DiagnosticSpec, P as PaletteConfig, C as CompactViewState, D as DgmoError } from './tag-groups-fgxWTyyB.js';
2
+ export { c as DgmoSeverity, d as DiagnosticParams, E as EmitOptions, a as PaletteColors, e as emit, f as formatDgmoError } from './tag-groups-fgxWTyyB.js';
3
+ import { T as Theme } from './themes-CzuBdx1T.js';
4
+ export { M as MapCompletionOptions, a as MapLocationMatch, b as MapPlaceCompletion, c as MapRegionCompletion, d as completeMapPlaces, e as completeMapRegions, p as palettes, s as searchMapLocations, t as themes, f as validate } from './themes-CzuBdx1T.js';
5
+ import { M as MapDataSource } from './d3-B6524aaP.js';
6
+ export { G as Gazetteer, a as GazetteerEntry, b as MapData, R as RegionName, c as RegionNames } from './d3-B6524aaP.js';
7
+ export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, g as getPalette, r as resolvePaletteOrFallback } from './chart-types-Db_EGf1o.js';
8
8
 
9
9
  /**
10
10
  * Make an SVG produced by `@diagrammo/dgmo`'s static `render()` suitable for
package/dist/index.js CHANGED
@@ -11,15 +11,15 @@ import {
11
11
  } from "./chunk-SQAG3UXH.js";
12
12
  import {
13
13
  render
14
- } from "./chunk-D7T2K5WT.js";
14
+ } from "./chunk-ADAGWVWJ.js";
15
15
  import {
16
16
  renderErrorCard
17
- } from "./chunk-RKBF2SKK.js";
17
+ } from "./chunk-OZTDXMRQ.js";
18
18
  import {
19
19
  getDiagnosticSpec,
20
20
  listDiagnosticCodes,
21
21
  parseDgmo
22
- } from "./chunk-KABGWUND.js";
22
+ } from "./chunk-T327J6CE.js";
23
23
  import "./chunk-EOYPX6SF.js";
24
24
  import "./chunk-WP2RLGDI.js";
25
25
  import "./chunk-A2RUBBVT.js";
@@ -81,15 +81,15 @@ import "./chunk-KAO7JL4I.js";
81
81
  import {
82
82
  decodeDiagramUrl,
83
83
  encodeDiagramUrl
84
- } from "./chunk-U7VO6JAA.js";
85
- import "./chunk-ECIXBEG2.js";
84
+ } from "./chunk-RE27AX7O.js";
85
+ import "./chunk-JVRDKR5R.js";
86
86
  import "./chunk-3RYBTEF5.js";
87
87
  import "./chunk-UNNJCSSQ.js";
88
88
  import "./chunk-3TYUXC7D.js";
89
89
  import "./chunk-HMWZQ53A.js";
90
90
  import "./chunk-EQW6HOP4.js";
91
91
  import "./chunk-DAOFNU6J.js";
92
- import "./chunk-6EV2F6W7.js";
92
+ import "./chunk-VPASQOR3.js";
93
93
  import "./chunk-C3Z4DX3V.js";
94
94
  import "./chunk-JRUEIRJB.js";
95
95
  import "./chunk-7TF3QOOD.js";
@@ -755,4 +755,3 @@ export {
755
755
  themes,
756
756
  parseDgmo as validate
757
757
  };
758
- //# sourceMappingURL=index.js.map
@@ -16,4 +16,3 @@ import "./chunk-5WRI5ZAA.js";
16
16
  export {
17
17
  layoutERDiagram
18
18
  };
19
- //# sourceMappingURL=layout-6JARW64V.js.map
@@ -12,4 +12,3 @@ export {
12
12
  layoutPert,
13
13
  relayoutPert
14
14
  };
15
- //# sourceMappingURL=layout-AM57TGN5.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeNodeSize,
3
3
  layoutBoxesAndLines
4
- } from "./chunk-4NYXQB7Y.js";
4
+ } from "./chunk-Y7FTHOMD.js";
5
5
  import "./chunk-WTTIODDV.js";
6
6
  import "./chunk-HBCAY3KR.js";
7
7
  import "./chunk-6EK55ART.js";
@@ -19,4 +19,3 @@ export {
19
19
  computeNodeSize,
20
20
  layoutBoxesAndLines
21
21
  };
22
- //# sourceMappingURL=layout-JLUGD4WH.js.map
@@ -19,4 +19,3 @@ import "./chunk-5WRI5ZAA.js";
19
19
  export {
20
20
  layoutGraph
21
21
  };
22
- //# sourceMappingURL=layout-FMKSENGL.js.map
@@ -7,4 +7,3 @@ import "./chunk-5WRI5ZAA.js";
7
7
  export {
8
8
  layoutSwimlane
9
9
  };
10
- //# sourceMappingURL=layout-JQ3IPJYR.js.map
@@ -25,4 +25,3 @@ export {
25
25
  layoutC4Deployment,
26
26
  rollUpContextRelationships
27
27
  };
28
- //# sourceMappingURL=layout-K6NI4VCS.js.map
@@ -9,4 +9,3 @@ export {
9
9
  SKETCH_AUTO_LAYOUT_DEFAULTS,
10
10
  layoutSketch
11
11
  };
12
- //# sourceMappingURL=layout-MSSHF45T.js.map
@@ -13,4 +13,3 @@ import "./chunk-5WRI5ZAA.js";
13
13
  export {
14
14
  layoutSitemap
15
15
  };
16
- //# sourceMappingURL=layout-NB7TKAWN.js.map
@@ -13,4 +13,3 @@ import "./chunk-5WRI5ZAA.js";
13
13
  export {
14
14
  layoutOrg
15
15
  };
16
- //# sourceMappingURL=layout-PT7IKVCV.js.map
@@ -16,4 +16,3 @@ export {
16
16
  scoreToColor,
17
17
  scoreToCurveY
18
18
  };
19
- //# sourceMappingURL=layout-SOPAVXIH.js.map
@@ -10,4 +10,3 @@ export {
10
10
  layoutInfra,
11
11
  separateGroups
12
12
  };
13
- //# sourceMappingURL=layout-SW3XWYKC.js.map
@@ -6,4 +6,3 @@ import "./chunk-5WRI5ZAA.js";
6
6
  export {
7
7
  layoutWireframe
8
8
  };
9
- //# sourceMappingURL=layout-UIV56NUA.js.map
@@ -11,4 +11,3 @@ export {
11
11
  focusFamily,
12
12
  layoutFamily
13
13
  };
14
- //# sourceMappingURL=layout-WXVGMSI3.js.map
@@ -13,4 +13,3 @@ import "./chunk-5WRI5ZAA.js";
13
13
  export {
14
14
  layoutMindmap
15
15
  };
16
- //# sourceMappingURL=layout-WZCXK7DF.js.map
@@ -16,4 +16,3 @@ import "./chunk-5WRI5ZAA.js";
16
16
  export {
17
17
  layoutClassDiagram
18
18
  };
19
- //# sourceMappingURL=layout-YELNBVPC.js.map
@@ -2,7 +2,7 @@ import {
2
2
  EDGE_LABEL_FONT_SIZE,
3
3
  computeNodeSize,
4
4
  measureEdgeLabel
5
- } from "./chunk-4NYXQB7Y.js";
5
+ } from "./chunk-Y7FTHOMD.js";
6
6
  import {
7
7
  clipEndpointsToNodes,
8
8
  groupedTierCandidates
@@ -1416,6 +1416,15 @@ function edgeLength(layout) {
1416
1416
  );
1417
1417
  return total;
1418
1418
  }
1419
+ function layoutFailure(parsed, cfg, reservedLabelSpace, cause) {
1420
+ const which = parsed.title ? `boxes-and-lines diagram "${parsed.title}"` : "untitled boxes-and-lines diagram";
1421
+ const shape = `${parsed.nodes.length} boxes, ${parsed.edges.length} lines, ${parsed.groups.length} groups, direction ${parsed.direction}`;
1422
+ const config = `ranker ${cfg.ranker}, nodesep ${cfg.nodesep}, ranksep ${cfg.ranksep}` + (reservedLabelSpace ? ", retried without reserved label space" : "");
1423
+ return new Error(
1424
+ `Could not lay out the ${which} (${shape}). Every candidate arrangement failed, and so did the fallback (${config}).`,
1425
+ { cause }
1426
+ );
1427
+ }
1419
1428
  async function layoutBoxesAndLinesSearch(parsed, collapseInfo, opts) {
1420
1429
  const hideDescriptions = opts?.hideDescriptions ?? false;
1421
1430
  const reserveEdgeLabels = opts?.reserveEdgeLabels ?? false;
@@ -1744,11 +1753,21 @@ async function layoutBoxesAndLinesSearch(parsed, collapseInfo, opts) {
1744
1753
  nodesep: 50,
1745
1754
  ranksep: 60
1746
1755
  };
1747
- if (!reserveEdgeLabels) return place(plain);
1756
+ if (!reserveEdgeLabels) {
1757
+ try {
1758
+ return place(plain);
1759
+ } catch (err) {
1760
+ throw layoutFailure(parsed, plain, false, err);
1761
+ }
1762
+ }
1748
1763
  try {
1749
1764
  return place(plain);
1750
1765
  } catch {
1751
- return place(plain, false);
1766
+ try {
1767
+ return place(plain, false);
1768
+ } catch (err) {
1769
+ throw layoutFailure(parsed, plain, true, err);
1770
+ }
1752
1771
  }
1753
1772
  }
1754
1773
  let layered = [];
@@ -1855,4 +1874,3 @@ export {
1855
1874
  layoutBoxesAndLinesSearch,
1856
1875
  separateGroupBands
1857
1876
  };
1858
- //# sourceMappingURL=layout-search-RODROCT4.js.map
@@ -51,4 +51,3 @@ export {
51
51
  measureLegendText,
52
52
  truncateLegendText
53
53
  };
54
- //# sourceMappingURL=legend-constants-ZVO4FLAK.js.map
@@ -61,4 +61,3 @@ export {
61
61
  DEFAULT_LIVE_LINK_TIMEOUT_MS,
62
62
  fetchLiveLink
63
63
  };
64
- //# sourceMappingURL=live-link-resolve.js.map
@@ -55,4 +55,3 @@ export {
55
55
  tint,
56
56
  tokyoNightPalette
57
57
  };
58
- //# sourceMappingURL=palettes-BIV54XLS.js.map
@@ -9,4 +9,3 @@ import "./chunk-5WRI5ZAA.js";
9
9
  export {
10
10
  parseClock
11
11
  };
12
- //# sourceMappingURL=parser-256EIWB2.js.map
@@ -10,4 +10,3 @@ import "./chunk-5WRI5ZAA.js";
10
10
  export {
11
11
  parseBlock
12
12
  };
13
- //# sourceMappingURL=parser-5655XSOR.js.map
@@ -15,4 +15,3 @@ export {
15
15
  parseLiveLink,
16
16
  resolveLiveLinkTarget
17
17
  };
18
- //# sourceMappingURL=parser-6TXNMXNB.js.map
@@ -8,4 +8,3 @@ import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  parseCycle
10
10
  };
11
- //# sourceMappingURL=parser-7OEE7QT6.js.map
@@ -10,4 +10,3 @@ import "./chunk-5WRI5ZAA.js";
10
10
  export {
11
11
  parseKanban
12
12
  };
13
- //# sourceMappingURL=parser-ACW6C6OY.js.map
@@ -12,4 +12,3 @@ export {
12
12
  extractSymbols,
13
13
  parseBody
14
14
  };
15
- //# sourceMappingURL=parser-AKBVJHMK.js.map
@@ -9,4 +9,3 @@ import "./chunk-5WRI5ZAA.js";
9
9
  export {
10
10
  parseTreemap
11
11
  };
12
- //# sourceMappingURL=parser-AN3MGHRL.js.map
@@ -10,4 +10,3 @@ import "./chunk-5WRI5ZAA.js";
10
10
  export {
11
11
  parseJourneyMap
12
12
  };
13
- //# sourceMappingURL=parser-C327BBE3.js.map
@@ -17,4 +17,3 @@ export {
17
17
  extractSymbols,
18
18
  parseInfra
19
19
  };
20
- //# sourceMappingURL=parser-DGF3ZEO6.js.map
@@ -10,4 +10,3 @@ import "./chunk-5WRI5ZAA.js";
10
10
  export {
11
11
  parseBracket
12
12
  };
13
- //# sourceMappingURL=parser-DHSFIUPU.js.map
@@ -14,4 +14,3 @@ export {
14
14
  looksLikeMap,
15
15
  parseMap
16
16
  };
17
- //# sourceMappingURL=parser-GEKPWSSK.js.map
@@ -16,4 +16,3 @@ export {
16
16
  looksLikeClassDiagram,
17
17
  parseClassDiagram
18
18
  };
19
- //# sourceMappingURL=parser-GPW4ZHPQ.js.map
@@ -8,4 +8,3 @@ import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  parseRing
10
10
  };
11
- //# sourceMappingURL=parser-GZ3LVF72.js.map
@@ -15,4 +15,3 @@ export {
15
15
  parseWireframe,
16
16
  resetWireframeIds
17
17
  };
18
- //# sourceMappingURL=parser-HCGXNHHL.js.map
@@ -17,4 +17,3 @@ export {
17
17
  looksLikeERDiagram,
18
18
  parseERDiagram
19
19
  };
20
- //# sourceMappingURL=parser-J4DVNL4W.js.map
@@ -14,4 +14,3 @@ export {
14
14
  looksLikeOrg,
15
15
  parseOrg
16
16
  };
17
- //# sourceMappingURL=parser-JOOAVBJI.js.map
@@ -19,4 +19,3 @@ export {
19
19
  parseEdgeLabel,
20
20
  parsePert
21
21
  };
22
- //# sourceMappingURL=parser-JXS4426S.js.map
@@ -11,4 +11,3 @@ import "./chunk-5WRI5ZAA.js";
11
11
  export {
12
12
  parseEventLine
13
13
  };
14
- //# sourceMappingURL=parser-KFYRTGTC.js.map
@@ -15,4 +15,3 @@ export {
15
15
  looksLikeBoxesAndLines,
16
16
  parseBoxesAndLines
17
17
  };
18
- //# sourceMappingURL=parser-KYPP2DX6.js.map
@@ -12,4 +12,3 @@ import "./chunk-5WRI5ZAA.js";
12
12
  export {
13
13
  parseSketch
14
14
  };
15
- //# sourceMappingURL=parser-KZMALSB2.js.map
@@ -8,4 +8,3 @@ import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  parseVersionControl
10
10
  };
11
- //# sourceMappingURL=parser-KZMJNKDW.js.map
@@ -12,4 +12,3 @@ export {
12
12
  allTasks,
13
13
  parseRaci
14
14
  };
15
- //# sourceMappingURL=parser-LANGKWRG.js.map
@@ -13,4 +13,3 @@ export {
13
13
  parseCountdown,
14
14
  targetToMs
15
15
  };
16
- //# sourceMappingURL=parser-LGS65QPN.js.map
@@ -10,4 +10,3 @@ import "./chunk-5WRI5ZAA.js";
10
10
  export {
11
11
  parseMindmap
12
12
  };
13
- //# sourceMappingURL=parser-NGHQQGD2.js.map
@@ -8,4 +8,3 @@ import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  parseTechRadar
10
10
  };
11
- //# sourceMappingURL=parser-NOANDFJ4.js.map
@@ -11,4 +11,3 @@ import "./chunk-5WRI5ZAA.js";
11
11
  export {
12
12
  parseFamily
13
13
  };
14
- //# sourceMappingURL=parser-NPXPJHWN.js.map
@@ -13,4 +13,3 @@ export {
13
13
  looksLikeSitemap,
14
14
  parseSitemap
15
15
  };
16
- //# sourceMappingURL=parser-OKB64MMN.js.map
@@ -8,4 +8,3 @@ import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  parsePyramid
10
10
  };
11
- //# sourceMappingURL=parser-OVQTTTUJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  isSequenceSection,
5
5
  looksLikeSequence,
6
6
  parseSequenceDgmo
7
- } from "./chunk-6EV2F6W7.js";
7
+ } from "./chunk-VPASQOR3.js";
8
8
  import "./chunk-C3Z4DX3V.js";
9
9
  import "./chunk-N7VMGZCU.js";
10
10
  import "./chunk-NOTA6TEI.js";
@@ -20,4 +20,3 @@ export {
20
20
  looksLikeSequence,
21
21
  parseSequenceDgmo
22
22
  };
23
- //# sourceMappingURL=parser-6PHQJO42.js.map
@@ -8,4 +8,3 @@ import "./chunk-5WRI5ZAA.js";
8
8
  export {
9
9
  parseGoal
10
10
  };
11
- //# sourceMappingURL=parser-SA3RAJFS.js.map
@@ -13,4 +13,3 @@ import "./chunk-5WRI5ZAA.js";
13
13
  export {
14
14
  parseC4
15
15
  };
16
- //# sourceMappingURL=parser-WEVTMBJ5.js.map
@@ -18,4 +18,3 @@ export {
18
18
  GANTT_KNOWN_OPTIONS,
19
19
  parseGantt
20
20
  };
21
- //# sourceMappingURL=parser-WUK6CP5X.js.map
@@ -9,4 +9,3 @@ import "./chunk-5WRI5ZAA.js";
9
9
  export {
10
10
  parseSwimlane
11
11
  };
12
- //# sourceMappingURL=parser-ZLKYDFI5.js.map
package/dist/pert.js CHANGED
@@ -291,4 +291,3 @@ export {
291
291
  simulateCanonical,
292
292
  simulateFast
293
293
  };
294
- //# sourceMappingURL=pert.js.map
@@ -20,4 +20,3 @@ export {
20
20
  renderTechRadar,
21
21
  renderTechRadarForExport
22
22
  };
23
- //# sourceMappingURL=renderer-3AOOLHJU.js.map
@@ -21,4 +21,3 @@ export {
21
21
  renderRaci,
22
22
  renderRaciForExport
23
23
  };
24
- //# sourceMappingURL=renderer-3F4K2X57.js.map
@@ -38,4 +38,3 @@ export {
38
38
  renderC4Deployment,
39
39
  renderC4DeploymentForExport
40
40
  };
41
- //# sourceMappingURL=renderer-3XRDFNYF.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  renderLiveLinkCard
3
3
  } from "./chunk-A6YINTY6.js";
4
- import "./chunk-RKBF2SKK.js";
5
- import "./chunk-KABGWUND.js";
4
+ import "./chunk-OZTDXMRQ.js";
5
+ import "./chunk-T327J6CE.js";
6
6
  import "./chunk-EOYPX6SF.js";
7
7
  import "./chunk-WP2RLGDI.js";
8
8
  import "./chunk-A2RUBBVT.js";
@@ -40,15 +40,15 @@ import "./chunk-GSYZZFI5.js";
40
40
  import "./chunk-GUTZCRBT.js";
41
41
  import "./chunk-BAZT6CIF.js";
42
42
  import "./chunk-KAO7JL4I.js";
43
- import "./chunk-U7VO6JAA.js";
44
- import "./chunk-ECIXBEG2.js";
43
+ import "./chunk-RE27AX7O.js";
44
+ import "./chunk-JVRDKR5R.js";
45
45
  import "./chunk-3RYBTEF5.js";
46
46
  import "./chunk-UNNJCSSQ.js";
47
47
  import "./chunk-3TYUXC7D.js";
48
48
  import "./chunk-HMWZQ53A.js";
49
49
  import "./chunk-EQW6HOP4.js";
50
50
  import "./chunk-DAOFNU6J.js";
51
- import "./chunk-6EV2F6W7.js";
51
+ import "./chunk-VPASQOR3.js";
52
52
  import "./chunk-C3Z4DX3V.js";
53
53
  import "./chunk-JRUEIRJB.js";
54
54
  import "./chunk-7TF3QOOD.js";
@@ -76,4 +76,3 @@ import "./chunk-5WRI5ZAA.js";
76
76
  export {
77
77
  renderLiveLinkCard
78
78
  };
79
- //# sourceMappingURL=renderer-QSRJGBH6.js.map
@@ -36,4 +36,3 @@ export {
36
36
  renderERDiagram,
37
37
  renderERDiagramForExport
38
38
  };
39
- //# sourceMappingURL=renderer-5YOF2AHJ.js.map
@@ -20,4 +20,3 @@ export {
20
20
  renderTreemap,
21
21
  renderTreemapForExport
22
22
  };
23
- //# sourceMappingURL=renderer-6BUUTWVS.js.map
@@ -22,4 +22,3 @@ export {
22
22
  renderBracket,
23
23
  renderBracketForExport
24
24
  };
25
- //# sourceMappingURL=renderer-ADX4DWRJ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  groupMessagesBySection,
8
8
  renderSequenceDiagram,
9
9
  summarizeSectionParticipation
10
- } from "./chunk-AYA6C64M.js";
10
+ } from "./chunk-NJS62BAG.js";
11
11
  import "./chunk-WMIKC5XO.js";
12
12
  import {
13
13
  parseInlineMarkdown,
@@ -22,7 +22,7 @@ import "./chunk-FM3WAVB6.js";
22
22
  import "./chunk-ICLB27PZ.js";
23
23
  import "./chunk-RH2PROYG.js";
24
24
  import "./chunk-KAO7JL4I.js";
25
- import "./chunk-6EV2F6W7.js";
25
+ import "./chunk-VPASQOR3.js";
26
26
  import "./chunk-C3Z4DX3V.js";
27
27
  import "./chunk-N7VMGZCU.js";
28
28
  import "./chunk-NOTA6TEI.js";
@@ -44,4 +44,3 @@ export {
44
44
  summarizeSectionParticipation,
45
45
  truncateBareUrl
46
46
  };
47
- //# sourceMappingURL=renderer-GWNSV76V.js.map
@@ -17,4 +17,3 @@ export {
17
17
  renderRing,
18
18
  renderRingForExport
19
19
  };
20
- //# sourceMappingURL=renderer-E5EKGIX2.js.map
@@ -22,4 +22,3 @@ export {
22
22
  renderCycle,
23
23
  renderCycleForExport
24
24
  };
25
- //# sourceMappingURL=renderer-EU27D4S6.js.map
@@ -25,4 +25,3 @@ export {
25
25
  renderSketchForExport,
26
26
  sketchEdgeGeometry
27
27
  };
28
- //# sourceMappingURL=renderer-FBAFYSIQ.js.map
@@ -32,4 +32,3 @@ export {
32
32
  parseAndLayoutInfra,
33
33
  renderInfra
34
34
  };
35
- //# sourceMappingURL=renderer-FQAZ3KNU.js.map
@@ -33,4 +33,3 @@ export {
33
33
  renderPertAnalysisBlock,
34
34
  renderPertForExport
35
35
  };
36
- //# sourceMappingURL=renderer-FXX3XSNW.js.map
@@ -36,4 +36,3 @@ export {
36
36
  renderEventLine,
37
37
  renderEventLineForExport
38
38
  };
39
- //# sourceMappingURL=renderer-G72GMBKA.js.map
@@ -22,4 +22,3 @@ export {
22
22
  renderFamily,
23
23
  renderFamilyForExport
24
24
  };
25
- //# sourceMappingURL=renderer-HV6ZYJMC.js.map
@@ -13,4 +13,3 @@ export {
13
13
  renderVersionControl,
14
14
  renderVersionControlForExport
15
15
  };
16
- //# sourceMappingURL=renderer-HWEGM72C.js.map
@@ -26,4 +26,3 @@ export {
26
26
  renderBoxesAndLines,
27
27
  renderBoxesAndLinesForExport
28
28
  };
29
- //# sourceMappingURL=renderer-J3O2KVTL.js.map
@@ -18,4 +18,3 @@ export {
18
18
  renderBody,
19
19
  renderBodyForExport
20
20
  };
21
- //# sourceMappingURL=renderer-JKV2DBYP.js.map