@diagrammo/dgmo 0.60.0 → 0.62.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 (213) hide show
  1. package/README.md +1 -1
  2. package/dist/advanced.d.ts +382 -396
  3. package/dist/advanced.js +217 -105
  4. package/dist/auto.js +142 -141
  5. package/dist/block.js +51 -106
  6. package/dist/{calculator-ORAKSL5D.js → calculator-M326KQFW.js} +3 -3
  7. package/dist/{chart-meta-C6UaqhTP.d.ts → chart-meta-D98NbYDp.d.ts} +9 -3
  8. package/dist/chart-meta.d.ts +2 -2
  9. package/dist/chart-meta.js +44 -46
  10. package/dist/{charts-d3-FSNSASP7.js → charts-d3-3WMDA5Z5.js} +6 -6
  11. package/dist/{chunk-ON4MEUC4.js → chunk-23RWHHI5.js} +11 -2
  12. package/dist/{chunk-SLGHGT76.js → chunk-2CMM36O7.js} +2 -2
  13. package/dist/{chunk-XVOGT46C.js → chunk-2PTK46E2.js} +2 -2
  14. package/dist/{chunk-DXSRQLD4.js → chunk-37EHGTQ2.js} +2205 -2019
  15. package/dist/{chunk-4IFPX4J6.js → chunk-3A2HZBFD.js} +2 -2
  16. package/dist/{chunk-OJD4FU6H.js → chunk-3A7KMF33.js} +2 -2
  17. package/dist/{chunk-DKCEG3N6.js → chunk-3HYRJAXO.js} +4 -4
  18. package/dist/{chunk-V5OBLPLA.js → chunk-3OLO2MZ6.js} +4 -4
  19. package/dist/{chunk-P3343TTF.js → chunk-3PVUGECM.js} +95 -117
  20. package/dist/{chunk-Y5KXCKI5.js → chunk-4BEAHH6G.js} +5 -5
  21. package/dist/{chunk-ZPUVAJTW.js → chunk-4C3BTTOL.js} +4 -4
  22. package/dist/{chunk-EKKS325Q.js → chunk-4GQ6I46C.js} +2 -2
  23. package/dist/{chunk-4B5YISOR.js → chunk-536EBUPG.js} +16 -1
  24. package/dist/{chunk-DKG2ADEN.js → chunk-63WPPHOM.js} +2 -2
  25. package/dist/{chunk-I53E3L5M.js → chunk-65QX6LYT.js} +3 -3
  26. package/dist/{chunk-243KZTTS.js → chunk-6BVIZW5N.js} +7 -7
  27. package/dist/{chunk-6RR4XUOB.js → chunk-7BJQUII6.js} +6 -6
  28. package/dist/{chunk-X5CJAFZF.js → chunk-7FTGNJQ2.js} +3 -3
  29. package/dist/{chunk-PTYUSRGT.js → chunk-7QCYHZVO.js} +5 -5
  30. package/dist/{chunk-ZU2EXJEL.js → chunk-A34FVVVI.js} +2 -2
  31. package/dist/{chunk-BGBGWFUI.js → chunk-A5FNLWKP.js} +3 -3
  32. package/dist/{chunk-BG23Y7JD.js → chunk-AFCVHK3G.js} +3 -3
  33. package/dist/{chunk-QMKFLQL4.js → chunk-AKD3YZ54.js} +3 -3
  34. package/dist/{chunk-BVPRRSMX.js → chunk-B25BEH3F.js} +3 -3
  35. package/dist/{chunk-GCZQAT4Z.js → chunk-CHOKOYSC.js} +3 -3
  36. package/dist/{chunk-2NSR6INI.js → chunk-CSUF6PNF.js} +3 -3
  37. package/dist/{chunk-ZTSBP3AH.js → chunk-CUYDE77F.js} +3 -3
  38. package/dist/{chunk-VHO3YBTB.js → chunk-CVVICCSB.js} +24 -2
  39. package/dist/{chunk-K5L3LXT3.js → chunk-DHIBVN2D.js} +104 -93
  40. package/dist/{chunk-ZBOSGLES.js → chunk-DJC5M7VC.js} +3 -3
  41. package/dist/{chunk-6XWZKCVS.js → chunk-DPFCFU2K.js} +3 -3
  42. package/dist/{chunk-CDIBHGPW.js → chunk-DY4VJYG7.js} +3 -3
  43. package/dist/{chunk-32G7X6BX.js → chunk-DZZWR6GT.js} +6 -6
  44. package/dist/{chunk-6YY56KU2.js → chunk-E2GEV3BI.js} +3 -3
  45. package/dist/{chunk-PSWWCLLI.js → chunk-EK4QX7NQ.js} +3 -3
  46. package/dist/{chunk-N4NFZIXE.js → chunk-FVYHDZ6Q.js} +2 -2
  47. package/dist/{chunk-DC3EBYIG.js → chunk-FXLGBUIQ.js} +5 -5
  48. package/dist/{chunk-VVCYOF3P.js → chunk-HBSKE3ML.js} +3 -3
  49. package/dist/{chunk-IO436ODZ.js → chunk-HJ6TMHQG.js} +4 -4
  50. package/dist/{chunk-6F74K4JL.js → chunk-I7IQ2NEJ.js} +3 -3
  51. package/dist/{chunk-VGFUVFJA.js → chunk-IL5UVUMK.js} +3 -3
  52. package/dist/{chunk-S5OQWV54.js → chunk-INLEOJIX.js} +2 -2
  53. package/dist/{chunk-35SOKGIP.js → chunk-JU2VMFYC.js} +2 -2
  54. package/dist/{chunk-DDQ47BMP.js → chunk-JWJBWNQL.js} +3 -3
  55. package/dist/{chunk-ZJR2YBVN.js → chunk-KOHIF4LD.js} +2 -2
  56. package/dist/{chunk-CWOKQSBQ.js → chunk-KRTO7NRK.js} +2 -2
  57. package/dist/{chunk-TL6WZWSZ.js → chunk-LALFMQ7Q.js} +2 -2
  58. package/dist/{chunk-MROSEZHE.js → chunk-LFAQ4BLZ.js} +3 -3
  59. package/dist/{chunk-EYP34TFP.js → chunk-LQR46XGR.js} +2 -2
  60. package/dist/{chunk-QABZKAKF.js → chunk-LRKGF7RN.js} +6 -6
  61. package/dist/{chunk-LLA5C2TM.js → chunk-MDI5FMWO.js} +2 -2
  62. package/dist/{chunk-GZAKQDX7.js → chunk-MRD4QWFK.js} +3 -3
  63. package/dist/{chunk-EZGWUS5G.js → chunk-NEV5IW33.js} +5 -5
  64. package/dist/{chunk-HQI7S72D.js → chunk-NKRVFQGO.js} +4 -4
  65. package/dist/{chunk-V5PHEH2M.js → chunk-NMIWEUIG.js} +2 -2
  66. package/dist/{chunk-OSXJY6SY.js → chunk-NSJK7F2V.js} +3 -3
  67. package/dist/{chunk-6KWE5553.js → chunk-O42EAZUV.js} +3 -3
  68. package/dist/{chunk-LXUBC5H4.js → chunk-OIK6Y2EJ.js} +5 -5
  69. package/dist/{chunk-EQGLGTU2.js → chunk-OLPWKS5L.js} +3 -3
  70. package/dist/{chunk-IXY2IPOW.js → chunk-P2PUWV3Y.js} +233 -58
  71. package/dist/{chunk-4VFQPEC6.js → chunk-PFGJ7SCM.js} +6 -6
  72. package/dist/{chunk-DNSEG6P2.js → chunk-PJDX4IKR.js} +2 -2
  73. package/dist/{chunk-JAHV7RFV.js → chunk-PTKCX5ZE.js} +4 -4
  74. package/dist/{chunk-U5UKFXHB.js → chunk-Q3XVMFVF.js} +2 -2
  75. package/dist/{chunk-SJT4W23S.js → chunk-QE4GTFZS.js} +2 -2
  76. package/dist/{chunk-TR7WNZFJ.js → chunk-QFNRHY62.js} +3 -3
  77. package/dist/{chunk-R53THUTP.js → chunk-QMYJO4EL.js} +4 -4
  78. package/dist/{chunk-IH3GHOHU.js → chunk-QQADQBKG.js} +4 -4
  79. package/dist/{chunk-TDZRLG7I.js → chunk-RF5YDIYT.js} +2 -2
  80. package/dist/{chunk-HFOSP6E2.js → chunk-RKTIIU7Z.js} +3 -3
  81. package/dist/{chunk-SEDLXFTX.js → chunk-SBOG6R6A.js} +4 -4
  82. package/dist/{chunk-T7FMXKIG.js → chunk-SF3JAWMY.js} +3 -3
  83. package/dist/{chunk-GSSCUREO.js → chunk-SMHTYVMK.js} +6 -6
  84. package/dist/{chunk-SQLVM3G7.js → chunk-SR7NGZNM.js} +4 -4
  85. package/dist/{chunk-VGCL263O.js → chunk-SSR6JAR3.js} +2 -2
  86. package/dist/{chunk-HPNOT5GQ.js → chunk-TJCHULP5.js} +2 -2
  87. package/dist/{chunk-PLDCXGLQ.js → chunk-TRP7PC5Z.js} +5 -5
  88. package/dist/{chunk-3O3W2JS2.js → chunk-U42ZEK7L.js} +2 -2
  89. package/dist/{chunk-UYY7MVJK.js → chunk-U7CXUGQS.js} +3 -3
  90. package/dist/{chunk-IOUUQLDE.js → chunk-UKZ7K5GS.js} +2 -2
  91. package/dist/{chunk-X5AIFXB7.js → chunk-USHDV2AF.js} +4 -4
  92. package/dist/{chunk-TJV3J74Y.js → chunk-UTOELEK2.js} +3 -3
  93. package/dist/{chunk-E5G55SYS.js → chunk-UZ3JPYD3.js} +3 -3
  94. package/dist/{chunk-ZP2FV4WO.js → chunk-VWCGN2ST.js} +3 -3
  95. package/dist/{chunk-W2Z4KS72.js → chunk-VXBEG3IB.js} +3 -3
  96. package/dist/{chunk-Z4RFILRE.js → chunk-W32HMBPW.js} +3 -3
  97. package/dist/{chunk-KZFAEMQQ.js → chunk-X2X7MTKH.js} +3 -3
  98. package/dist/{chunk-5USRKIR3.js → chunk-X4FCKGK2.js} +4 -4
  99. package/dist/{chunk-MM4Z32EH.js → chunk-XC7BUB3P.js} +2 -2
  100. package/dist/{chunk-XS7CL7NX.js → chunk-XHFXA6RP.js} +2 -2
  101. package/dist/{chunk-JQDZHYGU.js → chunk-XJZCXNWR.js} +3 -3
  102. package/dist/{chunk-XZXXSZ7E.js → chunk-YJCILMEA.js} +4 -4
  103. package/dist/{chunk-GSVHOF3J.js → chunk-YXI6Y7YY.js} +2 -2
  104. package/dist/cloud-reference.d.ts +24 -4
  105. package/dist/cloud-reference.js +5 -1
  106. package/dist/completion-registry.js +5 -7
  107. package/dist/{registry-C0HvobTb.d.ts → dgmo-router-Dd5PTjxl.d.ts} +271 -98
  108. package/dist/dgmo-router-Z5N6QLIC.js +89 -0
  109. package/dist/{dimensions-PC6WLKCC.js → dimensions-ES6O2T4H.js} +6 -6
  110. package/dist/editor.d.ts +9 -2
  111. package/dist/editor.js +229 -57
  112. package/dist/element.js +143 -142
  113. package/dist/{flowchart-parser-PZQY2UC4.js → flowchart-parser-T4XZRSA7.js} +4 -4
  114. package/dist/{flowchart-renderer-RS6IRRE7.js → flowchart-renderer-XFDCX7MZ.js} +5 -5
  115. package/dist/highlight.js +229 -57
  116. package/dist/index.d.ts +21 -10
  117. package/dist/index.js +55 -66
  118. package/dist/{layout-GKWT37FH.js → layout-H4H4OFE4.js} +3 -3
  119. package/dist/{layout-W423CCED.js → layout-OH4VQ3OI.js} +4 -4
  120. package/dist/{layout-LH6LNIUV.js → layout-QTZO6CW5.js} +3 -3
  121. package/dist/{layout-AUAW5U74.js → layout-SKQMIXTG.js} +4 -4
  122. package/dist/{layout-GU6POUGD.js → layout-UU4VJTOP.js} +4 -4
  123. package/dist/{layout-MNQZ3Q45.js → layout-WCOEZPOI.js} +4 -4
  124. package/dist/live-link-resolve.js +1 -1
  125. package/dist/{parser-NJGZF5MK.js → parser-2BGDJJ2L.js} +5 -5
  126. package/dist/{parser-3QHLZK6F.js → parser-2K4Z7RNT.js} +3 -3
  127. package/dist/{parser-6HT34DZ3.js → parser-3KFNCRLD.js} +4 -4
  128. package/dist/{parser-WXZU47Z4.js → parser-4CMMKTRS.js} +3 -3
  129. package/dist/{parser-BNGLB2VS.js → parser-56746U6W.js} +4 -4
  130. package/dist/{parser-56HMQG5C.js → parser-5JS6VM6L.js} +5 -5
  131. package/dist/{parser-2OJSWKXO.js → parser-5ZUEF4WE.js} +4 -4
  132. package/dist/{parser-7C5GZCAU.js → parser-63BQDUWB.js} +4 -4
  133. package/dist/{parser-TPCKCQ4Z.js → parser-6VNVZO5F.js} +4 -4
  134. package/dist/{parser-6S65S3DX.js → parser-AZZHRVJF.js} +4 -4
  135. package/dist/{parser-WI2B7IL3.js → parser-BGX5ODHF.js} +3 -3
  136. package/dist/{parser-TABGTEHH.js → parser-DLUOCPMD.js} +3 -3
  137. package/dist/{parser-CXLR6MAY.js → parser-DSNINT2K.js} +3 -3
  138. package/dist/{parser-RMUGOZO3.js → parser-FTC7FZ6Z.js} +4 -4
  139. package/dist/{parser-5I7W54EA.js → parser-GHLWPCIX.js} +4 -4
  140. package/dist/{parser-BVC642CN.js → parser-J75RSQFI.js} +4 -4
  141. package/dist/{parser-IWQQY5VU.js → parser-JZPSIWRC.js} +4 -4
  142. package/dist/{parser-QCSDU4FU.js → parser-KN7H2RQC.js} +3 -3
  143. package/dist/{parser-4QYDFXV2.js → parser-KRF4S5RW.js} +4 -4
  144. package/dist/{parser-4OU5P3BM.js → parser-KSIYWKYF.js} +4 -4
  145. package/dist/{parser-UB6XGLTC.js → parser-MCUKPCYE.js} +4 -4
  146. package/dist/{parser-G7KP6LZH.js → parser-MUYBWGUB.js} +3 -3
  147. package/dist/{parser-QCYEJOLZ.js → parser-NWERESX3.js} +4 -4
  148. package/dist/{parser-63LK7YBR.js → parser-OEBFJHT4.js} +5 -5
  149. package/dist/{parser-DROHJTBZ.js → parser-P7T2BGAI.js} +4 -4
  150. package/dist/{parser-7W7DPIGR.js → parser-RAKD267X.js} +4 -4
  151. package/dist/{parser-AD5OAVX6.js → parser-RBY2UFTE.js} +3 -3
  152. package/dist/{parser-5BHZMV3O.js → parser-SRUPRH77.js} +4 -4
  153. package/dist/{parser-QJ7XK7AB.js → parser-SSUMVOJA.js} +4 -4
  154. package/dist/{parser-BLCDJB7N.js → parser-UKQC7N6K.js} +4 -4
  155. package/dist/{parser-AWO3N6YH.js → parser-VMGTNHP2.js} +3 -3
  156. package/dist/{parser-55CSWK3N.js → parser-WHDC7OV2.js} +4 -4
  157. package/dist/{parser-453DEZ4P.js → parser-YO2JBE52.js} +4 -4
  158. package/dist/{renderer-G24W6J6H.js → renderer-2DKA5QXA.js} +4 -4
  159. package/dist/{renderer-66YB63F4.js → renderer-2PGIIOFN.js} +7 -7
  160. package/dist/{renderer-RH5OJ6Q6.js → renderer-35F3XMZH.js} +5 -5
  161. package/dist/{renderer-3Z5MSBWR.js → renderer-4RQ5PGHY.js} +6 -6
  162. package/dist/{renderer-LGSSP3JI.js → renderer-62FFDWMY.js} +6 -6
  163. package/dist/{renderer-SHMFNFE4.js → renderer-63MLWS6L.js} +7 -7
  164. package/dist/{renderer-GFZT6Q5F.js → renderer-6QW5OAJG.js} +5 -5
  165. package/dist/renderer-A5GFW2XH.js +76 -0
  166. package/dist/{renderer-H5C2JN62.js → renderer-AMCTCBV3.js} +5 -5
  167. package/dist/{renderer-PGMTAQIE.js → renderer-AS6LLDZM.js} +5 -5
  168. package/dist/{renderer-YYG4LYKS.js → renderer-AVR3LBTS.js} +6 -6
  169. package/dist/{renderer-LPQUBMXZ.js → renderer-BBBN7QNX.js} +4 -4
  170. package/dist/{renderer-DQLSUTSU.js → renderer-CHHYNEK7.js} +5 -5
  171. package/dist/{renderer-J76L474X.js → renderer-CU6BEHHV.js} +3 -3
  172. package/dist/{renderer-NE2GQBAU.js → renderer-CXRSD26Q.js} +7 -7
  173. package/dist/{renderer-JO27QMZB.js → renderer-DJ5DP3RH.js} +5 -5
  174. package/dist/{renderer-ZMAPGMF2.js → renderer-DRLZELXM.js} +5 -5
  175. package/dist/{renderer-BTFZWWIG.js → renderer-GESKWINV.js} +7 -7
  176. package/dist/{renderer-RB4FJJYN.js → renderer-IG5PQXEM.js} +7 -7
  177. package/dist/{renderer-PTLCAUC6.js → renderer-JBF2PAVP.js} +5 -5
  178. package/dist/{renderer-RRIXAQSF.js → renderer-JL7L5Y5M.js} +5 -5
  179. package/dist/{renderer-A3QD5R2C.js → renderer-JSFWNV37.js} +6 -6
  180. package/dist/{renderer-U55GLRDJ.js → renderer-M7YOXAGC.js} +3 -3
  181. package/dist/{renderer-5INUWSXC.js → renderer-Q2YHQQSN.js} +8 -8
  182. package/dist/{renderer-2HFRMVHO.js → renderer-RN5ZFIEK.js} +6 -6
  183. package/dist/{renderer-CQWF3JE3.js → renderer-TDFRMG3O.js} +3 -3
  184. package/dist/{renderer-MFD57VGM.js → renderer-UTXVIAS7.js} +5 -5
  185. package/dist/{renderer-S7ZTD4XM.js → renderer-VYMTBSF4.js} +7 -7
  186. package/dist/{renderer-NVT3RP5Q.js → renderer-XSHOMUJQ.js} +7 -7
  187. package/dist/{renderer-T4DY572A.js → renderer-ZHBFOSK5.js} +5 -5
  188. package/dist/{renderer-radial-2DDUIUWA.js → renderer-radial-4J2KO4GZ.js} +6 -6
  189. package/dist/{resolver-W3WKLWDP.js → resolver-ZLYSMILY.js} +3 -3
  190. package/dist/{state-parser-PNC2IHIA.js → state-parser-3U4232LJ.js} +5 -5
  191. package/dist/{state-renderer-QGPK55TI.js → state-renderer-GBHDOEXR.js} +7 -7
  192. package/dist/{themes-l406Vj2z.d.ts → themes-DiUAG4Bf.d.ts} +37 -2
  193. package/docs/ai-integration.md +5 -5
  194. package/docs/language-reference.md +1 -1
  195. package/package.json +2 -21
  196. package/.claude/commands/dgmo-codebase-report.md +0 -172
  197. package/.claude/commands/dgmo-diagram-this.md +0 -60
  198. package/.claude/commands/dgmo-document-project.md +0 -128
  199. package/.claude/commands/dgmo.md +0 -313
  200. package/.cursorrules +0 -587
  201. package/.github/copilot-instructions.md +0 -597
  202. package/.windsurfrules +0 -587
  203. package/SKILL.md +0 -573
  204. package/dist/auto.d.ts +0 -60
  205. package/dist/auto.mjs +0 -88591
  206. package/dist/chunk-6MTWIQVO.js +0 -121
  207. package/dist/chunk-ZEIYC7XO.js +0 -229
  208. package/dist/cli.cjs +0 -489
  209. package/dist/dgmo-router-JD7THHB7.js +0 -90
  210. package/dist/element.d.ts +0 -68
  211. package/dist/element.mjs +0 -88457
  212. package/dist/load-data-EHDDZ5ZS.js +0 -8
  213. package/dist/renderer-MDCH52MC.js +0 -77
