@diagrammo/dgmo 0.48.2 → 0.50.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 (244) hide show
  1. package/.cursorrules +12 -3
  2. package/.github/copilot-instructions.md +12 -3
  3. package/.windsurfrules +12 -3
  4. package/SKILL.md +12 -3
  5. package/dist/advanced.d.ts +851 -1
  6. package/dist/advanced.js +601 -177
  7. package/dist/auto.css +63 -0
  8. package/dist/auto.js +220 -110
  9. package/dist/auto.mjs +45920 -33167
  10. package/dist/block.css +63 -0
  11. package/dist/block.d.ts +13 -5
  12. package/dist/block.js +239 -62
  13. package/dist/{charts-d3-QOZHKTCT.js → charts-d3-DKUD7MQE.js} +9 -8
  14. package/dist/{chunk-3MQQNXPD.js → chunk-2C56LEML.js} +3 -3
  15. package/dist/{chunk-L66GEFB6.js → chunk-2JJ2KNPI.js} +4 -4
  16. package/dist/{chunk-6SM5NJQH.js → chunk-2QYTMIRR.js} +4 -4
  17. package/dist/{chunk-RJE5JTVK.js → chunk-3G6TMNVF.js} +7 -7
  18. package/dist/{chunk-MO5YHHMQ.js → chunk-3LKM6FMW.js} +2 -2
  19. package/dist/{chunk-76OWZ3BA.js → chunk-3P2DKJCG.js} +2 -2
  20. package/dist/chunk-3TDRHT4J.js +1043 -0
  21. package/dist/chunk-3XPUDB7B.js +420 -0
  22. package/dist/{chunk-2LACINWN.js → chunk-3ZPC476N.js} +7 -7
  23. package/dist/{chunk-G2H74XJZ.js → chunk-4BMJQFNK.js} +8 -8
  24. package/dist/{chunk-THXCFRTU.js → chunk-4S723I74.js} +9 -9
  25. package/dist/{chunk-6NYWYNBI.js → chunk-4XK3FLFB.js} +3 -3
  26. package/dist/chunk-5JSWBPZZ.js +607 -0
  27. package/dist/{chunk-WCT3NYCV.js → chunk-5LWQH6QV.js} +1 -1
  28. package/dist/{chunk-7DTWEFUE.js → chunk-5Z736BSU.js} +8 -8
  29. package/dist/{chunk-ERLBPDGU.js → chunk-6BFZKBGD.js} +2 -2
  30. package/dist/{chunk-6HO5ZTXK.js → chunk-6IAA2QQ2.js} +2 -2
  31. package/dist/{chunk-H6PI3KJT.js → chunk-6IUAK7RZ.js} +2 -2
  32. package/dist/{chunk-RTLBSQ3G.js → chunk-6M5PJFQG.js} +3 -3
  33. package/dist/{chunk-Z5CGSFJB.js → chunk-6X4AKWLF.js} +4 -4
  34. package/dist/{chunk-OJR3MQYV.js → chunk-6ZT4U37Q.js} +291 -52
  35. package/dist/{chunk-5QXL4NYS.js → chunk-7G2ER4CY.js} +10 -5
  36. package/dist/chunk-7PQYTZMA.js +681 -0
  37. package/dist/{chunk-OURHMODR.js → chunk-7RB5Q6MB.js} +11 -11
  38. package/dist/{chunk-YAA6IID3.js → chunk-7UEMZREK.js} +2 -2
  39. package/dist/{chunk-AN2MOO5T.js → chunk-A3WQVFBS.js} +3 -3
  40. package/dist/{chunk-VOKGH627.js → chunk-AHGF2YYA.js} +13 -3
  41. package/dist/{chunk-CI2G3OEB.js → chunk-ASS5YYIZ.js} +12 -12
  42. package/dist/{chunk-TYS6CSS5.js → chunk-BCYVE3N5.js} +2 -2
  43. package/dist/chunk-BDXC7MDK.js +2395 -0
  44. package/dist/chunk-BTUTZMPT.js +482 -0
  45. package/dist/{chunk-YGJTDXVR.js → chunk-C4GQDB5L.js} +2 -2
  46. package/dist/{chunk-Y2ZE3MSG.js → chunk-C63UWAKM.js} +2 -2
  47. package/dist/{chunk-725LDASD.js → chunk-CLD2OKV7.js} +2 -2
  48. package/dist/{chunk-WBRZJOEC.js → chunk-CMCR5WBW.js} +3 -3
  49. package/dist/{chunk-IZMRON6C.js → chunk-CVV36CWI.js} +2 -2
  50. package/dist/chunk-DMJJ3CEQ.js +254 -0
  51. package/dist/{chunk-MZSBFAPJ.js → chunk-EJTKV7CY.js} +9 -9
  52. package/dist/{chunk-FITOLXSX.js → chunk-EOFPYPAU.js} +26 -2
  53. package/dist/{chunk-X5LCYCL5.js → chunk-ER5SCQWQ.js} +5 -5
  54. package/dist/{chunk-4OHACBGX.js → chunk-F2L5GCQ4.js} +2 -2
  55. package/dist/{chunk-FCIIHT24.js → chunk-F5UDBSJY.js} +7 -7
  56. package/dist/{chunk-3JLKYGBQ.js → chunk-F7BFXWNQ.js} +2 -2
  57. package/dist/{chunk-FANX6UJR.js → chunk-FAL7NOK3.js} +11 -11
  58. package/dist/{chunk-BUPDIHML.js → chunk-FB2WHOEQ.js} +4 -4
  59. package/dist/chunk-FL4IOQ37.js +379 -0
  60. package/dist/{chunk-LIOHW36Z.js → chunk-GBE54KY6.js} +6 -5
  61. package/dist/{chunk-RUNNI6VE.js → chunk-GL5UZ6NY.js} +3 -3
  62. package/dist/{chunk-4GRI7MEB.js → chunk-GPWHQ5FJ.js} +6 -6
  63. package/dist/chunk-GROQGHCT.js +960 -0
  64. package/dist/{chunk-SGZYXELT.js → chunk-H73FP42Q.js} +9 -6
  65. package/dist/{chunk-PBAHEPLQ.js → chunk-HGN652MU.js} +7 -6
  66. package/dist/{chunk-3SMGIJDD.js → chunk-HHXOONLX.js} +13 -1
  67. package/dist/{chunk-QOOUC2J5.js → chunk-HQCHYB5F.js} +2 -2
  68. package/dist/{chunk-AELOBFW5.js → chunk-I4IFRCUB.js} +3 -3
  69. package/dist/{chunk-GMR5MFHJ.js → chunk-I7F2A35O.js} +2 -2
  70. package/dist/{chunk-T2OE3YQB.js → chunk-IA3FJYWR.js} +3 -3
  71. package/dist/chunk-IAEC4KLA.js +492 -0
  72. package/dist/chunk-IVKC4GID.js +32 -0
  73. package/dist/{chunk-HSH73DP6.js → chunk-JFYIP7XU.js} +139 -39
  74. package/dist/{chunk-CKNVO24D.js → chunk-JZNMXEIV.js} +2 -2
  75. package/dist/chunk-KJXIHOVL.js +940 -0
  76. package/dist/chunk-L2ZTFHAY.js +331 -0
  77. package/dist/{chunk-B7JUCQUA.js → chunk-M5RXSRO2.js} +4 -4
  78. package/dist/{chunk-ULOEATBZ.js → chunk-NFFIKVNO.js} +106 -29
  79. package/dist/{chunk-PZMETGLY.js → chunk-NISQC5KW.js} +358 -122
  80. package/dist/chunk-O4VUFXIH.js +574 -0
  81. package/dist/{chunk-RVMRZAPB.js → chunk-O76UD6VJ.js} +3 -3
  82. package/dist/{chunk-JM4LEPY3.js → chunk-O7NUCTFU.js} +2 -2
  83. package/dist/{chunk-JED6ZDEE.js → chunk-O7WP4ZD4.js} +2 -2
  84. package/dist/{chunk-EVCVDTXE.js → chunk-OHQEMBLI.js} +3 -3
  85. package/dist/{chunk-ZBWMSD5N.js → chunk-ONA5KPV3.js} +4 -4
  86. package/dist/{chunk-Y3J7VR52.js → chunk-OTAL43EH.js} +34 -2
  87. package/dist/{chunk-WCSOJFU3.js → chunk-OTP5KVLO.js} +3 -3
  88. package/dist/{chunk-RYEGFMUO.js → chunk-PGEGPSCZ.js} +2 -2
  89. package/dist/{chunk-ZO27FGJS.js → chunk-PH5X4GIP.js} +2 -2
  90. package/dist/{chunk-ZJEL4H2R.js → chunk-PJUGRJHJ.js} +9 -9
  91. package/dist/{chunk-ZGR7ULFJ.js → chunk-PLZI6KPM.js} +26 -14
  92. package/dist/{chunk-3R5POCTZ.js → chunk-PMN3Q7RJ.js} +6 -6
  93. package/dist/{chunk-YGJZWZTY.js → chunk-PZFVK3IH.js} +2 -2
  94. package/dist/chunk-Q4V4XQWV.js +158 -0
  95. package/dist/chunk-QDFNCATJ.js +325 -0
  96. package/dist/{chunk-QEBUY5NY.js → chunk-QFQ35BTO.js} +4 -4
  97. package/dist/chunk-QQJUTGQH.js +135 -0
  98. package/dist/{chunk-PWIHZ6NJ.js → chunk-QUJGFNFN.js} +4 -4
  99. package/dist/{chunk-J5FIXQRT.js → chunk-R56LASIN.js} +4 -4
  100. package/dist/{chunk-SRTU6HMQ.js → chunk-RV26LTUU.js} +8 -8
  101. package/dist/chunk-RV6A2B5S.js +354 -0
  102. package/dist/{chunk-EB6FPQUP.js → chunk-S5GRONXL.js} +3 -3
  103. package/dist/{chunk-5MLYVTYM.js → chunk-SCHXJTZL.js} +2 -2
  104. package/dist/{chunk-T3UBLACL.js → chunk-SCQ5VPUF.js} +19 -5
  105. package/dist/{chunk-PBHE5UG6.js → chunk-SGFZZAUO.js} +46 -12
  106. package/dist/{chunk-BUVJFRPY.js → chunk-SU2VBK4L.js} +4 -4
  107. package/dist/{chunk-SML67VPV.js → chunk-T4BRO3Z6.js} +3 -3
  108. package/dist/{chunk-NURGB5Z4.js → chunk-TSA237IM.js} +2 -2
  109. package/dist/chunk-TWCLK2GA.js +273 -0
  110. package/dist/{chunk-IJZFN3HM.js → chunk-TWQUYVP3.js} +4 -4
  111. package/dist/{chunk-DKEPS5LH.js → chunk-U2HGPLZS.js} +36 -2
  112. package/dist/{chunk-B65G5DNL.js → chunk-URSQLCTR.js} +3 -3
  113. package/dist/{chunk-ILKORZ3H.js → chunk-UUS2GIJZ.js} +7 -7
  114. package/dist/{chunk-XAKEUMEJ.js → chunk-UXOSVCLJ.js} +4 -4
  115. package/dist/{chunk-QLCCJEJI.js → chunk-WCUHAQKB.js} +2 -2
  116. package/dist/{chunk-WVAJFAIA.js → chunk-WWN566I7.js} +257 -101
  117. package/dist/{chunk-IPWPWM6R.js → chunk-X2NMFTG3.js} +111 -10
  118. package/dist/{chunk-UWN33VNX.js → chunk-XCLHOZAM.js} +10 -10
  119. package/dist/{chunk-P235SVAH.js → chunk-XDXNDSKO.js} +2 -2
  120. package/dist/chunk-XHVV4NVW.js +51 -0
  121. package/dist/{chunk-33LCUH4H.js → chunk-XMVQ5F4M.js} +4 -4
  122. package/dist/{chunk-MITI6NOL.js → chunk-YA7D2N2O.js} +11 -11
  123. package/dist/{chunk-7JEGTRLD.js → chunk-YB3FW24O.js} +3 -3
  124. package/dist/chunk-YNRDWYZP.js +295 -0
  125. package/dist/{chunk-44CM72SQ.js → chunk-YZLMKW4T.js} +3 -3
  126. package/dist/chunk-Z6XJQ6KO.js +452 -0
  127. package/dist/cli.cjs +179 -133
  128. package/dist/clock.d.ts +10 -0
  129. package/dist/clock.js +235 -0
  130. package/dist/countdown.d.ts +12 -0
  131. package/dist/countdown.js +450 -0
  132. package/dist/dgmo-router-QOMFCOOV.js +84 -0
  133. package/dist/dimensions-P5FSX2QN.js +22 -0
  134. package/dist/editor.js +43 -2
  135. package/dist/element.js +220 -110
  136. package/dist/element.mjs +45920 -33167
  137. package/dist/{flowchart-parser-ZNSKIBVR.js → flowchart-parser-OE4WHLTF.js} +4 -4
  138. package/dist/{flowchart-renderer-SNDSII4D.js → flowchart-renderer-GPCSMTOR.js} +8 -8
  139. package/dist/highlight.d.ts +17 -1
  140. package/dist/highlight.js +163 -6
  141. package/dist/index.d.ts +5 -1
  142. package/dist/index.js +199 -233
  143. package/dist/{layout-HRBZPFCN.js → layout-34CLNICW.js} +5 -5
  144. package/dist/layout-46366KBT.js +10 -0
  145. package/dist/{layout-HWDSRX5E.js → layout-5BG6DFCU.js} +6 -6
  146. package/dist/layout-6RDJHS6E.js +9 -0
  147. package/dist/{layout-7QXCNOVS.js → layout-7H4H46CS.js} +3 -3
  148. package/dist/{layout-46N4JJYK.js → layout-7SKMFYHL.js} +5 -5
  149. package/dist/{layout-EE6GE46Y.js → layout-DC4TVXER.js} +5 -5
  150. package/dist/layout-FGQWRYYW.js +14 -0
  151. package/dist/{layout-S2QBYSK2.js → layout-NXG63LWH.js} +3 -3
  152. package/dist/{layout-N76NR4ZO.js → layout-PUQCB6AN.js} +7 -7
  153. package/dist/{layout-HYZPWAK5.js → layout-QNUQLEHU.js} +3 -3
  154. package/dist/{layout-UM5F4DJB.js → layout-T3OZU5QW.js} +5 -5
  155. package/dist/layout-TJIWF7EM.js +14 -0
  156. package/dist/layout-VYELEAW7.js +14 -0
  157. package/dist/{layout-5RA6QWR6.js → layout-WZHNDT2O.js} +6 -6
  158. package/dist/{layout-search-OYV77HHS.js → layout-search-QS44PI5R.js} +6 -6
  159. package/dist/{parser-6BTRLKRZ.js → parser-45DENHFZ.js} +4 -4
  160. package/dist/{parser-TFZFBVWN.js → parser-4AI5ZN5F.js} +3 -3
  161. package/dist/{parser-XDVELHRK.js → parser-4P36TUVD.js} +4 -4
  162. package/dist/{parser-ZSDPZYQP.js → parser-5AURY4A6.js} +4 -4
  163. package/dist/{parser-N5O4IHUN.js → parser-A2BEFMGK.js} +4 -4
  164. package/dist/parser-B5FVS7O6.js +11 -0
  165. package/dist/{parser-NGU3ETO6.js → parser-C2HF2C2E.js} +4 -4
  166. package/dist/parser-CSFUN3CT.js +14 -0
  167. package/dist/{parser-TRTHDFPP.js → parser-D3QT6GWN.js} +5 -5
  168. package/dist/parser-D5637H5H.js +15 -0
  169. package/dist/{parser-VQP2UJ6W.js → parser-DFFEDKHH.js} +3 -3
  170. package/dist/parser-DOKMZXVZ.js +13 -0
  171. package/dist/parser-FMPCVFRK.js +15 -0
  172. package/dist/{parser-Y6WTBU76.js → parser-HYRTF3DO.js} +3 -3
  173. package/dist/{parser-I6KXEYFK.js → parser-I2UIJKVQ.js} +4 -4
  174. package/dist/{parser-O5J4VBII.js → parser-IBWNAPY4.js} +3 -3
  175. package/dist/{parser-PQ3POX45.js → parser-KUQWRPIT.js} +4 -4
  176. package/dist/{parser-2MFP2H2E.js → parser-LWKKBNSA.js} +3 -3
  177. package/dist/{parser-OV7NOBW6.js → parser-O4QFCUW7.js} +5 -5
  178. package/dist/{parser-IXSZZQHY.js → parser-PGMQDD4G.js} +4 -4
  179. package/dist/{parser-3STE62GB.js → parser-Q4QKCIWQ.js} +4 -4
  180. package/dist/parser-QTOB4KFL.js +14 -0
  181. package/dist/{parser-2EWECDSA.js → parser-QYYM4QVW.js} +4 -4
  182. package/dist/{parser-4OGOBJJ4.js → parser-RZMQP7MM.js} +4 -4
  183. package/dist/parser-RZPVAQVX.js +11 -0
  184. package/dist/parser-SOUJOEYI.js +13 -0
  185. package/dist/{parser-4FL2CMDG.js → parser-UQE5OWZI.js} +5 -5
  186. package/dist/{parser-NRAI6O25.js → parser-WAV5JRPT.js} +4 -4
  187. package/dist/{parser-KNSQSKQO.js → parser-YLKYBRIT.js} +5 -5
  188. package/dist/{parser-XKRP7QKP.js → parser-YS7TOS2K.js} +3 -3
  189. package/dist/{parser-AQETEVRW.js → parser-ZSOWUBML.js} +5 -5
  190. package/dist/{parser-CFZD5IBL.js → parser-ZTBATMLX.js} +4 -4
  191. package/dist/{renderer-VACVQYML.js → renderer-35HSIDMZ.js} +8 -8
  192. package/dist/{renderer-5MYBMBYO.js → renderer-4ITCHBT7.js} +5 -5
  193. package/dist/{renderer-CLJHQPBJ.js → renderer-67NPCBIS.js} +11 -11
  194. package/dist/{renderer-5NDVNDAZ.js → renderer-6GHYK7DX.js} +9 -9
  195. package/dist/{renderer-Z7I3W2PP.js → renderer-6RNGHC5Z.js} +8 -8
  196. package/dist/renderer-72LGR2YF.js +14 -0
  197. package/dist/{renderer-KQB7UGDS.js → renderer-7RH2SI3B.js} +3 -3
  198. package/dist/renderer-7SWMIFMM.js +21 -0
  199. package/dist/renderer-BBCEFILK.js +24 -0
  200. package/dist/{renderer-JGBKUCZD.js → renderer-BSW7SRIZ.js} +4 -4
  201. package/dist/{renderer-BYCNMBF7.js → renderer-BY533UWU.js} +11 -11
  202. package/dist/{renderer-6W5462RB.js → renderer-BZSBPTZJ.js} +9 -9
  203. package/dist/{renderer-7MVLWWQD.js → renderer-CXUC4KAD.js} +9 -9
  204. package/dist/{renderer-QIWVHWZO.js → renderer-DAXMXIKD.js} +3 -3
  205. package/dist/renderer-FZUKFUNZ.js +23 -0
  206. package/dist/renderer-G2NLGNKF.js +17 -0
  207. package/dist/renderer-GO3FE3RA.js +24 -0
  208. package/dist/{renderer-ZGNTUWC4.js → renderer-HPGR6USK.js} +8 -8
  209. package/dist/{renderer-UV6MI64M.js → renderer-HVCU2C3Z.js} +3 -3
  210. package/dist/renderer-ICJN2SA2.js +24 -0
  211. package/dist/{renderer-AWWAF6XD.js → renderer-INEXO7B6.js} +10 -10
  212. package/dist/{renderer-YY2OSF6E.js → renderer-KDYCFRBX.js} +8 -8
  213. package/dist/renderer-KY4KQBTF.js +19 -0
  214. package/dist/{renderer-B2OMQIQG.js → renderer-LBN65V45.js} +13 -13
  215. package/dist/{renderer-N43WR5GV.js → renderer-MGBWOCXG.js} +10 -10
  216. package/dist/{renderer-PGX2TKVS.js → renderer-O4JKUGKO.js} +8 -8
  217. package/dist/{renderer-4JHRUBE6.js → renderer-OOGFODWP.js} +10 -10
  218. package/dist/{renderer-6EEZHMH4.js → renderer-Q6ZKPLS6.js} +9 -9
  219. package/dist/{renderer-RPOA5YPZ.js → renderer-SZQ326M5.js} +12 -12
  220. package/dist/{renderer-ZRNG54CW.js → renderer-TKG6LS4U.js} +11 -11
  221. package/dist/{renderer-W4M6QLIJ.js → renderer-TQMZGDAX.js} +13 -13
  222. package/dist/renderer-radial-JELMHQ24.js +21 -0
  223. package/dist/{resolver-NOAA7ID7.js → resolver-FHBCO3PL.js} +3 -3
  224. package/dist/{state-parser-Z2V23ATR.js → state-parser-3REXRK3R.js} +4 -4
  225. package/dist/{state-renderer-B4DQBM6M.js → state-renderer-XYLNRWXR.js} +8 -8
  226. package/docs/ai-integration.md +12 -3
  227. package/docs/language-reference.md +429 -24
  228. package/gallery/fixtures/body.dgmo +17 -0
  229. package/gallery/fixtures/bracket.dgmo +30 -0
  230. package/gallery/fixtures/clock.dgmo +8 -0
  231. package/gallery/fixtures/countdown.dgmo +3 -0
  232. package/gallery/fixtures/family.dgmo +23 -0
  233. package/gallery/fixtures/goal.dgmo +4 -0
  234. package/gallery/fixtures/sketch.dgmo +22 -0
  235. package/package.json +12 -4
  236. package/dist/chunk-ODZVHU3R.js +0 -153
  237. package/dist/dgmo-router-X35VLZLM.js +0 -73
  238. package/dist/dimensions-J3FHIMJ6.js +0 -22
  239. package/dist/layout-5T6RH5M6.js +0 -14
  240. package/dist/layout-G23F7LDH.js +0 -9
  241. package/dist/layout-OB3RI63S.js +0 -14
  242. package/dist/parser-JAL2HD4I.js +0 -13
  243. package/dist/renderer-SMIBCRVB.js +0 -24
  244. package/dist/renderer-radial-C32GPJQ7.js +0 -21
