@diagrammo/dgmo 0.52.0 → 0.54.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.
- package/.cursorrules +59 -58
- package/.github/copilot-instructions.md +59 -58
- package/.windsurfrules +59 -58
- package/SKILL.md +59 -58
- package/dist/advanced.d.ts +101 -230
- package/dist/advanced.js +330 -658
- package/dist/analyzer-TDN5KJFP.js +15 -0
- package/dist/auto.css +14 -6
- package/dist/auto.js +163 -139
- package/dist/auto.mjs +1859 -885
- package/dist/block.css +14 -6
- package/dist/block.js +96 -81
- package/dist/calculator-VBIT6GQF.js +11 -0
- package/dist/chart-meta-CPNVUZ5J.d.ts +232 -0
- package/dist/chart-meta.d.ts +2 -0
- package/dist/chart-meta.js +108 -0
- package/dist/charts-d3-25E4VWXO.js +27 -0
- package/dist/chunk-2CW5ZTNH.js +58 -0
- package/dist/{chunk-BPY242XU.js → chunk-2NYXI35Z.js} +32 -14
- package/dist/{chunk-AUIM2NVH.js → chunk-2NZOHEP4.js} +7 -8
- package/dist/{chunk-HFMYN6N2.js → chunk-3B2GXZCX.js} +4 -3
- package/dist/chunk-3FRO35WW.js +1158 -0
- package/dist/{chunk-J7TLCB2Q.js → chunk-3IUHKMJI.js} +2 -2
- package/dist/{chunk-R3YSD62R.js → chunk-3KHJJP3J.js} +3 -3
- package/dist/{chunk-6LBQ7ELG.js → chunk-3SBHODJ4.js} +36 -17
- package/dist/{chunk-4UNQ6X24.js → chunk-3SEEP2JM.js} +4 -4
- package/dist/{chunk-7L4UJOY6.js → chunk-3TYUXC7D.js} +2 -2
- package/dist/{chunk-Y2ZE3MSG.js → chunk-43E26CDA.js} +2 -2
- package/dist/{chunk-CCNDLW7Z.js → chunk-47JNEKJA.js} +9 -9
- package/dist/{chunk-WCT3NYCV.js → chunk-4ASYQ347.js} +33 -8
- package/dist/{chunk-I5IGB56C.js → chunk-4QV26TEG.js} +41 -1
- package/dist/{chunk-INE5YJBZ.js → chunk-4T6OCSJ2.js} +8 -8
- package/dist/{chunk-CXK4DZH3.js → chunk-4W2PE66Q.js} +12 -2
- package/dist/{chunk-7KINELPI.js → chunk-4ZIKWVSQ.js} +17 -16
- package/dist/{chunk-JED6ZDEE.js → chunk-5HWPEYWB.js} +2 -2
- package/dist/{chunk-HWX6ZHF3.js → chunk-5VXU6MND.js} +6 -6
- package/dist/{chunk-44VCIPHF.js → chunk-5XSNLXU5.js} +23 -20
- package/dist/{chunk-4AQRFDXL.js → chunk-62Y27T4C.js} +2 -2
- package/dist/{chunk-QHXCAEMX.js → chunk-6KL7TFLS.js} +5 -5
- package/dist/{chunk-5BHJZH62.js → chunk-6OYDOQ2Q.js} +18 -6
- package/dist/{chunk-5HILBT7X.js → chunk-7JDTNFAK.js} +3 -3
- package/dist/{chunk-JRCOYRRH.js → chunk-7K6NDSXH.js} +9 -9
- package/dist/{chunk-5NGAO4QK.js → chunk-7SP4C6EV.js} +11 -11
- package/dist/{chunk-I46X5VUA.js → chunk-7TF3QOOD.js} +25 -1
- package/dist/{chunk-WRNFDFPU.js → chunk-7U4OR7CD.js} +2 -2
- package/dist/{chunk-5RP7JRVP.js → chunk-7UPFTBOW.js} +21 -17
- package/dist/{chunk-AAXZDUOV.js → chunk-A3BDLDYG.js} +17 -16
- package/dist/{chunk-GCYTI3DE.js → chunk-ADCHLNWT.js} +56 -10
- package/dist/{chunk-QBZYACOG.js → chunk-ADYKAKE3.js} +3 -3
- package/dist/{chunk-HHKO6SKY.js → chunk-AHTTKERF.js} +3 -3
- package/dist/{chunk-BKVOYV6I.js → chunk-AJFHNS67.js} +15 -15
- package/dist/{chunk-EMLPOL77.js → chunk-AQEYUVGJ.js} +124 -41
- package/dist/{chunk-3LK5DNED.js → chunk-B4XS2AF2.js} +3 -3
- package/dist/{chunk-REJAIQ5S.js → chunk-B7N5KYXQ.js} +16 -16
- package/dist/chunk-BEOAKGNA.js +484 -0
- package/dist/{chunk-SMRFPVLQ.js → chunk-BM7MG6HT.js} +4 -4
- package/dist/{chunk-P3NRSSUU.js → chunk-BULHGPHK.js} +3 -3
- package/dist/{chunk-QZX5S6R3.js → chunk-BWYFIVZF.js} +149 -89
- package/dist/{chunk-UBLHQTLV.js → chunk-BZJIITYM.js} +11 -10
- package/dist/{chunk-PRI2OD4E.js → chunk-C2UORMIA.js} +11 -6
- package/dist/{chunk-3YRPZ7ZZ.js → chunk-CCGWX6AO.js} +4 -4
- package/dist/{chunk-H7KENAZO.js → chunk-COJW2NEY.js} +73 -13
- package/dist/{chunk-WBRZJOEC.js → chunk-COVYNAKJ.js} +6 -6
- package/dist/{chunk-7QE3XMRK.js → chunk-CSHFU6LT.js} +13 -13
- package/dist/{chunk-6EJITS44.js → chunk-DLU643TF.js} +7 -7
- package/dist/{chunk-LBMS4AW6.js → chunk-DPGQ5UMO.js} +14 -14
- package/dist/{chunk-LTXOLDUZ.js → chunk-EAI6XJ7D.js} +12 -5
- package/dist/{chunk-FT3ZYWET.js → chunk-EPRF3ZRV.js} +11 -10
- package/dist/chunk-EQOMY4PY.js +404 -0
- package/dist/{chunk-USZW2HHU.js → chunk-EQW6HOP4.js} +4 -3
- package/dist/{chunk-HBPDFCQY.js → chunk-F7XM366V.js} +10 -9
- package/dist/{chunk-DYWQFQJP.js → chunk-FFVFZLRT.js} +57 -24
- package/dist/{chunk-77FGAVZC.js → chunk-FR6UFVSV.js} +19 -17
- package/dist/{chunk-MUE65OTD.js → chunk-FVMKCZHF.js} +8 -6
- package/dist/{chunk-3QD7VP3U.js → chunk-GK32ZFZY.js} +17 -10
- package/dist/{chunk-TJVLKNGR.js → chunk-GKYHWJXI.js} +5 -5
- package/dist/{chunk-FQMUHRVC.js → chunk-GQ5ECRP4.js} +13 -10
- package/dist/{chunk-5QKQSSPO.js → chunk-GRM2A4BG.js} +4 -4
- package/dist/{chunk-OTOHI4JO.js → chunk-H3HFC3SQ.js} +2 -2
- package/dist/{chunk-BPIZNB5O.js → chunk-HAA25PLC.js} +10 -10
- package/dist/{chunk-YIBAWQGJ.js → chunk-HFEOOQ46.js} +4 -4
- package/dist/{chunk-J76PIKAT.js → chunk-HO3RCNF6.js} +3 -3
- package/dist/{chunk-7DF4J4RL.js → chunk-I47VHSPS.js} +19 -13
- package/dist/{chunk-5SEVICBT.js → chunk-ICKXIMBA.js} +10 -9
- package/dist/{chunk-A44USUV7.js → chunk-ICZ7M6IZ.js} +23 -17
- package/dist/{chunk-SWSIKFEB.js → chunk-IOIMQHQ6.js} +4 -4
- package/dist/{chunk-6HQH6JZE.js → chunk-IYNKLCAZ.js} +7 -7
- package/dist/{chunk-YAA6IID3.js → chunk-J7HQPVYH.js} +2 -2
- package/dist/{chunk-WBM7ZNDI.js → chunk-JYDMBWRP.js} +35 -18
- package/dist/{chunk-ZJV7GYR4.js → chunk-KBVOVDYP.js} +8 -8
- package/dist/{chunk-ICPJPQ5C.js → chunk-KDK5EKUR.js} +3 -3
- package/dist/{chunk-FHGVORFO.js → chunk-KINOX74I.js} +12 -12
- package/dist/{chunk-XD6ZYURY.js → chunk-KQ3FNRGR.js} +7 -14
- package/dist/{chunk-3HGU63UY.js → chunk-KQYQECWQ.js} +17 -16
- package/dist/{chunk-MUVJ57EP.js → chunk-KS5ZSM5T.js} +20 -17
- package/dist/{chunk-FY5MSZAP.js → chunk-KV4HLIJE.js} +21 -6
- package/dist/{chunk-LGT3PZCJ.js → chunk-LPJ6H5X4.js} +17 -17
- package/dist/{chunk-ONU3U4GL.js → chunk-LRSW4JLE.js} +52 -16
- package/dist/{chunk-TPFKKXCB.js → chunk-M24VXUFG.js} +7 -7
- package/dist/{chunk-QJMKPUYK.js → chunk-M3H7ZE6C.js} +21 -14
- package/dist/{chunk-QVENJMNX.js → chunk-MEQYZZFR.js} +2 -2
- package/dist/{chunk-75G3Q4DK.js → chunk-MTZOXISJ.js} +9 -9
- package/dist/{chunk-J7KJR3R6.js → chunk-N7BSBAVP.js} +133 -696
- package/dist/{chunk-VQOCMUWI.js → chunk-NUTWTV6G.js} +13 -11
- package/dist/{chunk-7BIZCTAX.js → chunk-O576GYAP.js} +3 -3
- package/dist/{chunk-H6PI3KJT.js → chunk-ODUT5WMC.js} +2 -2
- package/dist/{chunk-AL672HNE.js → chunk-OJ435DQZ.js} +17 -7
- package/dist/{chunk-3HF5YEFJ.js → chunk-OR3R27CU.js} +4 -4
- package/dist/{chunk-QGATPIPX.js → chunk-OSXQKC3S.js} +35 -23
- package/dist/{chunk-FUPF2UYQ.js → chunk-PIXZTCKH.js} +51 -108
- package/dist/{chunk-QOOUC2J5.js → chunk-Q5IHQ4NW.js} +12 -2
- package/dist/{chunk-4IHAV6O7.js → chunk-QBYP2FBZ.js} +10 -478
- package/dist/{chunk-GU46PPT3.js → chunk-QXGACPS2.js} +5 -5
- package/dist/{chunk-FMDSF3OV.js → chunk-QZAW5SFH.js} +2 -2
- package/dist/{chunk-YTMTPUH4.js → chunk-R5BGGBFF.js} +4 -4
- package/dist/{chunk-KGVZ5VGH.js → chunk-RIEAN4D5.js} +16 -12
- package/dist/{chunk-5223KXFD.js → chunk-RJ5LBZ5U.js} +7 -7
- package/dist/{chunk-K4EOKJA6.js → chunk-RRGKMJYL.js} +45 -18
- package/dist/{chunk-TTIM6YTT.js → chunk-S7FOIURR.js} +14 -13
- package/dist/{chunk-IM6PDDCE.js → chunk-S7YFT3PO.js} +78 -23
- package/dist/{chunk-ZEF5M5MB.js → chunk-SBOAZ7YK.js} +82 -296
- package/dist/{chunk-6NYWYNBI.js → chunk-SSHS42QG.js} +6 -6
- package/dist/{chunk-NNS4E7CW.js → chunk-T3FAJAJT.js} +18 -9
- package/dist/{chunk-ROOE4R4Y.js → chunk-T7Y554OK.js} +146 -18
- package/dist/chunk-TGOMHUOV.js +218 -0
- package/dist/{chunk-K2I2XOZD.js → chunk-TJN2OIVG.js} +30 -15
- package/dist/{chunk-VILVLS7P.js → chunk-TLNVYWPA.js} +8 -4
- package/dist/{chunk-GJFAMOGK.js → chunk-U4IN6AHE.js} +7 -7
- package/dist/chunk-U7VO6JAA.js +566 -0
- package/dist/{chunk-MX2EY5Y7.js → chunk-UEU6IYKY.js} +2 -2
- package/dist/{chunk-J6QROYDA.js → chunk-UIT7E6UF.js} +26 -10
- package/dist/{chunk-Z72XRXD4.js → chunk-UJRTPOHH.js} +3 -3
- package/dist/{chunk-TYS6CSS5.js → chunk-UU6LUYUH.js} +2 -2
- package/dist/{chunk-VL2O2F3W.js → chunk-VHO3YBTB.js} +2 -2
- package/dist/{chunk-4YFKQ5WT.js → chunk-VMSBMIHW.js} +5 -5
- package/dist/{chunk-Z5QVYKR7.js → chunk-VQFDBNYF.js} +4 -4
- package/dist/{chunk-UNURMIQO.js → chunk-W6PCFRPL.js} +4 -4
- package/dist/{chunk-FFUN5D66.js → chunk-WF64MW5G.js} +2 -2
- package/dist/{chunk-T4A4TSTJ.js → chunk-WKNAJ4BR.js} +20 -18
- package/dist/{chunk-CIRFIL4M.js → chunk-WW4BQ744.js} +11 -11
- package/dist/{chunk-ARGMQ3H4.js → chunk-WWHECSYZ.js} +3 -3
- package/dist/{chunk-ZNWAYU6N.js → chunk-XWODFBHJ.js} +73 -18
- package/dist/{chunk-HQQNCY7W.js → chunk-YENNFS5F.js} +10 -10
- package/dist/{chunk-TLVIHFRO.js → chunk-ZKPPI6BF.js} +2 -2
- package/dist/cli.cjs +173 -157
- package/dist/clock.js +9 -1
- package/dist/completion-registry.d.ts +129 -0
- package/dist/completion-registry.js +1270 -0
- package/dist/{compute-G55RG53N.js → compute-JAP5E2E4.js} +2 -2
- package/dist/countdown.js +4 -3
- package/dist/dgmo-router-TGZWFIZO.js +88 -0
- package/dist/dimensions-L6BXQXXL.js +22 -0
- package/dist/editor.js +51 -5
- package/dist/element.js +163 -139
- package/dist/element.mjs +1859 -885
- package/dist/flowchart-parser-UKYOW3VM.js +21 -0
- package/dist/{flowchart-renderer-MNCDS7MV.js → flowchart-renderer-DCFKUDDR.js} +16 -16
- package/dist/highlight.js +55 -6
- package/dist/index.d.ts +4 -2
- package/dist/index.js +89 -81
- package/dist/layout-25Y3VDYF.js +19 -0
- package/dist/layout-4SPLI4HG.js +15 -0
- package/dist/layout-5XGYNYVT.js +9 -0
- package/dist/{layout-OAC4PEAC.js → layout-A6OIGZN2.js} +7 -7
- package/dist/layout-AZUPXWSK.js +15 -0
- package/dist/{layout-F4WO357A.js → layout-CAAKQX4W.js} +3 -3
- package/dist/{layout-A5UHRWVH.js → layout-CB3XWCOI.js} +3 -3
- package/dist/layout-CH4HFFRD.js +15 -0
- package/dist/layout-G2ABQJQZ.js +20 -0
- package/dist/{layout-7QXCNOVS.js → layout-HBWT2G23.js} +3 -3
- package/dist/{layout-2L3WMRYU.js → layout-ITLPDG6M.js} +9 -8
- package/dist/layout-NF4EWFLT.js +17 -0
- package/dist/layout-NY7MHJCL.js +15 -0
- package/dist/layout-QBNAMEOA.js +19 -0
- package/dist/layout-SP7HJWKA.js +17 -0
- package/dist/{layout-search-55FU6HD3.js → layout-search-LUI475P3.js} +56 -35
- package/dist/legend-constants-B77VKB3R.js +54 -0
- package/dist/{palettes-UDLZ2SA4.js → palettes-FGTNFARW.js} +4 -4
- package/dist/parser-2UWWNTFL.js +12 -0
- package/dist/parser-3RXYQSA7.js +18 -0
- package/dist/parser-5C3PEZK3.js +11 -0
- package/dist/parser-66RYGJRB.js +20 -0
- package/dist/parser-6GN5YJBJ.js +13 -0
- package/dist/parser-6MQM7WT3.js +15 -0
- package/dist/{parser-DQAFLUJB.js → parser-7UI6UQ7B.js} +7 -7
- package/dist/parser-B2A7XOAK.js +12 -0
- package/dist/parser-CCNJKDDA.js +16 -0
- package/dist/parser-ESHNUFME.js +13 -0
- package/dist/parser-F4FEU57T.js +11 -0
- package/dist/parser-FHRMFUNX.js +15 -0
- package/dist/parser-FPCWDYQV.js +13 -0
- package/dist/parser-FY3YFFBS.js +20 -0
- package/dist/parser-GML6V2KZ.js +14 -0
- package/dist/parser-HA3PF5FL.js +15 -0
- package/dist/parser-KTYF6WO5.js +11 -0
- package/dist/{parser-ZL5QUFVH.js → parser-LTA2BOZO.js} +5 -5
- package/dist/parser-LU7UAKNB.js +13 -0
- package/dist/parser-MHKYQPC2.js +11 -0
- package/dist/parser-MVSYFK63.js +17 -0
- package/dist/parser-O7YQYFEN.js +15 -0
- package/dist/parser-OPIXXUY4.js +21 -0
- package/dist/parser-S4EJPNVN.js +19 -0
- package/dist/parser-T3D7BV6O.js +11 -0
- package/dist/{parser-YKYMQG3B.js → parser-VVE4THG3.js} +6 -6
- package/dist/parser-WPPJGB4R.js +12 -0
- package/dist/parser-X5XLFY4Z.js +22 -0
- package/dist/parser-XCPMEB2Z.js +11 -0
- package/dist/parser-XRDUX2AR.js +14 -0
- package/dist/parser-YPWYT46P.js +16 -0
- package/dist/parser-YULS5MLD.js +13 -0
- package/dist/pert.d.ts +2 -0
- package/dist/registry-CaSw0PSH.d.ts +350 -0
- package/dist/renderer-2DME63VZ.js +16 -0
- package/dist/renderer-3VY3VXJE.js +37 -0
- package/dist/renderer-4A32DX5L.js +24 -0
- package/dist/renderer-4K5YYX5R.js +28 -0
- package/dist/renderer-6CFML5G3.js +22 -0
- package/dist/renderer-7HMZ5OCJ.js +16 -0
- package/dist/renderer-7ZNVOVFG.js +16 -0
- package/dist/{renderer-CQY6ATOS.js → renderer-B7Y6I7JX.js} +9 -8
- package/dist/renderer-C3RI4OPJ.js +33 -0
- package/dist/renderer-CJ56SUMF.js +26 -0
- package/dist/renderer-COJZZ4F6.js +25 -0
- package/dist/renderer-FXMGCSRP.js +26 -0
- package/dist/{renderer-HSHHVYWF.js → renderer-G4UOW3RH.js} +7 -7
- package/dist/renderer-HQ4JFZOV.js +27 -0
- package/dist/{renderer-NHO46CT2.js → renderer-K7XLVPH5.js} +6 -6
- package/dist/{renderer-ZWIH4WDW.js → renderer-LHVCKEWF.js} +13 -13
- package/dist/renderer-OZX5KGQM.js +21 -0
- package/dist/{renderer-3F7OS2AX.js → renderer-P3YQES7B.js} +16 -16
- package/dist/renderer-PLVIARM7.js +24 -0
- package/dist/renderer-RA4PTAMF.js +19 -0
- package/dist/renderer-RMAM2SOJ.js +28 -0
- package/dist/renderer-SES7QZYL.js +37 -0
- package/dist/renderer-TQ5QDZOE.js +22 -0
- package/dist/renderer-V5SNTPAM.js +27 -0
- package/dist/{renderer-5DAKMIU2.js → renderer-WCWI4I6A.js} +5 -5
- package/dist/renderer-WVD6G2TS.js +34 -0
- package/dist/{renderer-DT4XRFEP.js → renderer-X2LYSMLU.js} +7 -7
- package/dist/renderer-Y3NXZINM.js +24 -0
- package/dist/{renderer-KNFTTOBL.js → renderer-YEFOOULC.js} +14 -14
- package/dist/renderer-YP3P6UVT.js +24 -0
- package/dist/renderer-YVMETH6V.js +29 -0
- package/dist/renderer-Z4GNKNXO.js +24 -0
- package/dist/renderer-radial-VYBZAXXE.js +21 -0
- package/dist/{resolver-EMTGNR3D.js → resolver-WFKZYBJ2.js} +4 -4
- package/dist/state-parser-VIW2WNA5.js +19 -0
- package/dist/state-renderer-H22AQD3U.js +38 -0
- package/dist/{themes-32xj5ZTW.d.ts → themes-tbBkIVsn.d.ts} +2 -349
- package/docs/ai-integration.md +59 -58
- package/docs/language-reference.md +323 -286
- package/fonts/Inter-Bold.woff2 +0 -0
- package/fonts/Inter-Regular.woff2 +0 -0
- package/gallery/fixtures/boxes-and-lines-diverging.dgmo +1 -2
- package/gallery/fixtures/boxes-and-lines.dgmo +1 -1
- package/gallery/fixtures/clock.dgmo +1 -1
- package/gallery/fixtures/event-line.dgmo +1 -1
- package/gallery/fixtures/gantt-full.dgmo +1 -1
- package/gallery/fixtures/gantt-sprints.dgmo +9 -9
- package/gallery/fixtures/gantt.dgmo +1 -1
- package/gallery/fixtures/legacy-syntax-backcompat.dgmo +16 -0
- package/gallery/fixtures/state-tags.dgmo +40 -0
- package/gallery/fixtures/swimlane.dgmo +1 -1
- package/gallery/fixtures/timeline-intraday.dgmo +1 -1
- package/package.json +9 -1
- package/dist/analyzer-BJ54GIFB.js +0 -15
- package/dist/calculator-LDYQCDDY.js +0 -11
- package/dist/charts-d3-MXEP6BNP.js +0 -26
- package/dist/chunk-BRENJ2BQ.js +0 -714
- package/dist/chunk-FQ7HTV52.js +0 -364
- package/dist/dgmo-router-X7ZGAPIE.js +0 -86
- package/dist/dimensions-45H6JQEY.js +0 -22
- package/dist/flowchart-parser-UKELHBSB.js +0 -21
- package/dist/layout-46N4JJYK.js +0 -17
- package/dist/layout-A4XWNVID.js +0 -14
- package/dist/layout-AM2JWW3X.js +0 -15
- package/dist/layout-EE6GE46Y.js +0 -17
- package/dist/layout-G23F7LDH.js +0 -9
- package/dist/layout-GM4UGR7B.js +0 -19
- package/dist/layout-GQQJXNYH.js +0 -15
- package/dist/layout-IIE2S5FK.js +0 -20
- package/dist/layout-VMCRX66I.js +0 -14
- package/dist/layout-ZDOSXL5G.js +0 -19
- package/dist/parser-2ECN6JA2.js +0 -16
- package/dist/parser-4WTIHM5J.js +0 -11
- package/dist/parser-5H2BTSJQ.js +0 -11
- package/dist/parser-75KVXUNS.js +0 -16
- package/dist/parser-774AC53T.js +0 -13
- package/dist/parser-BE4YCSRU.js +0 -11
- package/dist/parser-CNGUQUQI.js +0 -11
- package/dist/parser-DEUUSQIN.js +0 -22
- package/dist/parser-EYCKNKQA.js +0 -21
- package/dist/parser-FXISIU6A.js +0 -14
- package/dist/parser-GTB4XC7P.js +0 -18
- package/dist/parser-GVEPAUSD.js +0 -12
- package/dist/parser-HSQGTY4G.js +0 -19
- package/dist/parser-HVKRINUS.js +0 -11
- package/dist/parser-J5MIEYO4.js +0 -15
- package/dist/parser-KMZIXLDZ.js +0 -13
- package/dist/parser-LJHXWSXU.js +0 -14
- package/dist/parser-PT3W72G5.js +0 -15
- package/dist/parser-SBJQDPHL.js +0 -15
- package/dist/parser-SUWWWCMX.js +0 -12
- package/dist/parser-SXDRNZOA.js +0 -13
- package/dist/parser-UMILOW3M.js +0 -14
- package/dist/parser-UP3AZ367.js +0 -13
- package/dist/parser-WHPRV3X5.js +0 -20
- package/dist/parser-WX3UODSJ.js +0 -12
- package/dist/parser-XCIEN3KN.js +0 -13
- package/dist/parser-XIRTUMVN.js +0 -18
- package/dist/parser-YKCGIG45.js +0 -11
- package/dist/parser-ZGM2OJ6Y.js +0 -22
- package/dist/renderer-4QB4K7Q3.js +0 -24
- package/dist/renderer-5H4SY7YY.js +0 -22
- package/dist/renderer-5PIQPFOX.js +0 -16
- package/dist/renderer-6MU37QF5.js +0 -19
- package/dist/renderer-AQVMWJ4M.js +0 -27
- package/dist/renderer-BDDW6K7N.js +0 -24
- package/dist/renderer-BNB3VIDY.js +0 -26
- package/dist/renderer-CVW75CXL.js +0 -37
- package/dist/renderer-ERHBSTQT.js +0 -25
- package/dist/renderer-IDPVUFNB.js +0 -28
- package/dist/renderer-ILX6BGKR.js +0 -21
- package/dist/renderer-JP663HKG.js +0 -22
- package/dist/renderer-MVUZBESR.js +0 -16
- package/dist/renderer-N4EBR2FV.js +0 -28
- package/dist/renderer-NO2QJ5LZ.js +0 -27
- package/dist/renderer-OGFV5RXX.js +0 -34
- package/dist/renderer-PDLESJMS.js +0 -37
- package/dist/renderer-T4MTNINC.js +0 -24
- package/dist/renderer-TOUGFGTM.js +0 -24
- package/dist/renderer-U3KPD43Y.js +0 -34
- package/dist/renderer-X334IJU2.js +0 -26
- package/dist/renderer-Y5OAMOCR.js +0 -23
- package/dist/renderer-YONAKAJU.js +0 -16
- package/dist/renderer-YWMI6Y2U.js +0 -29
- package/dist/renderer-radial-7CGZMVMS.js +0 -21
- package/dist/state-parser-BATWAID2.js +0 -18
- package/dist/state-renderer-3FKZJ3LP.js +0 -34
|
@@ -1,101 +1,119 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseBody
|
|
3
|
+
} from "./chunk-VQFDBNYF.js";
|
|
4
|
+
import {
|
|
5
|
+
EXTENDED_CHART_DOORS,
|
|
6
|
+
parseChart,
|
|
7
|
+
parseFunctionChart,
|
|
8
|
+
parseFunnel,
|
|
9
|
+
parseHeatmap,
|
|
10
|
+
parseSankey,
|
|
11
|
+
parseScatter
|
|
12
|
+
} from "./chunk-AQEYUVGJ.js";
|
|
13
|
+
import {
|
|
14
|
+
parseRing
|
|
15
|
+
} from "./chunk-W6PCFRPL.js";
|
|
16
|
+
import {
|
|
17
|
+
parseTreemap
|
|
18
|
+
} from "./chunk-XWODFBHJ.js";
|
|
19
|
+
import {
|
|
20
|
+
parseBlock
|
|
21
|
+
} from "./chunk-3SEEP2JM.js";
|
|
1
22
|
import {
|
|
2
23
|
parseGoal
|
|
3
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FVMKCZHF.js";
|
|
4
25
|
import {
|
|
5
26
|
parseCountdown
|
|
6
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EPRF3ZRV.js";
|
|
7
28
|
import {
|
|
8
29
|
parseClock
|
|
9
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KV4HLIJE.js";
|
|
10
31
|
import {
|
|
11
32
|
parseBracket
|
|
12
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C2UORMIA.js";
|
|
13
34
|
import {
|
|
14
35
|
allTasks,
|
|
15
36
|
parseRaci
|
|
16
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QBYP2FBZ.js";
|
|
17
38
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
39
|
+
parseSwimlane
|
|
40
|
+
} from "./chunk-EAI6XJ7D.js";
|
|
20
41
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
parseFunctionChart,
|
|
24
|
-
parseFunnel,
|
|
25
|
-
parseHeatmap,
|
|
26
|
-
parseSankey,
|
|
27
|
-
parseScatter
|
|
28
|
-
} from "./chunk-EMLPOL77.js";
|
|
42
|
+
parseFamily
|
|
43
|
+
} from "./chunk-MTZOXISJ.js";
|
|
29
44
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
45
|
+
parseMindmap
|
|
46
|
+
} from "./chunk-OJ435DQZ.js";
|
|
32
47
|
import {
|
|
33
48
|
parseTechRadar
|
|
34
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TLNVYWPA.js";
|
|
35
50
|
import {
|
|
36
51
|
parseCycle
|
|
37
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-O576GYAP.js";
|
|
38
53
|
import {
|
|
39
54
|
parseJourneyMap
|
|
40
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-KQ3FNRGR.js";
|
|
41
56
|
import {
|
|
42
57
|
parsePyramid
|
|
43
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-KDK5EKUR.js";
|
|
44
59
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
60
|
+
parseVersionControl
|
|
61
|
+
} from "./chunk-CCGWX6AO.js";
|
|
47
62
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
63
|
+
parseKanban
|
|
64
|
+
} from "./chunk-GK32ZFZY.js";
|
|
50
65
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
66
|
+
parseC4
|
|
67
|
+
} from "./chunk-2NYXI35Z.js";
|
|
53
68
|
import {
|
|
54
69
|
parseInfra
|
|
55
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-S7YFT3PO.js";
|
|
56
71
|
import {
|
|
57
72
|
parseGantt
|
|
58
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OSXQKC3S.js";
|
|
59
74
|
import {
|
|
60
75
|
parseMap
|
|
61
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-7SP4C6EV.js";
|
|
62
77
|
import {
|
|
63
78
|
parseBoxesAndLines
|
|
64
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-7UPFTBOW.js";
|
|
65
80
|
import {
|
|
66
81
|
parseSketch
|
|
67
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-YENNFS5F.js";
|
|
68
83
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
84
|
+
looksLikeFlowchart,
|
|
85
|
+
parseFlowchart
|
|
86
|
+
} from "./chunk-DLU643TF.js";
|
|
71
87
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
88
|
+
looksLikeState,
|
|
89
|
+
parseState
|
|
90
|
+
} from "./chunk-T7Y554OK.js";
|
|
74
91
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
92
|
+
looksLikeClassDiagram,
|
|
93
|
+
parseClassDiagram
|
|
94
|
+
} from "./chunk-M24VXUFG.js";
|
|
77
95
|
import {
|
|
78
96
|
looksLikeERDiagram,
|
|
79
97
|
parseERDiagram
|
|
80
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-B7N5KYXQ.js";
|
|
81
99
|
import {
|
|
82
100
|
looksLikeOrg,
|
|
83
101
|
parseOrg
|
|
84
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-T3FAJAJT.js";
|
|
85
103
|
import {
|
|
86
104
|
looksLikeSitemap,
|
|
87
105
|
parseSitemap
|
|
88
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-F7XM366V.js";
|
|
89
107
|
import {
|
|
90
108
|
looksLikePert,
|
|
91
109
|
parsePert
|
|
92
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RRGKMJYL.js";
|
|
93
111
|
import {
|
|
94
112
|
parseEventLine
|
|
95
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-UIT7E6UF.js";
|
|
96
114
|
import {
|
|
97
115
|
parseTimelineEventLine
|
|
98
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-3KHJJP3J.js";
|
|
99
117
|
import {
|
|
100
118
|
makeYearContext,
|
|
101
119
|
parseDateToken,
|
|
@@ -103,37 +121,22 @@ import {
|
|
|
103
121
|
toInternal
|
|
104
122
|
} from "./chunk-DAOFNU6J.js";
|
|
105
123
|
import {
|
|
106
|
-
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import {
|
|
109
|
-
parseKanban
|
|
110
|
-
} from "./chunk-3QD7VP3U.js";
|
|
124
|
+
chartTypes
|
|
125
|
+
} from "./chunk-TGOMHUOV.js";
|
|
111
126
|
import {
|
|
112
|
-
|
|
113
|
-
} from "./chunk-
|
|
127
|
+
parseWireframe
|
|
128
|
+
} from "./chunk-BM7MG6HT.js";
|
|
114
129
|
import {
|
|
115
130
|
looksLikeSequence,
|
|
116
131
|
parseSequenceDgmo
|
|
117
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-M3H7ZE6C.js";
|
|
118
133
|
import {
|
|
119
134
|
matchTagBlockHeading,
|
|
120
135
|
stripDefaultModifier,
|
|
121
136
|
tagAttrKey,
|
|
122
137
|
validateTagGroupNames,
|
|
123
138
|
validateTagValues
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import {
|
|
126
|
-
looksLikeFlowchart,
|
|
127
|
-
parseFlowchart
|
|
128
|
-
} from "./chunk-6EJITS44.js";
|
|
129
|
-
import {
|
|
130
|
-
looksLikeState,
|
|
131
|
-
parseState
|
|
132
|
-
} from "./chunk-ROOE4R4Y.js";
|
|
133
|
-
import {
|
|
134
|
-
looksLikeClassDiagram,
|
|
135
|
-
parseClassDiagram
|
|
136
|
-
} from "./chunk-TPFKKXCB.js";
|
|
139
|
+
} from "./chunk-AHTTKERF.js";
|
|
137
140
|
import {
|
|
138
141
|
TIMELINE_REGISTRY,
|
|
139
142
|
collectIndentedValues,
|
|
@@ -145,16 +148,18 @@ import {
|
|
|
145
148
|
peelTrailingColorName,
|
|
146
149
|
splitNameAndMeta,
|
|
147
150
|
withTagAliases
|
|
148
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-3FRO35WW.js";
|
|
149
152
|
import {
|
|
150
153
|
resolveColorWithDiagnostic
|
|
151
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
152
155
|
import {
|
|
156
|
+
TITLE_DIRECTIVE_DX,
|
|
153
157
|
dedupeDiagnostics,
|
|
158
|
+
emit,
|
|
154
159
|
formatDgmoError,
|
|
155
160
|
makeDgmoError,
|
|
156
161
|
suggest
|
|
157
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-4W2PE66Q.js";
|
|
158
163
|
|
|
159
164
|
// src/visualizations/types.ts
|
|
160
165
|
var DEFAULT_CLOUD_OPTIONS = {
|
|
@@ -675,7 +680,7 @@ function parseVisualizationFull(content, palette) {
|
|
|
675
680
|
}
|
|
676
681
|
continue;
|
|
677
682
|
}
|
|
678
|
-
if (!/^(era|marker|tag|sort|active-tag|swimlanes|no-scale|lane-by|fill-tint|fill-solid|fill-outline)\b/i.test(
|
|
683
|
+
if (!/^(era|marker|tag|sort|active-tag|swimlanes|no-scale|no-legend|lane-by|fill-tint|fill-solid|fill-outline)\b/i.test(
|
|
679
684
|
line
|
|
680
685
|
) && !line.startsWith("[")) {
|
|
681
686
|
warn(lineNumber, `Expected a date at the start \u2014 e.g., '1718 ${line}'`);
|
|
@@ -831,11 +836,7 @@ function parseVisualizationFull(content, palette) {
|
|
|
831
836
|
continue;
|
|
832
837
|
}
|
|
833
838
|
if (firstToken === "title") {
|
|
834
|
-
result.
|
|
835
|
-
result.titleLineNumber = lineNumber;
|
|
836
|
-
if (result.type === "quadrant") {
|
|
837
|
-
result.quadrantTitleLineNumber = lineNumber;
|
|
838
|
-
}
|
|
839
|
+
result.diagnostics.push(emit(TITLE_DIRECTIVE_DX, lineNumber));
|
|
839
840
|
continue;
|
|
840
841
|
}
|
|
841
842
|
if (firstToken === "order") {
|
|
@@ -898,6 +899,10 @@ function parseVisualizationFull(content, palette) {
|
|
|
898
899
|
result.noTitle = true;
|
|
899
900
|
continue;
|
|
900
901
|
}
|
|
902
|
+
if (bareToken === "no-legend") {
|
|
903
|
+
result.noLegend = true;
|
|
904
|
+
continue;
|
|
905
|
+
}
|
|
901
906
|
if (bareToken === "orientation-vertical") {
|
|
902
907
|
if (result.type === "arc") result.orientation = "vertical";
|
|
903
908
|
continue;
|
|
@@ -1033,11 +1038,7 @@ function parseVisualizationFull(content, palette) {
|
|
|
1033
1038
|
const key = rawKey.toLowerCase();
|
|
1034
1039
|
const colorMatch = rawKey.match(/^(.+?)\(([^)]+)\)\s*$/);
|
|
1035
1040
|
if (key === "title") {
|
|
1036
|
-
result.
|
|
1037
|
-
result.titleLineNumber = lineNumber;
|
|
1038
|
-
if (result.type === "quadrant") {
|
|
1039
|
-
result.quadrantTitleLineNumber = lineNumber;
|
|
1040
|
-
}
|
|
1041
|
+
result.diagnostics.push(emit(TITLE_DIRECTIVE_DX, lineNumber));
|
|
1041
1042
|
continue;
|
|
1042
1043
|
}
|
|
1043
1044
|
if (key === "order") {
|
|
@@ -1414,220 +1415,6 @@ function tokenizeFreeformText(text) {
|
|
|
1414
1415
|
return Array.from(counts.entries()).map(([text2, count]) => ({ text: text2, weight: count, lineNumber: 0 })).sort((a, b) => b.weight - a.weight);
|
|
1415
1416
|
}
|
|
1416
1417
|
|
|
1417
|
-
// src/chart-types.ts
|
|
1418
|
-
var chartTypes = [
|
|
1419
|
-
// ── Tier 1 — Narrative / architecture diagrams ────────────
|
|
1420
|
-
{
|
|
1421
|
-
id: "journey-map",
|
|
1422
|
-
description: "User experience flow with emotion scores, phases, and annotations"
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
id: "c4",
|
|
1426
|
-
description: "System architecture (context, container, component, deployment)"
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
id: "er",
|
|
1430
|
-
description: "Database schemas and relationships"
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
id: "class",
|
|
1434
|
-
description: "UML class hierarchies"
|
|
1435
|
-
},
|
|
1436
|
-
{
|
|
1437
|
-
id: "sequence",
|
|
1438
|
-
description: "Message request and response interaction flows",
|
|
1439
|
-
fallback: true
|
|
1440
|
-
},
|
|
1441
|
-
{
|
|
1442
|
-
id: "state",
|
|
1443
|
-
description: "State machine / lifecycle transitions"
|
|
1444
|
-
},
|
|
1445
|
-
{
|
|
1446
|
-
id: "infra",
|
|
1447
|
-
description: "Infrastructure traffic flow with RPS computation"
|
|
1448
|
-
},
|
|
1449
|
-
{
|
|
1450
|
-
id: "gantt",
|
|
1451
|
-
description: "Project scheduling with task dependencies and milestones"
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
id: "pert",
|
|
1455
|
-
description: "Project network with three-point estimates, critical path, and uncertainty (Beta-PERT, Monte Carlo)"
|
|
1456
|
-
},
|
|
1457
|
-
{
|
|
1458
|
-
id: "swimlane",
|
|
1459
|
-
description: "Cross-functional process flow with lanes, phases and gateways (BPMN-style)"
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
id: "version-control",
|
|
1463
|
-
description: "Git / version-control branch-and-merge graph: commits, branches, merges, rebase, HEAD and remote-tracking (gitGraph-style)"
|
|
1464
|
-
},
|
|
1465
|
-
// ── Tier 2 — Specialized structural diagrams ──────────────
|
|
1466
|
-
{
|
|
1467
|
-
id: "timeline",
|
|
1468
|
-
description: "Events, eras, and date ranges"
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
id: "event-line",
|
|
1472
|
-
description: "Annotated narrative timeline \u2014 events on a horizontal line with descriptions (not the date-scaled timeline)"
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
id: "body",
|
|
1476
|
-
description: "Human anatomy figure annotated by muscle/bone/joint name \u2014 for medical, exercise, and educational diagrams"
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
id: "org",
|
|
1480
|
-
description: "Reporting hierarchy"
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
id: "family",
|
|
1484
|
-
description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
id: "sitemap",
|
|
1488
|
-
description: "Site / app navigation structure"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
id: "bracket",
|
|
1492
|
-
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"
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
id: "kanban",
|
|
1496
|
-
description: "Task board columns"
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
id: "raci",
|
|
1500
|
-
description: "Tasks \xD7 roles responsibility matrix with constraint linting"
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
id: "tech-radar",
|
|
1504
|
-
description: "Technology adoption quadrants (adopt/trial/assess/hold)"
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
id: "mindmap",
|
|
1508
|
-
description: "Radial hierarchy of ideas branching from a central topic"
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
id: "wireframe",
|
|
1512
|
-
description: "Low-fidelity UI layout with panels, controls, and annotations"
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
id: "cycle",
|
|
1516
|
-
description: "Cyclical process visualization (PDCA, OODA, DevOps loops)"
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
id: "pyramid",
|
|
1520
|
-
description: "Stacked hierarchy of layers with descriptions (Maslow, DIKW)"
|
|
1521
|
-
},
|
|
1522
|
-
{
|
|
1523
|
-
id: "ring",
|
|
1524
|
-
description: "Concentric rings showing nested or hierarchical categories (read core-out)"
|
|
1525
|
-
},
|
|
1526
|
-
{
|
|
1527
|
-
id: "treemap",
|
|
1528
|
-
description: "Nested rectangles sized by value \u2014 show a hierarchy\u2019s proportions (budgets, disk usage, portfolios) with color by category, value heatmap, or branch"
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
id: "block",
|
|
1532
|
-
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"
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
id: "sketch",
|
|
1536
|
-
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"
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
id: "goal",
|
|
1540
|
-
description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
id: "countdown",
|
|
1544
|
-
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'
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
id: "clock",
|
|
1548
|
-
description: "Live world-clock board: current time for people/places across time zones, ticking every second, with optional working-hours status and sundown line"
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
id: "map",
|
|
1552
|
-
description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges"
|
|
1553
|
-
},
|
|
1554
|
-
// ── Tier 3 — Specialized analytical charts ────────────────
|
|
1555
|
-
{
|
|
1556
|
-
id: "quadrant",
|
|
1557
|
-
description: "2x2 positioning matrix"
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
id: "venn",
|
|
1561
|
-
description: "Set overlaps"
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
id: "funnel",
|
|
1565
|
-
description: "Conversion pipeline"
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
id: "slope",
|
|
1569
|
-
description: "Change between 2 time periods"
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
id: "sankey",
|
|
1573
|
-
description: "Flow / allocation visualization"
|
|
1574
|
-
},
|
|
1575
|
-
{
|
|
1576
|
-
id: "arc",
|
|
1577
|
-
description: "Network relationships (linear or circular via `layout`)"
|
|
1578
|
-
},
|
|
1579
|
-
{
|
|
1580
|
-
id: "wordcloud",
|
|
1581
|
-
description: "Term frequency visualization"
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
id: "heatmap",
|
|
1585
|
-
description: "Matrix intensity visualization"
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
id: "function",
|
|
1589
|
-
description: "Mathematical expressions"
|
|
1590
|
-
},
|
|
1591
|
-
// ── Tier 4 — General-purpose data charts ──────────────────
|
|
1592
|
-
{
|
|
1593
|
-
id: "bar",
|
|
1594
|
-
description: "Categorical comparisons for 3 - 5 figures",
|
|
1595
|
-
fallback: true
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
id: "line",
|
|
1599
|
-
description: "Trends over time",
|
|
1600
|
-
fallback: true
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
id: "pie",
|
|
1604
|
-
description: "Part-to-whole proportions"
|
|
1605
|
-
},
|
|
1606
|
-
{
|
|
1607
|
-
id: "radar",
|
|
1608
|
-
description: "Multi-dimensional metrics"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
id: "polar-area",
|
|
1612
|
-
description: "Radial bar chart"
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
id: "scatter",
|
|
1616
|
-
description: "2D data points or bubble chart"
|
|
1617
|
-
},
|
|
1618
|
-
// ── Tier 5 — Generic catch-alls (listed last on purpose) ──
|
|
1619
|
-
{
|
|
1620
|
-
id: "flowchart",
|
|
1621
|
-
description: "Decision trees and process flows",
|
|
1622
|
-
fallback: true
|
|
1623
|
-
},
|
|
1624
|
-
{
|
|
1625
|
-
id: "boxes-and-lines",
|
|
1626
|
-
description: "General-purpose node-edge diagrams with groups and tags",
|
|
1627
|
-
fallback: true
|
|
1628
|
-
}
|
|
1629
|
-
];
|
|
1630
|
-
|
|
1631
1418
|
// src/slope/parser.ts
|
|
1632
1419
|
function parseSlope(content, palette) {
|
|
1633
1420
|
return parseVisualization(content, palette);
|
|
@@ -2071,7 +1858,7 @@ function isExtendedChartParser(parse) {
|
|
|
2071
1858
|
}
|
|
2072
1859
|
|
|
2073
1860
|
// src/dgmo-router.ts
|
|
2074
|
-
var GANTT_DURATION_RE = /^\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h)(?:\?)?\s+/;
|
|
1861
|
+
var GANTT_DURATION_RE = /^\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h)(?:\?)?\s+/;
|
|
2075
1862
|
var GANTT_DATE_RE = /^\d{4}-\d{2}-\d{2}(?:\s\d{2}:\d{2})?\s+/;
|
|
2076
1863
|
function looksLikeGantt(content) {
|
|
2077
1864
|
const lines = content.split("\n");
|
|
@@ -2217,7 +2004,6 @@ export {
|
|
|
2217
2004
|
parseWordcloud,
|
|
2218
2005
|
parseVenn,
|
|
2219
2006
|
parseQuadrant,
|
|
2220
|
-
chartTypes,
|
|
2221
2007
|
REGISTRY_BY_ID,
|
|
2222
2008
|
looksLikeGantt,
|
|
2223
2009
|
looksLikeC4,
|
|
@@ -2230,4 +2016,4 @@ export {
|
|
|
2230
2016
|
knownChartTypeIds,
|
|
2231
2017
|
parseDgmo
|
|
2232
2018
|
};
|
|
2233
|
-
//# sourceMappingURL=chunk-
|
|
2019
|
+
//# sourceMappingURL=chunk-SBOAZ7YK.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5HWPEYWB.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
7
|
-
import {
|
|
8
|
-
measureText
|
|
9
|
-
} from "./chunk-WCT3NYCV.js";
|
|
10
7
|
import {
|
|
11
8
|
resolveNotes
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QZAW5SFH.js";
|
|
10
|
+
import {
|
|
11
|
+
measureText
|
|
12
|
+
} from "./chunk-4ASYQ347.js";
|
|
13
13
|
|
|
14
14
|
// src/er/layout.ts
|
|
15
15
|
import dagre from "@dagrejs/dagre";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-SSHS42QG.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
normalizeName
|
|
3
|
+
} from "./chunk-NOTA6TEI.js";
|
|
1
4
|
import {
|
|
2
5
|
AUTO_TAG_COLOR_SENTINEL,
|
|
3
6
|
finalizeAutoTagColors,
|
|
@@ -7,10 +10,7 @@ import {
|
|
|
7
10
|
tagAttrKey,
|
|
8
11
|
validateTagGroupNames,
|
|
9
12
|
validateTagValues
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
normalizeName
|
|
13
|
-
} from "./chunk-NOTA6TEI.js";
|
|
13
|
+
} from "./chunk-AHTTKERF.js";
|
|
14
14
|
import {
|
|
15
15
|
OPTION_NOCOLON_RE,
|
|
16
16
|
ORG_REGISTRY,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
splitNameAndMeta,
|
|
21
21
|
warnUnknownMetaKeys,
|
|
22
22
|
withTagAliases
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3FRO35WW.js";
|
|
24
24
|
import {
|
|
25
25
|
formatDgmoError,
|
|
26
26
|
makeDgmoError,
|
|
27
27
|
makeFail,
|
|
28
28
|
suggest
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4W2PE66Q.js";
|
|
30
30
|
|
|
31
31
|
// src/org/parser.ts
|
|
32
32
|
var CONTAINER_RE = /^\[([^\]]+)\]$/;
|
|
@@ -40,10 +40,12 @@ var KNOWN_OPTIONS = /* @__PURE__ */ new Set([
|
|
|
40
40
|
var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
|
|
41
41
|
"show-sub-node-count",
|
|
42
42
|
"direction-tb",
|
|
43
|
+
"direction-lr",
|
|
43
44
|
"fill-tint",
|
|
44
45
|
"fill-solid",
|
|
45
46
|
"fill-outline",
|
|
46
|
-
"no-title"
|
|
47
|
+
"no-title",
|
|
48
|
+
"no-legend"
|
|
47
49
|
]);
|
|
48
50
|
function looksLikeOrg(content) {
|
|
49
51
|
for (const line of content.split("\n")) {
|
|
@@ -61,6 +63,7 @@ function parseOrg(content, palette) {
|
|
|
61
63
|
roots: [],
|
|
62
64
|
tagGroups: [],
|
|
63
65
|
options,
|
|
66
|
+
direction: "TB",
|
|
64
67
|
diagnostics: [],
|
|
65
68
|
error: null
|
|
66
69
|
};
|
|
@@ -164,7 +167,12 @@ function parseOrg(content, palette) {
|
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
if (KNOWN_BOOLEANS.has(trimmed.toLowerCase())) {
|
|
167
|
-
|
|
170
|
+
const boolKey = trimmed.toLowerCase();
|
|
171
|
+
if (boolKey === "direction-lr" || boolKey === "direction-tb") {
|
|
172
|
+
delete options["direction-lr"];
|
|
173
|
+
delete options["direction-tb"];
|
|
174
|
+
}
|
|
175
|
+
options[boolKey] = "on";
|
|
168
176
|
continue;
|
|
169
177
|
}
|
|
170
178
|
}
|
|
@@ -287,6 +295,7 @@ function parseOrg(content, palette) {
|
|
|
287
295
|
result.diagnostics.push(diag);
|
|
288
296
|
result.error = formatDgmoError(diag);
|
|
289
297
|
}
|
|
298
|
+
result.direction = options["direction-lr"] ? "LR" : "TB";
|
|
290
299
|
return result;
|
|
291
300
|
}
|
|
292
301
|
function parseNodeLabel(trimmed, _indent, lineNumber, _palette, counter, metaAliasMap = /* @__PURE__ */ new Map(), diagnostics, nameAliasMap) {
|
|
@@ -353,4 +362,4 @@ export {
|
|
|
353
362
|
looksLikeOrg,
|
|
354
363
|
parseOrg
|
|
355
364
|
};
|
|
356
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-T3FAJAJT.js.map
|