@@ -423,6 +423,235 @@ var REGISTRY_NON_HIGHLIGHT_TOKENS = tokensWhere(
423
423
  (e) => !!e.noHighlight
424
424
  );
425
425
 
426
+ // src/chart-types.ts
427
+ var chartTypesData = [
428
+ // ── Tier 1 — Narrative / architecture diagrams ────────────
429
+ {
430
+ id: "journey-map",
431
+ description: "User experience flow with emotion scores, phases, and annotations"
432
+ },
433
+ {
434
+ id: "c4",
435
+ description: "System architecture (context, container, component, deployment)"
436
+ },
437
+ {
438
+ id: "er",
439
+ description: "Database schemas and relationships"
440
+ },
441
+ {
442
+ id: "class",
443
+ description: "UML class hierarchies"
444
+ },
445
+ {
446
+ id: "sequence",
447
+ description: "Message request and response interaction flows",
448
+ fallback: true
449
+ },
450
+ {
451
+ id: "state",
452
+ description: "State machine / lifecycle transitions"
453
+ },
454
+ {
455
+ id: "infra",
456
+ description: "Infrastructure traffic flow with RPS computation"
457
+ },
458
+ {
459
+ id: "gantt",
460
+ description: "Project scheduling with task dependencies and milestones"
461
+ },
462
+ {
463
+ id: "pert",
464
+ description: "Project network with three-point estimates, critical path, and uncertainty (Beta-PERT, Monte Carlo)"
465
+ },
466
+ {
467
+ id: "swimlane",
468
+ description: "Cross-functional process flow with lanes, phases and gateways (BPMN-style)"
469
+ },
470
+ {
471
+ id: "version-control",
472
+ description: "Git / version-control branch-and-merge graph: commits, branches, merges, rebase, HEAD and remote-tracking (gitGraph-style)"
473
+ },
474
+ // ── Tier 2 — Specialized structural diagrams ──────────────
475
+ {
476
+ id: "timeline",
477
+ description: "Events, eras, and date ranges"
478
+ },
479
+ {
480
+ id: "event-line",
481
+ description: "Annotated narrative timeline \u2014 events on a horizontal line with descriptions (not the date-scaled timeline)"
482
+ },
483
+ {
484
+ id: "body",
485
+ description: "Human anatomy figure annotated by muscle/bone/joint name \u2014 for medical, exercise, and educational diagrams"
486
+ },
487
+ {
488
+ id: "org",
489
+ description: "Reporting hierarchy"
490
+ },
491
+ {
492
+ id: "family",
493
+ description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata"
494
+ },
495
+ {
496
+ id: "sitemap",
497
+ description: "Site / app navigation structure"
498
+ },
499
+ {
500
+ id: "bracket",
501
+ description: "Single-elimination tournament bracket: winners auto-advance up a tree; seed the field for a day-0 skeleton or list results for a casual bracket, with two sides mirroring inward to a championship"
502
+ },
503
+ {
504
+ id: "kanban",
505
+ description: "Task board columns"
506
+ },
507
+ {
508
+ id: "raci",
509
+ description: "Tasks \xD7 roles responsibility matrix with constraint linting"
510
+ },
511
+ {
512
+ id: "tech-radar",
513
+ description: "Technology adoption quadrants (adopt/trial/assess/hold)"
514
+ },
515
+ {
516
+ id: "mindmap",
517
+ description: "Radial hierarchy of ideas branching from a central topic"
518
+ },
519
+ {
520
+ id: "wireframe",
521
+ description: "Low-fidelity UI layout with panels, controls, and annotations"
522
+ },
523
+ {
524
+ id: "cycle",
525
+ description: "Cyclical process visualization (PDCA, OODA, DevOps loops)"
526
+ },
527
+ {
528
+ id: "pyramid",
529
+ description: "Stacked hierarchy of layers with descriptions (Maslow, DIKW)"
530
+ },
531
+ {
532
+ id: "ring",
533
+ description: "Concentric rings showing nested or hierarchical categories (read core-out)"
534
+ },
535
+ {
536
+ id: "treemap",
537
+ description: "Nested rectangles sized by value \u2014 show a hierarchy\u2019s proportions (budgets, disk usage, portfolios) with color by category, value heatmap, or branch"
538
+ },
539
+ {
540
+ id: "block",
541
+ description: "Block diagram: an author-controlled grid of rectangular blocks with nested, collapsible containers \u2014 system/hardware/architecture layouts where the 2-D arrangement is the meaning"
542
+ },
543
+ {
544
+ id: "sketch",
545
+ description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags \u2014 the markup is generated by the canvas editor"
546
+ },
547
+ {
548
+ id: "goal",
549
+ description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
550
+ },
551
+ {
552
+ id: "countdown",
553
+ description: 'Live "N days until X" that ticks every second and is accurate on every load \u2014 trip dates, launches, deadlines; the only dynamic chart type'
554
+ },
555
+ {
556
+ id: "clock",
557
+ description: "Live world-clock board: current time for people/places across time zones, ticking every second, with optional working-hours status and sundown line"
558
+ },
559
+ {
560
+ id: "map",
561
+ description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges"
562
+ },
563
+ // ── Tier 3 — Specialized analytical charts ────────────────
564
+ {
565
+ id: "quadrant",
566
+ description: "2x2 positioning matrix"
567
+ },
568
+ {
569
+ id: "venn",
570
+ description: "Set overlaps"
571
+ },
572
+ {
573
+ id: "funnel",
574
+ description: "Conversion pipeline"
575
+ },
576
+ {
577
+ id: "slope",
578
+ description: "Change between 2 time periods"
579
+ },
580
+ {
581
+ id: "sankey",
582
+ description: "Flow / allocation visualization"
583
+ },
584
+ {
585
+ id: "arc",
586
+ description: "Network relationships (linear or circular via `layout`)"
587
+ },
588
+ {
589
+ id: "wordcloud",
590
+ description: "Term frequency visualization"
591
+ },
592
+ {
593
+ id: "heatmap",
594
+ description: "Matrix intensity visualization"
595
+ },
596
+ {
597
+ id: "function",
598
+ description: "Mathematical expressions"
599
+ },
600
+ // ── Tier 4 — General-purpose data charts ──────────────────
601
+ {
602
+ id: "bar",
603
+ description: "Categorical comparisons for 3 - 5 figures",
604
+ fallback: true
605
+ },
606
+ {
607
+ id: "line",
608
+ description: "Trends over time",
609
+ fallback: true
610
+ },
611
+ {
612
+ id: "pie",
613
+ description: "Part-to-whole proportions"
614
+ },
615
+ {
616
+ id: "radar",
617
+ description: "Multi-dimensional metrics"
618
+ },
619
+ {
620
+ id: "polar-area",
621
+ description: "Radial bar chart"
622
+ },
623
+ {
624
+ id: "scatter",
625
+ description: "2D data points or bubble chart"
626
+ },
627
+ // ── Tier 5 — Generic catch-alls (listed last on purpose) ──
628
+ {
629
+ id: "flowchart",
630
+ description: "Decision trees and process flows",
631
+ fallback: true
632
+ },
633
+ {
634
+ id: "boxes-and-lines",
635
+ description: "General-purpose node-edge diagrams with groups and tags",
636
+ fallback: true
637
+ },
638
+ // ── Not a tier — a pointer, not a drawing ─────────────────
639
+ // `live-link` holds no diagram of its own; it names one published to
640
+ // Diagrammo Cloud. Internal (see `internal` above): it arrives by being saved
641
+ // from a shared link, never by being picked from a list. Kept LAST because
642
+ // `chartTypes.slice(0, 8)` is a live window feeding language-reference checks
643
+ // and the generated AI core — any insertion above position 8 shifts it.
644
+ {
645
+ id: "live-link",
646
+ description: "A pointer to a diagram published at Diagrammo Cloud",
647
+ internal: true
648
+ }
649
+ ];
650
+ var chartTypes = chartTypesData;
651
+ var CHART_TYPE_IDS = chartTypesData.map(
652
+ (c) => c.id
653
+ );
654
+
426
655
  // src/utils/reserved-key-registry.ts