@@ -0,0 +1,32 @@
1
+ // src/family/card-model.ts
2
+ var LABELED_KEYS = [
3
+ ["bp", "Born"],
4
+ ["dp", "Died"],
5
+ ["occupation", "Occupation"],
6
+ ["military", "Military"],
7
+ ["education", "Education"],
8
+ ["religion", "Religion"],
9
+ ["burial", "Burial"]
10
+ ];
11
+ function familyDisplayLabel(p) {
12
+ return !p.placeholder && p.metadata["d"] ? `\u2020 ${p.label}` : p.label;
13
+ }
14
+ function familyCardRows(p) {
15
+ const rows = [];
16
+ const b = p.metadata["b"];
17
+ const d = p.metadata["d"];
18
+ if (b && d) rows.push({ key: "", value: `${b} \u2013 ${d}`, year: true });
19
+ else if (b) rows.push({ key: "", value: `b. ${b}`, year: true });
20
+ else if (d) rows.push({ key: "", value: `d. ${d}`, year: true });
21
+ for (const [key, label] of LABELED_KEYS) {
22
+ const v = p.metadata[key];
23
+ if (v) rows.push({ key: label, value: v, year: false });
24
+ }
25
+ return rows;
26
+ }
27
+
28
+ export {
29
+ familyDisplayLabel,
30
+ familyCardRows
31
+ };
32
+ //# sourceMappingURL=chunk-IVKC4GID.js.map
@@ -1,3 +1,22 @@
1
+ import {
2
+ parseGoal
3
+ } from "./chunk-Q4V4XQWV.js";
4
+ import {
5
+ parseCountdown
6
+ } from "./chunk-BTUTZMPT.js";
7
+ import {
8
+ parseClock
9
+ } from "./chunk-3XPUDB7B.js";
10
+ import {
11
+ parseBracket
12
+ } from "./chunk-FL4IOQ37.js";
13
+ import {
14
+ allTasks,
15
+ parseRaci
16
+ } from "./chunk-PGEGPSCZ.js";
17
+ import {
18
+ parseBody
19
+ } from "./chunk-DMJJ3CEQ.js";
1
20
  import {
2
21
  EXTENDED_CHART_DOORS,
3
22
  parseChart,
@@ -6,107 +25,109 @@ import {
6
25
  parseHeatmap,
7
26
  parseSankey,
8
27
  parseScatter
9
- } from "./chunk-P235SVAH.js";
28
+ } from "./chunk-XDXNDSKO.js";
29
+ import {
30
+ parseWireframe
31
+ } from "./chunk-OHQEMBLI.js";
32
+ import {
33
+ parseTechRadar
34
+ } from "./chunk-TSA237IM.js";
10
35
  import {
11
36
  parseCycle
12
- } from "./chunk-6HO5ZTXK.js";
37
+ } from "./chunk-6IAA2QQ2.js";
13
38
  import {
14
39
  parseJourneyMap
15
- } from "./chunk-44CM72SQ.js";
40
+ } from "./chunk-YZLMKW4T.js";
16
41
  import {
17
42
  parsePyramid
18
- } from "./chunk-76OWZ3BA.js";
43
+ } from "./chunk-3P2DKJCG.js";
19
44
  import {
20
45
  parseRing
21
- } from "./chunk-MO5YHHMQ.js";
46
+ } from "./chunk-3LKM6FMW.js";
22
47
  import {
23
48
  parseTreemap
24
- } from "./chunk-WCSOJFU3.js";
49
+ } from "./chunk-OTP5KVLO.js";
25
50
  import {
26
51
  parseBlock
27
- } from "./chunk-7JEGTRLD.js";
28
- import {
29
- allTasks,
30
- parseRaci
31
- } from "./chunk-RYEGFMUO.js";
52
+ } from "./chunk-YB3FW24O.js";
32
53
  import {
33
54
  parseInfra
34
- } from "./chunk-33LCUH4H.js";
55
+ } from "./chunk-XMVQ5F4M.js";
35
56
  import {
36
57
  parseGantt
37
- } from "./chunk-XAKEUMEJ.js";
58
+ } from "./chunk-UXOSVCLJ.js";
38
59
  import {
39
60
  parseMap
40
- } from "./chunk-BUPDIHML.js";
61
+ } from "./chunk-FB2WHOEQ.js";
41
62
  import {
42
63
  parseBoxesAndLines
43
- } from "./chunk-BUVJFRPY.js";
64
+ } from "./chunk-SU2VBK4L.js";
44
65
  import {
45
- parseSwimlane
46
- } from "./chunk-WVAJFAIA.js";
66
+ parseSketch
67
+ } from "./chunk-5JSWBPZZ.js";
47
68
  import {
48
- parseMindmap
49
- } from "./chunk-EB6FPQUP.js";
69
+ parseSwimlane
70
+ } from "./chunk-WWN566I7.js";
50
71
  import {
51
- parseWireframe
52
- } from "./chunk-EVCVDTXE.js";
72
+ parseFamily
73
+ } from "./chunk-O4VUFXIH.js";
53
74
  import {
54
- parseTechRadar
55
- } from "./chunk-NURGB5Z4.js";
75
+ parseMindmap
76
+ } from "./chunk-S5GRONXL.js";
56
77
  import {
57
78
  looksLikeERDiagram,
58
79
  parseERDiagram
59
- } from "./chunk-L66GEFB6.js";
80
+ } from "./chunk-2JJ2KNPI.js";
60
81
  import {
61
82
  looksLikeOrg,
62
83
  parseOrg
63
- } from "./chunk-RVMRZAPB.js";
84
+ } from "./chunk-O76UD6VJ.js";
64
85
  import {
65
86
  looksLikeSitemap,
66
87
  parseSitemap
67
- } from "./chunk-AN2MOO5T.js";
88
+ } from "./chunk-A3WQVFBS.js";
68
89
  import {
69
90
  looksLikePert,
70
91
  parsePert
71
- } from "./chunk-RTLBSQ3G.js";
92
+ } from "./chunk-6M5PJFQG.js";
72
93
  import {
73
94
  parseEventLine
74
- } from "./chunk-5QXL4NYS.js";
95
+ } from "./chunk-7G2ER4CY.js";
75
96
  import {
76
97
  parseTimelineEventLine
77
- } from "./chunk-GMR5MFHJ.js";
98
+ } from "./chunk-I7F2A35O.js";
78
99
  import {
79
100
  parseVersionControl
80
- } from "./chunk-ERLBPDGU.js";
101
+ } from "./chunk-6BFZKBGD.js";
81
102
  import {
82
103
  parseKanban
83
- } from "./chunk-AELOBFW5.js";
104
+ } from "./chunk-I4IFRCUB.js";
84
105
  import {
85
106
  parseC4
86
- } from "./chunk-B65G5DNL.js";
107
+ } from "./chunk-URSQLCTR.js";
87
108
  import {
88
109
  looksLikeSequence,
89
110
  parseSequenceDgmo
90
- } from "./chunk-SML67VPV.js";
111
+ } from "./chunk-T4BRO3Z6.js";
91
112
  import {
92
113
  matchTagBlockHeading,
93
114
  stripDefaultModifier,
94
115
  tagAttrKey,
95
116
  validateTagGroupNames,
96
117
  validateTagValues
97
- } from "./chunk-QLCCJEJI.js";
118
+ } from "./chunk-WCUHAQKB.js";
98
119
  import {
99
120
  looksLikeFlowchart,
100
121
  parseFlowchart
101
- } from "./chunk-LIOHW36Z.js";
122
+ } from "./chunk-GBE54KY6.js";
102
123
  import {
103
124
  looksLikeState,
104
125
  parseState
105
- } from "./chunk-3MQQNXPD.js";
126
+ } from "./chunk-2C56LEML.js";
106
127
  import {
107
128
  looksLikeClassDiagram,
108
129
  parseClassDiagram
109
- } from "./chunk-RUNNI6VE.js";
130
+ } from "./chunk-GL5UZ6NY.js";
110
131
  import {
111
132
  TIMELINE_REGISTRY,
112
133
  collectIndentedValues,
@@ -117,7 +138,7 @@ import {
117
138
  peelTrailingColorName,
118
139
  splitNameAndMeta,
119
140
  withTagAliases
120
- } from "./chunk-Y3J7VR52.js";
141
+ } from "./chunk-OTAL43EH.js";
121
142
  import {
122
143
  resolveColorWithDiagnostic
123
144
  } from "./chunk-TLVIHFRO.js";