427
656
  function staticRegistry(keys) {
428
657
  return { keys: new Set(keys), tagAliases: /* @__PURE__ */ new Set() };
@@ -595,63 +824,7 @@ var FAMILY_UNION_REGISTRY = staticRegistry(["m"]);
595
824
  var RECOGNIZED_COLOR_SET = new Set(
596
825
  RECOGNIZED_COLOR_NAMES
597
826
  );
598
- var ALL_CHART_TYPES = /* @__PURE__ */ new Set([
599
- // data charts
600
- "bar",
601
- "line",
602
- "pie",
603
- "polar-area",
604
- "radar",
605
- "scatter",
606
- "sankey",
607
- "function",
608
- "heatmap",
609
- "funnel",
610
- // visualizations
611
- "slope",
612
- "wordcloud",
613
- "arc",
614
- "timeline",
615
- "event-line",
616
- "venn",
617
- "quadrant",
618
- // diagrams
619
- "body",
620
- "sequence",
621
- "flowchart",
622
- "class",
623
- "er",
624
- "org",
625
- "kanban",
626
- "c4",
627
- "state",
628
- "sitemap",
629
- "infra",
630
- "gantt",
631
- "pert",
632
- "boxes-and-lines",
633
- "swimlane",
634
- "version-control",
635
- "mindmap",
636
- "wireframe",
637
- "tech-radar",
638
- "cycle",
639
- "journey-map",
640
- "pyramid",
641
- "ring",
642
- "treemap",
643
- "block",
644
- "goal",
645
- "countdown",
646
- "clock",
647
- "sketch",
648
- "raci",
649
- "map",
650
- "family",
651
- "bracket",
652
- // pointer, not a drawing — internal (see ChartTypeMeta.internal)
653
- "live-link"
654
- ]);
827
+ var ALL_CHART_TYPES = new Set(CHART_TYPE_IDS);
655
828
  function measureIndent(line) {
656
829
  let indent = 0;
657
830
  for (const ch of line) {
@@ -1141,6 +1314,8 @@ export {
1141
1314
  REGISTRY_STATUS_TOKENS,
1142
1315
  REGISTRY_MODIFIER_TOKENS,
1143
1316
  REGISTRY_COLON_KEY_TOKENS,
1317
+ chartTypes,
1318
+ CHART_TYPE_IDS,
1144
1319
  withTagAliases,
1145
1320
  isReservedKey,
1146
1321
  SEQUENCE_REGISTRY,
@@ -1195,4 +1370,4 @@ export {
1195
1370
  splitNameAndMeta,
1196
1371
  warnUnknownMetaKeys
1197
1372
  };
1198
- //# sourceMappingURL=chunk-IXY2IPOW.js.map
1373
+ //# sourceMappingURL=chunk-P2PUWV3Y.js.map
@@ -3,7 +3,7 @@ import {
3
3
  layoutJourneyMap,
4
4
  scoreToColor,
5
5
  scoreToCurveY
6
- } from "./chunk-CWOKQSBQ.js";
6
+ } from "./chunk-KRTO7NRK.js";
7
7
  import {
8
8
  wrapNoteBody
9
9
  } from "./chunk-VJARCVMH.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-NZ5QVASG.js";
25
25
  import {
26
26
  renderIntegratedLegend
27
- } from "./chunk-IOUUQLDE.js";
27
+ } from "./chunk-UKZ7K5GS.js";
28
28
  import {
29
29
  FONT_FAMILY
30
30
  } from "./chunk-6KFWC4CO.js";
@@ -35,14 +35,14 @@ import {
35
35
  } from "./chunk-4ASYQ347.js";
36
36
  import {
37
37
  parseJourneyMap
38
- } from "./chunk-OSXJY6SY.js";
38
+ } from "./chunk-NSJK7F2V.js";
39
39
  import {
40
40
  resolveActiveTagGroup,
41
41
  tagAttrKey
42
- } from "./chunk-LLA5C2TM.js";
42
+ } from "./chunk-MDI5FMWO.js";
43
43
  import {
44
44
  fillModeFromOptions
45
- } from "./chunk-IXY2IPOW.js";
45
+ } from "./chunk-P2PUWV3Y.js";
46
46
  import {
47
47
  contrastText,
48
48
  mix,
@@ -871,4 +871,4 @@ export {
871
871
  renderJourneyMap,
872
872
  renderJourneyMapForExport
873
873
  };
874
- //# sourceMappingURL=chunk-4VFQPEC6.js.map
874
+ //# sourceMappingURL=chunk-PFGJ7SCM.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-4QV26TEG.js";
10
10
  import {
11
11
  MAP_DX
12
- } from "./chunk-4B5YISOR.js";
12
+ } from "./chunk-536EBUPG.js";
13
13
  import {
14
14
  formatOffsetLabel,
15
15
  isValidZone,
@@ -775,4 +775,4 @@ export {
775
775
  isSubNationalUsExtent,
776
776
  resolveMap
777
777
  };
778
- //# sourceMappingURL=chunk-DNSEG6P2.js.map
778
+ //# sourceMappingURL=chunk-PJDX4IKR.js.map
@@ -6,10 +6,10 @@ import {
6
6
  formatPct,
7
7
  resolveCellColor,
8
8
  resolveColorMode
9
- } from "./chunk-OJD4FU6H.js";
9
+ } from "./chunk-3A7KMF33.js";
10
10
  import {
11
11
  renderIntegratedLegend
12
- } from "./chunk-IOUUQLDE.js";
12
+ } from "./chunk-UKZ7K5GS.js";
13
13
  import {
14
14
  getMaxLegendReservedHeight
15
15
  } from "./chunk-ES66QH6J.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-4ASYQ347.js";
25
25
  import {
26
26
  tagAttrKey
27
- } from "./chunk-LLA5C2TM.js";
27
+ } from "./chunk-MDI5FMWO.js";
28
28
  import {
29
29
  contrastRatio,
30
30
  contrastText,
@@ -422,4 +422,4 @@ export {
422
422
  renderTreemapRadialForExport,
423
423
  renderTreemapRadial
424
424
  };
425
- //# sourceMappingURL=chunk-JAHV7RFV.js.map
425
+ //# sourceMappingURL=chunk-PTKCX5ZE.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  isTagBlockHeading,
6
6
  matchTagBlockHeading
7
- } from "./chunk-LLA5C2TM.js";
7
+ } from "./chunk-MDI5FMWO.js";
8
8
  import {
9
9
  makeDgmoError
10
10
  } from "./chunk-OLMWTJVU.js";
@@ -401,4 +401,4 @@ export {
401
401
  normalizePertSourceForShare,
402
402
  resolveOrgImports
403
403
  };
404
- //# sourceMappingURL=chunk-U5UKFXHB.js.map
404
+ //# sourceMappingURL=chunk-Q3XVMFVF.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  extractColor,
3
3
  measureIndent
4
- } from "./chunk-IXY2IPOW.js";
4
+ } from "./chunk-P2PUWV3Y.js";
5
5
  import {
6
6
  makeDgmoError
7
7
  } from "./chunk-OLMWTJVU.js";