@@ -809,6 +830,14 @@ function parseVisualizationFull(content, palette) {
809
830
  result.noTitle = true;
810
831
  continue;
811
832
  }
833
+ if (bareToken === "orientation-vertical") {
834
+ if (result.type === "arc") result.orientation = "vertical";
835
+ continue;
836
+ }
837
+ if (bareToken === "orientation-horizontal") {
838
+ if (result.type === "arc") result.orientation = "horizontal";
839
+ continue;
840
+ }
812
841
  if (bareToken.startsWith("no-")) {
813
842
  continue;
814
843
  }
@@ -1374,14 +1403,26 @@ var chartTypes = [
1374
1403
  id: "event-line",
1375
1404
  description: "Annotated narrative timeline \u2014 events on a horizontal line with descriptions (not the date-scaled timeline)"
1376
1405
  },
1406
+ {
1407
+ id: "body",
1408
+ description: "Human anatomy figure annotated by muscle/bone/joint name \u2014 for medical, exercise, and educational diagrams"
1409
+ },
1377
1410
  {
1378
1411
  id: "org",
1379
1412
  description: "Reporting hierarchy"
1380
1413
  },
1414
+ {
1415
+ id: "family",
1416
+ description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata"
1417
+ },
1381
1418
  {
1382
1419
  id: "sitemap",
1383
1420
  description: "Site / app navigation structure"
1384
1421
  },