@@ -73,4 +73,4 @@ function tryCollectNote(lines, index, indent, palette, diagnostics) {
73
73
  export {
74
74
  tryCollectNote
75
75
  };
76
- //# sourceMappingURL=chunk-SJT4W23S.js.map
76
+ //# sourceMappingURL=chunk-QE4GTFZS.js.map
@@ -12,10 +12,10 @@ import {
12
12
  import {
13
13
  resolveTagColor,
14
14
  tagAttrKey
15
- } from "./chunk-LLA5C2TM.js";
15
+ } from "./chunk-MDI5FMWO.js";
16
16
  import {
17
17
  fillModeFromOptions
18
- } from "./chunk-IXY2IPOW.js";
18
+ } from "./chunk-P2PUWV3Y.js";
19
19
  import {
20
20
  contrastText,
21
21
  mix,
@@ -401,4 +401,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
401
401
  export {
402
402
  renderSwimlaneForExport
403
403
  };
404
- //# sourceMappingURL=chunk-TR7WNZFJ.js.map
404
+ //# sourceMappingURL=chunk-QFNRHY62.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  extractDatePrefix,
3
3
  parseTimelineDate
4
- } from "./chunk-EKKS325Q.js";
4
+ } from "./chunk-4GQ6I46C.js";
5
5
  import {
6
6
  makeYearContext,
7
7
  parseDateToken,
@@ -16,7 +16,7 @@ import {
16
16
  tagAttrKey,
17
17
  validateTagGroupNames,
18
18
  validateTagValues
19
- } from "./chunk-LLA5C2TM.js";
19
+ } from "./chunk-MDI5FMWO.js";
20
20
  import {
21
21
  EVENT_LINE_REGISTRY,
22
22
  extractColor,
@@ -27,7 +27,7 @@ import {
27
27
  tryParseSharedOption,
28
28
  warnUnknownMetaKeys,
29
29
  withTagAliases
30
- } from "./chunk-IXY2IPOW.js";
30
+ } from "./chunk-P2PUWV3Y.js";
31
31
  import {
32
32
  emit,
33
33
  formatDgmoError,
@@ -670,4 +670,4 @@ export {
670
670
  EVENT_LINE_DIAGNOSTICS,
671
671
  parseEventLine
672
672
  };
673
- //# sourceMappingURL=chunk-R53THUTP.js.map
673
+ //# sourceMappingURL=chunk-QMYJO4EL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-SJT4W23S.js";
3
+ } from "./chunk-QE4GTFZS.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-7NK42OIB.js";
@@ -19,7 +19,7 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-LLA5C2TM.js";
22
+ } from "./chunk-MDI5FMWO.js";
23
23
  import {
24
24
  BOXES_AND_LINES_REGISTRY,
25
25
  OPTION_NOCOLON_RE,
@@ -31,7 +31,7 @@ import {
31
31
  tryParseSharedOption,
32
32
  warnUnknownMetaKeys,
33
33
  withTagAliases
34
- } from "./chunk-IXY2IPOW.js";
34
+ } from "./chunk-P2PUWV3Y.js";
35
35
  import {
36
36
  makeDgmoError,
37
37
  suggest
@@ -834,4 +834,4 @@ export {
834
834
  looksLikeBoxesAndLines,
835
835
  parseBoxesAndLines
836
836
  };
837
- //# sourceMappingURL=chunk-IH3GHOHU.js.map
837
+ //# sourceMappingURL=chunk-QQADQBKG.js.map
@@ -16,7 +16,7 @@ import {
16
16
  splitNameAndMeta,
17
17
  tryParseSharedOption,
18
18
  warnUnknownMetaKeys
19
- } from "./chunk-IXY2IPOW.js";
19
+ } from "./chunk-P2PUWV3Y.js";
20
20
  import {
21
21
  resolveColorWithDiagnostic
22
22
  } from "./chunk-EXNKNJ65.js";
@@ -484,4 +484,4 @@ export {
484
484
  parseRaci,
485
485
  allTasks
486
486
  };
487
- //# sourceMappingURL=chunk-TDZRLG7I.js.map
487
+ //# sourceMappingURL=chunk-RF5YDIYT.js.map
@@ -19,10 +19,10 @@ import {
19
19
  injectDefaultTagMetadata,
20
20
  resolveTagColor,
21
21
  tagAttrKey
22
- } from "./chunk-LLA5C2TM.js";
22
+ } from "./chunk-MDI5FMWO.js";
23
23
  import {
24
24
  legendSuppressed
25
- } from "./chunk-IXY2IPOW.js";
25
+ } from "./chunk-P2PUWV3Y.js";
26
26
 
27
27
  // src/org/layout.ts
28
28
  import { hierarchy, tree } from "d3-hierarchy";
@@ -870,4 +870,4 @@ function layoutOrg(parsed, hiddenCounts, activeTagGroup, hiddenAttributes, expan
870
870
  export {
871
871
  layoutOrg
872
872
  };
873
- //# sourceMappingURL=chunk-HFOSP6E2.js.map
873
+ //# sourceMappingURL=chunk-RKTIIU7Z.js.map
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-A4GOY3PE.js";
23
23
  import {
24
24
  renderIntegratedLegend
25
- } from "./chunk-IOUUQLDE.js";
25
+ } from "./chunk-UKZ7K5GS.js";
26
26
  import {
27
27
  getLegendExtent,
28
28
  getMaxLegendReservedHeight
@@ -42,12 +42,12 @@ import {
42
42
  import {
43
43
  resolveTagColor,
44
44
  tagAttrKey
45
- } from "./chunk-LLA5C2TM.js";
45
+ } from "./chunk-MDI5FMWO.js";
46
46
  import {
47
47
  fillModeFromOptions,
48
48
  legendInlineRequested,
49
49
  legendSuppressed
50
- } from "./chunk-IXY2IPOW.js";
50
+ } from "./chunk-P2PUWV3Y.js";
51
51
  import {
52
52
  contrastText,
53
53
  mix,
@@ -317,4 +317,4 @@ export {
317
317
  renderFamilyForExport,
318
318
  renderFamily
319
319
  };
320
- //# sourceMappingURL=chunk-SEDLXFTX.js.map
320
+ //# sourceMappingURL=chunk-SBOG6R6A.js.map
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-4ASYQ347.js";
16
16
  import {
17
17
  tagAttrKey
18
- } from "./chunk-LLA5C2TM.js";
18
+ } from "./chunk-MDI5FMWO.js";
19
19
  import {
20
20
  legendSuppressed
21
- } from "./chunk-IXY2IPOW.js";
21
+ } from "./chunk-P2PUWV3Y.js";
22
22
 