1422
+ {
1423
+ id: "bracket",
1424
+ 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"
1425
+ },
1385
1426
  {
1386
1427
  id: "kanban",
1387
1428
  description: "Task board columns"
@@ -1422,6 +1463,22 @@ var chartTypes = [
1422
1463
  id: "block",
1423
1464
  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"
1424
1465
  },
1466
+ {
1467
+ id: "sketch",
1468
+ 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"
1469
+ },
1470
+ {
1471
+ id: "goal",
1472
+ description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
1473
+ },
1474
+ {
1475
+ id: "countdown",
1476
+ 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'
1477
+ },
1478
+ {
1479
+ id: "clock",
1480
+ description: "Live world-clock board: current time for people/places across time zones, ticking every second, with optional working-hours status and sundown line"
1481
+ },
1425
1482
  {
1426
1483
  id: "map",
1427
1484
  description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges"
@@ -1633,6 +1690,10 @@ function measureSwimlane(content) {
1633
1690
  const parsed = parseSwimlane(content);
1634
1691
  return { lanes: parsed.lanes.length, nodes: parsed.nodes.length };
1635
1692
  }
1693
+ function measureFamily(content) {
1694
+ const parsed = parseFamily(content);
1695
+ return { nodes: parsed.persons.size };
1696
+ }
1636
1697
  function minDimsSequence(c) {
1637
1698
  return {
1638
1699
  width: Math.max((c.participants ?? 2) * 80, 320),
@@ -1669,6 +1730,12 @@ function minDimsArc(c) {
1669
1730
  function measureEventLine(content) {
1670
1731
  return { items: parseEventLine(content).events.length };
1671
1732
  }
1733
+ function measureBody(content) {
1734
+ return { items: parseBody(content).parts.length };
1735
+ }
1736
+ function minDimsBody() {
1737
+ return { width: 720, height: 900 };
1738
+ }
1672
1739
  function minDimsEventLine(c) {
1673
1740
  return {
1674
1741
  width: Math.max(640, 120 + (c.items ?? 3) * 100),
@@ -1732,6 +1799,12 @@ function minDimsSwimlane(c) {
1732
1799
  height: Math.max((c.lanes ?? 3) * 100 + 60, 240)
1733
1800
  };
1734
1801
  }
1802
+ function minDimsFamily(c) {
1803
+ return {
1804
+ width: Math.max((c.nodes ?? 4) * 90, 420),
1805
+ height: Math.max((c.nodes ?? 4) * 40 + 80, 240)
1806
+ };
1807
+ }
1735
1808
  var CHART_TYPE_REGISTRY = [
1736
1809
  // ── Structured diagrams ───────────────────────────────────
1737
1810
  {
@@ -1807,6 +1880,7 @@ var CHART_TYPE_REGISTRY = [
1807
1880
  minDims: minDimsPert
1808
1881
  },
1809
1882
  { id: "boxes-and-lines", category: "diagram", parse: parseBoxesAndLines },
1883
+ { id: "sketch", category: "diagram", parse: parseSketch },
1810
1884
  {
1811
1885
  id: "swimlane",
1812
1886
  category: "diagram",
@@ -1814,6 +1888,13 @@ var CHART_TYPE_REGISTRY = [
1814
1888
  measure: measureSwimlane,
1815
1889
  minDims: minDimsSwimlane
1816
1890
  },
1891
+ {
1892
+ id: "family",
1893
+ category: "diagram",
1894
+ parse: parseFamily,
1895
+ measure: measureFamily,
1896
+ minDims: minDimsFamily
1897
+ },
1817
1898
  {
1818
1899
  id: "version-control",
1819
1900
  category: "diagram",
@@ -1875,6 +1956,13 @@ var CHART_TYPE_REGISTRY = [
1875
1956
  },
1876
1957
  { id: "venn", category: "visualization", parse: parseVenn },
1877
1958
  { id: "quadrant", category: "visualization", parse: parseQuadrant },
1959
+ {
1960
+ id: "body",
1961
+ category: "diagram",
1962
+ parse: parseBody,
1963
+ measure: measureBody,
1964
+ minDims: minDimsBody
1965
+ },
1878
1966
  // ── Visualizations with their own parsers ─────────────────
1879
1967
  {
1880
1968
  id: "tech-radar",
@@ -1892,6 +1980,18 @@ var CHART_TYPE_REGISTRY = [
1892
1980
  // Block diagram: deterministic grid (no measure/minDims — it sizes to content
1893
1981
  // and is scaled to fit whatever rectangle it's given).
1894
1982
  { id: "block", category: "visualization", parse: parseBlock },
1983
+ // Goal: a single now/target value in one of three faces (bar/thermometer/
1984
+ // gauge). No measure/minDims — it centers in whatever rectangle it's given.
1985
+ { id: "goal", category: "visualization", parse: parseGoal },
1986
+ // Countdown: the only dynamic chart — a single "N days until X" that ticks
1987
+ // live. No measure/minDims; it centers in whatever rectangle it's given.
1988
+ { id: "countdown", category: "visualization", parse: parseCountdown },
1989
+ // Clock: live world-clock board — one row per place/zone, ticking every
1990
+ // second. No measure/minDims; it sizes to its rows and scales to fit.
1991
+ { id: "clock", category: "visualization", parse: parseClock },
1992
+ // Bracket: single-elim tournament tree. A diagram (structural, node-and-edge);
1993
+ // no measure/minDims — it sizes to content and scales to fit its rectangle.
1994
+ { id: "bracket", category: "diagram", parse: parseBracket },
1895
1995
  // ── Geographic map (own parser → resolver → layout → renderer) ──
1896
1996
  { id: "map", category: "visualization", parse: parseMap }
1897
1997
  ];
@@ -2062,4 +2162,4 @@ export {
2062
2162
  knownChartTypeIds,
2063
2163
  parseDgmo
2064
2164
  };
2065
- //# sourceMappingURL=chunk-HSH73DP6.js.map
2165
+ //# sourceMappingURL=chunk-JFYIP7XU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildMapProjection
3
- } from "./chunk-IPWPWM6R.js";
3
+ } from "./chunk-X2NMFTG3.js";
4
4
  import {
5
5
  TITLE_FONT_SIZE,
6
6
  TITLE_Y
@@ -51,4 +51,4 @@ export {
51
51
  mapContentAspect,
52
52
  mapExportDimensions
53
53
  };
54
- //# sourceMappingURL=chunk-CKNVO24D.js.map
54
+ //# sourceMappingURL=chunk-JZNMXEIV.js.map