23
23
  // src/c4/layout.ts
24
24
  import dagre from "@dagrejs/dagre";
@@ -1718,4 +1718,4 @@ export {
1718
1718
  layoutC4Components,
1719
1719
  layoutC4Deployment
1720
1720
  };
1721
- //# sourceMappingURL=chunk-T7FMXKIG.js.map
1721
+ //# sourceMappingURL=chunk-SF3JAWMY.js.map
@@ -4,7 +4,7 @@ import {
4
4
  layoutC4Containers,
5
5
  layoutC4Context,
6
6
  layoutC4Deployment
7
- } from "./chunk-T7FMXKIG.js";
7
+ } from "./chunk-SF3JAWMY.js";
8
8
  import {
9
9
  renderInlineText
10
10
  } from "./chunk-WGC42WJU.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-A4GOY3PE.js";
25
25
  import {
26
26
  renderIntegratedLegend
27
- } from "./chunk-IOUUQLDE.js";
27
+ } from "./chunk-UKZ7K5GS.js";
28
28
  import {
29
29
  FONT_FAMILY
30
30
  } from "./chunk-6KFWC4CO.js";
@@ -37,16 +37,16 @@ import {
37
37
  } from "./chunk-4ASYQ347.js";
38
38
  import {
39
39
  parseC4
40
- } from "./chunk-VGFUVFJA.js";
40
+ } from "./chunk-IL5UVUMK.js";
41
41
  import {
42
42
  preprocessDescriptionLine
43
43
  } from "./chunk-IYULMRBE.js";
44
44
  import {
45
45
  tagAttrKey
46
- } from "./chunk-LLA5C2TM.js";
46
+ } from "./chunk-MDI5FMWO.js";
47
47
  import {
48
48
  fillModeFromOptions
49
- } from "./chunk-IXY2IPOW.js";
49
+ } from "./chunk-P2PUWV3Y.js";
50
50
  import {
51
51
  contrastText,
52
52
  mix,
@@ -1039,4 +1039,4 @@ export {
1039
1039
  renderC4Deployment,
1040
1040
  renderC4DeploymentForExport
1041
1041
  };
1042
- //# sourceMappingURL=chunk-GSSCUREO.js.map
1042
+ //# sourceMappingURL=chunk-SMHTYVMK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-SJT4W23S.js";
3
+ } from "./chunk-QE4GTFZS.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-7NK42OIB.js";
@@ -19,7 +19,7 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-LLA5C2TM.js";
22
+ } from "./chunk-MDI5FMWO.js";
23
23
  import {
24
24
  ALL_CHART_TYPES,
25
25
  FILL_FAMILY_TOKENS,
@@ -32,7 +32,7 @@ import {
32
32
  parseMetadataRegion,
33
33
  tryParseSharedOption,
34
34
  withTagAliases
35
- } from "./chunk-IXY2IPOW.js";
35
+ } from "./chunk-P2PUWV3Y.js";
36
36
  import {
37
37
  resolveColorWithDiagnostic
38
38
  } from "./chunk-EXNKNJ65.js";
@@ -543,4 +543,4 @@ export {
543
543
  parseState,
544
544
  looksLikeState
545
545
  };
546
- //# sourceMappingURL=chunk-SQLVM3G7.js.map
546
+ //# sourceMappingURL=chunk-SR7NGZNM.js.map
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-4ASYQ347.js";
14
14
  import {
15
15
  fillModeFromOptions
16
- } from "./chunk-IXY2IPOW.js";
16
+ } from "./chunk-P2PUWV3Y.js";
17
17
  import {
18
18
  contrastText,
19
19
  mix,
@@ -554,4 +554,4 @@ function renderModal(parent, node, ctx) {
554
554
  export {
555
555
  renderWireframe
556
556
  };
557
- //# sourceMappingURL=chunk-VGCL263O.js.map
557
+ //# sourceMappingURL=chunk-SSR6JAR3.js.map