@diagrammo/dgmo 0.95.0 → 0.97.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/README.md +1 -1
- package/dist/advanced.d.ts +190 -568
- package/dist/advanced.js +259 -470
- package/dist/block.d.ts +8 -0
- package/dist/block.js +144 -73
- package/dist/{calculator-BNH3GSJE.js → calculator-CIGGTURF.js} +2 -2
- package/dist/{chart-meta-BbjsRY7o.d.ts → chart-meta-B7niEd52.d.ts} +3 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +19 -19
- package/dist/{chart-types-Cppnp31G.d.ts → chart-types-Dxtv4XSz.d.ts} +4 -5
- package/dist/{charts-d3-SZV2SFTM.js → charts-d3-INWEGMSD.js} +14 -14
- package/dist/{chunk-P5XA627W.js → chunk-2FMOLWX4.js} +73 -65
- package/dist/{chunk-MLY5ALOV.js → chunk-2SZILMQT.js} +57 -15
- package/dist/chunk-35A3J4Z5.js +14 -0
- package/dist/{chunk-UXNA2H2V.js → chunk-3C4OXVZJ.js} +2 -2
- package/dist/{chunk-IZHGT5HD.js → chunk-3HL6NSSQ.js} +63 -18
- package/dist/{chunk-2WQ3YZMN.js → chunk-3IUMSK72.js} +2 -2
- package/dist/{chunk-LAXMUSGW.js → chunk-44RLIAYC.js} +17 -10
- package/dist/{chunk-H7AXCRO7.js → chunk-453IWXZ3.js} +0 -11
- package/dist/{chunk-2I4UQG7W.js → chunk-47INRTZ6.js} +2 -2
- package/dist/{chunk-IN7XI6NO.js → chunk-4NMRS6HW.js} +1 -1
- package/dist/{chunk-KLBTJEIK.js → chunk-4TK26YHH.js} +2 -2
- package/dist/{chunk-CN4RDJDV.js → chunk-5TGZBHEJ.js} +1 -1
- package/dist/{chunk-IXHWS2HI.js → chunk-5WZYJC2P.js} +2 -2
- package/dist/{chunk-KBDMEOLI.js → chunk-65JFUANT.js} +1 -1
- package/dist/{chunk-D3K4U3ZM.js → chunk-6K2W3FH7.js} +8 -5
- package/dist/{chunk-NXU4N5WT.js → chunk-6OUMYNAJ.js} +1 -1
- package/dist/{chunk-KRPLP5LP.js → chunk-6PUBFB6D.js} +24 -3
- package/dist/{chunk-EXHXTMVR.js → chunk-6S2H6EKN.js} +3 -3
- package/dist/{chunk-KSZB7TIY.js → chunk-6SDEXSJY.js} +42 -22
- package/dist/{chunk-IQN2NGEU.js → chunk-6YBZFOTA.js} +13 -13
- package/dist/{chunk-IHN6WDEY.js → chunk-74XR7Z3I.js} +13 -13
- package/dist/{chunk-2J2CWWWK.js → chunk-7ASVGFW3.js} +1 -1
- package/dist/{chunk-BH2SF4TT.js → chunk-7QKWU7FX.js} +3 -3
- package/dist/{chunk-A6YINTY6.js → chunk-7RACGVUY.js} +1 -1
- package/dist/{chunk-VB4VMB2I.js → chunk-7TEAFIEJ.js} +9 -5
- package/dist/{chunk-UNCCZ3NU.js → chunk-A3V72YIL.js} +14 -1
- package/dist/{chunk-BCV2VJTM.js → chunk-A5LFM62B.js} +3 -3
- package/dist/{chunk-U6VS3T2M.js → chunk-AULFF7L2.js} +4 -4
- package/dist/{chunk-LKZCUFOW.js → chunk-B7ZH5EQ2.js} +2 -2
- package/dist/{chunk-VGAMBOOC.js → chunk-C6ME2L4T.js} +2 -2
- package/dist/{chunk-3PP746YM.js → chunk-CGP7RGLJ.js} +1 -1
- package/dist/{chunk-67N26CER.js → chunk-CLW45YKE.js} +2 -1
- package/dist/{chunk-VTESGA5F.js → chunk-CUOMNKYW.js} +4 -4
- package/dist/{chunk-CDM6XMOT.js → chunk-CUTEHGXO.js} +2 -2
- package/dist/{chunk-NERQSSYD.js → chunk-D67YE4LR.js} +1 -1
- package/dist/{chunk-XOMIYMQ3.js → chunk-D7KZE2XJ.js} +39 -17
- package/dist/{chunk-NMS5XSLX.js → chunk-DFEVFLEG.js} +3 -3
- package/dist/{chunk-EBVVMUAA.js → chunk-DKMZ4VMV.js} +1 -1
- package/dist/{chunk-V5D6GDNK.js → chunk-DRY4W4W6.js} +36 -15
- package/dist/{chunk-XJQ6Z3FO.js → chunk-E6GHXMH2.js} +8 -8
- package/dist/{chunk-KBEWVCK3.js → chunk-EBJLT7PH.js} +1 -1
- package/dist/{chunk-TASRGDYP.js → chunk-EEIGHOJR.js} +92 -23
- package/dist/{chunk-AQQUJEDN.js → chunk-EUPUVYWO.js} +1 -1
- package/dist/{chunk-7IALGIOI.js → chunk-F2OAZHOX.js} +10 -5
- package/dist/{chunk-JXGSTBW6.js → chunk-FK6HZYGK.js} +4 -14
- package/dist/{chunk-OSSTOSXU.js → chunk-FTW2E2YH.js} +7 -10
- package/dist/{chunk-5P2L5QXE.js → chunk-FZVCS2XY.js} +4 -2
- package/dist/chunk-G24NSISJ.js +69 -0
- package/dist/{chunk-EBIDNRSR.js → chunk-GFQFLLP3.js} +2 -2
- package/dist/{chunk-RQTDUZUH.js → chunk-GLLYHYGT.js} +27 -17
- package/dist/{chunk-VLC6WNRD.js → chunk-GULGSH2Z.js} +4 -0
- package/dist/{chunk-H5NVCOEJ.js → chunk-GXBH7WNN.js} +2 -2
- package/dist/{chunk-C6G36F5S.js → chunk-H242TVAE.js} +9 -9
- package/dist/{chunk-5XBYLYYI.js → chunk-H7DZYHQF.js} +3 -3
- package/dist/{chunk-GLCMUTO5.js → chunk-HQNZJMNS.js} +1 -1
- package/dist/{chunk-IY62DXT2.js → chunk-IAM3IDL4.js} +2 -2
- package/dist/{chunk-IGJEKO2P.js → chunk-II6D6NWX.js} +8 -8
- package/dist/{chunk-AULZD45V.js → chunk-IUFTAFGN.js} +2 -2
- package/dist/{chunk-FWVE373X.js → chunk-IZEKHIV6.js} +3 -3
- package/dist/{chunk-BQMHJ6OW.js → chunk-J3YM6RA5.js} +22 -14
- package/dist/{chunk-R6EGUTIV.js → chunk-J467QBZF.js} +23 -3
- package/dist/{chunk-JJ7RGTAU.js → chunk-J7JF4QKA.js} +40 -30
- package/dist/{chunk-E7F76M3U.js → chunk-JULBDTNU.js} +61 -9
- package/dist/{chunk-EPDBWATV.js → chunk-K7RRXZHS.js} +4 -2
- package/dist/{chunk-ZECJ7Q6C.js → chunk-KMB754DO.js} +33 -6
- package/dist/chunk-KNKZGRRB.js +439 -0
- package/dist/{chunk-XIUGSUE4.js → chunk-KTGJQJB3.js} +6 -2
- package/dist/{chunk-4SACN2C5.js → chunk-KW3CC7SB.js} +1 -1
- package/dist/{chunk-3GUEYQGL.js → chunk-L3K5O3Z5.js} +3 -3
- package/dist/chunk-LRTSTDJ6.js +126 -0
- package/dist/{chunk-NBAAIRFP.js → chunk-LZATSXAA.js} +5 -2
- package/dist/{chunk-USE6HIOZ.js → chunk-MJ725XHD.js} +1156 -330
- package/dist/{chunk-3KVUFHUJ.js → chunk-NBISN6FH.js} +2 -2
- package/dist/{chunk-RITTLIDJ.js → chunk-NN5RUHXV.js} +84 -16
- package/dist/{chunk-62GLKE6Q.js → chunk-NOZMRPXI.js} +112 -157
- package/dist/{chunk-4XYZJTFO.js → chunk-NQFZ7LXC.js} +14 -6
- package/dist/chunk-NTDWVTEY.js +12 -0
- package/dist/{chunk-BQO24BDM.js → chunk-O3HRF25Z.js} +1 -1
- package/dist/{chunk-ZD3QCNB7.js → chunk-OSSA5UWA.js} +3 -3
- package/dist/{chunk-UOCWYLYT.js → chunk-OZXKW5NA.js} +1 -1
- package/dist/{chunk-NPDVWFAQ.js → chunk-PLQZJZ2K.js} +1 -1
- package/dist/chunk-PRG7NIUU.js +272 -0
- package/dist/{chunk-S4SJ4LLY.js → chunk-PSNRB75I.js} +3 -3
- package/dist/{chunk-QPQWY5RU.js → chunk-PT5VFY3B.js} +38 -14
- package/dist/{chunk-KAO7JL4I.js → chunk-PU5X3P3T.js} +6 -5
- package/dist/{chunk-J7Q4AB23.js → chunk-PZ5LAAO3.js} +2 -2
- package/dist/{chunk-TOHTKLKE.js → chunk-Q5Q5JLRT.js} +1 -1
- package/dist/{chunk-Y3SIQN4J.js → chunk-Q6V342WS.js} +17 -5
- package/dist/{chunk-RBVFNUAL.js → chunk-QDPTOIG7.js} +5 -5
- package/dist/{chunk-ERT7XDQW.js → chunk-QIITSGI5.js} +1 -1
- package/dist/{chunk-NM5V5EKY.js → chunk-QLIZ7SB7.js} +1 -1
- package/dist/chunk-QLNLRZ37.js +181 -0
- package/dist/{chunk-HHVIE45A.js → chunk-QOLRTPGH.js} +6 -6
- package/dist/{chunk-2ZW4NBYX.js → chunk-R4SXMBGF.js} +1 -1
- package/dist/chunk-R4U7IIRX.js +178 -0
- package/dist/{chunk-BRGRIZQB.js → chunk-RC6PISCK.js} +4 -2
- package/dist/{chunk-UIEKW4SG.js → chunk-REKLKGR6.js} +3 -4
- package/dist/{chunk-TIIZIAGS.js → chunk-RFGQDIOI.js} +843 -233
- package/dist/{chunk-FVTYJUXR.js → chunk-ROFSIFSY.js} +4 -4
- package/dist/{chunk-VSAKEMDD.js → chunk-ROH4LYBL.js} +71 -21
- package/dist/{chunk-4UVCTLRH.js → chunk-SNDCXT5R.js} +9 -7
- package/dist/{chunk-R46N5KR4.js → chunk-SQBCNEJB.js} +2 -1
- package/dist/{chunk-66JTY4AN.js → chunk-TDUBTDXS.js} +1 -1
- package/dist/{chunk-PGSGJLUR.js → chunk-TMB4YY3J.js} +34 -4
- package/dist/{chunk-UZ7EZW3B.js → chunk-TO53KK2P.js} +6 -1
- package/dist/{chunk-5KKZXA44.js → chunk-V3ICBS2O.js} +7 -5
- package/dist/{chunk-GWQRTA5W.js → chunk-V65EDV6S.js} +3 -3
- package/dist/{chunk-VF7IKIRS.js → chunk-VKT3BVRO.js} +35 -11
- package/dist/{chunk-L5S32VZJ.js → chunk-VOO65FKC.js} +12 -12
- package/dist/{chunk-PVWIBKV2.js → chunk-VQWLASDC.js} +2 -2
- package/dist/{chunk-JILEYZ2V.js → chunk-VVL2KKG4.js} +1 -1
- package/dist/{chunk-GI5R5B3S.js → chunk-VVZDBUHA.js} +2 -2
- package/dist/{chunk-PGBTUGDB.js → chunk-W46OMHOK.js} +23 -27
- package/dist/{chunk-XCKNFFKM.js → chunk-WH6E6SHC.js} +2 -4
- package/dist/{chunk-H6BT45SN.js → chunk-WPYJAHRP.js} +1 -1
- package/dist/{chunk-LJGE43SG.js → chunk-WXGFB2O2.js} +3 -3
- package/dist/{chunk-YQMIKX54.js → chunk-XCYGOCMS.js} +102 -52
- package/dist/{chunk-BTP2BMWN.js → chunk-XEMCNQQW.js} +15 -15
- package/dist/{chunk-NVZ7R4EK.js → chunk-XMUFXJI2.js} +6 -6
- package/dist/{chunk-AM42TLSZ.js → chunk-XZGXVN4T.js} +5 -5
- package/dist/{chunk-5OTA2PUH.js → chunk-YCIBBVI2.js} +2 -2
- package/dist/{chunk-V2NQV7VL.js → chunk-YFIDR7JH.js} +2 -2
- package/dist/{chunk-USZLHYEQ.js → chunk-YFWIFKRQ.js} +3 -3
- package/dist/{chunk-6XLMTAEX.js → chunk-YIHRLY55.js} +33 -6
- package/dist/{chunk-CYRB2JTN.js → chunk-YLKPRT6U.js} +1 -1
- package/dist/{chunk-KMU65FYM.js → chunk-YSDSFXQD.js} +1 -1
- package/dist/{chunk-ZI6WC24V.js → chunk-ZBJV4KNU.js} +1 -1
- package/dist/{chunk-4EX4OKGZ.js → chunk-ZCKVTZHD.js} +41 -19
- package/dist/{chunk-7PJBJ2DU.js → chunk-ZMVMGZAJ.js} +1 -1
- package/dist/{chunk-6EFCOES2.js → chunk-ZRW4B4KF.js} +48 -14
- package/dist/{chunk-A2A2I4Z4.js → chunk-ZTKO2RD4.js} +5 -5
- package/dist/collapse-6IGH2B24.js +31 -0
- package/dist/{collapse-BSPH3BFM.js → collapse-6X5S2S3G.js} +2 -1
- package/dist/collapse-GOWNCVHZ.js +7 -0
- package/dist/collapse-HNTPLB2Q.js +11 -0
- package/dist/collapse-NUM7DPJA.js +10 -0
- package/dist/completion-registry.js +28 -39
- package/dist/countdown.js +1 -1
- package/dist/dgmo-router-RSYWR5IS.js +101 -0
- package/dist/dimensions-KXAI7U2B.js +21 -0
- package/dist/editor.js +884 -222
- package/dist/{flowchart-parser-J3VWIFWB.js → flowchart-parser-UI5VZNGJ.js} +5 -5
- package/dist/{flowchart-renderer-FECH5KK5.js → flowchart-renderer-IYWPKPCF.js} +18 -18
- package/dist/fold-at-line-DmSAa1eU.d.ts +11 -0
- package/dist/highlight.js +886 -224
- package/dist/index.d.ts +89 -6
- package/dist/index.js +91 -70
- package/dist/{layout-TIBRMWHL.js → layout-6VY3DHYD.js} +6 -6
- package/dist/{layout-5SZ5A64I.js → layout-7C2QZCEZ.js} +10 -10
- package/dist/{layout-2WESJYRE.js → layout-7E7BNOGO.js} +3 -2
- package/dist/layout-BSK374N6.js +11 -0
- package/dist/{layout-RH3N46HP.js → layout-FJDBY3WG.js} +6 -5
- package/dist/{layout-YBMT74MG.js → layout-G3RVKEC4.js} +10 -10
- package/dist/{layout-KV27UW25.js → layout-GC5XX2RH.js} +2 -2
- package/dist/{layout-JTIRCKAW.js → layout-R6ULGQJK.js} +6 -6
- package/dist/{layout-HFBK5UEG.js → layout-ROI5KVSO.js} +3 -3
- package/dist/{layout-3TSVAGWH.js → layout-SPPS225I.js} +3 -3
- package/dist/{layout-HF3PMI4H.js → layout-VTGOYGRC.js} +2 -2
- package/dist/{layout-EWXHEXNS.js → layout-WBH5IHYK.js} +10 -10
- package/dist/layout-WTHBGTH2.js +15 -0
- package/dist/layout-ZCCABSV7.js +15 -0
- package/dist/{layout-search-AWPJWBKT.js → layout-search-DSIDKKQO.js} +8 -8
- package/dist/{legend-constants-55MFBXYF.js → legend-constants-KF3MKWL2.js} +2 -2
- package/dist/{parser-NUU3DVW4.js → parser-3PMYAVFL.js} +2 -2
- package/dist/{parser-KJPPUN4D.js → parser-5KVFS4RN.js} +2 -2
- package/dist/{parser-6TDWUKM5.js → parser-BA43YPIQ.js} +3 -3
- package/dist/{parser-EFF22GYO.js → parser-CFAYEWLF.js} +3 -3
- package/dist/{parser-A3AN76RQ.js → parser-DRFEX6OX.js} +3 -3
- package/dist/{parser-H5OODY5N.js → parser-DWVBRBB2.js} +3 -3
- package/dist/{parser-BJ7RJNUM.js → parser-E4B7HJT2.js} +3 -3
- package/dist/{parser-5UZV32ZI.js → parser-FWQY3HJX.js} +2 -2
- package/dist/{parser-RTWPFKXG.js → parser-GMCXCJSP.js} +3 -3
- package/dist/{parser-NL73FSFI.js → parser-IHFHPFL7.js} +3 -3
- package/dist/{parser-BTSTKY5G.js → parser-IU6425JW.js} +6 -6
- package/dist/{parser-ZRIZFDZY.js → parser-IZYIXDJX.js} +6 -6
- package/dist/{parser-4TBSWULQ.js → parser-JQGUTDSX.js} +3 -3
- package/dist/{parser-TUAEX6ML.js → parser-JRKPOO2Z.js} +3 -3
- package/dist/{parser-KMKVFET2.js → parser-KI2XYB2R.js} +2 -2
- package/dist/parser-LDVVBP7S.js +12 -0
- package/dist/{parser-YG625J5H.js → parser-MAGFK6OK.js} +4 -4
- package/dist/{parser-AR2GON37.js → parser-MH5BDN7X.js} +4 -4
- package/dist/{parser-EAQPZX2B.js → parser-MUHFEM4G.js} +3 -3
- package/dist/{parser-RCIEKN7Y.js → parser-P375HO7Q.js} +2 -2
- package/dist/{parser-GMQJISZ6.js → parser-PYY5BRLQ.js} +2 -2
- package/dist/parser-QEMFMVF5.js +12 -0
- package/dist/{parser-GDLKUBTO.js → parser-QIPDBT5M.js} +2 -2
- package/dist/{parser-BT4NI6JY.js → parser-RNBDDEGL.js} +3 -3
- package/dist/{parser-MA7L3XND.js → parser-RSWZGQA7.js} +6 -6
- package/dist/{parser-K2DI26SC.js → parser-SGX2PVR5.js} +2 -2
- package/dist/{parser-KKF6Y5MM.js → parser-SJUEFKNM.js} +4 -3
- package/dist/{parser-3QIFY5IN.js → parser-UMNBPXG2.js} +2 -2
- package/dist/{parser-F7NDRPMA.js → parser-WE4VSBBY.js} +3 -3
- package/dist/{parser-4Y6PODW6.js → parser-WKEYS7N3.js} +3 -3
- package/dist/{parser-KLCSFQ3J.js → parser-WPXUUNA2.js} +3 -3
- package/dist/{parser-LTRQASGB.js → parser-XP3RCOTN.js} +3 -3
- package/dist/{parser-2IKPQVKX.js → parser-YV4RBHG7.js} +3 -3
- package/dist/{parser-3LT3ZUUC.js → parser-YZ3J542U.js} +2 -2
- package/dist/{redraw-AHW7EUUF.js → redraw-BZ4GI6IC.js} +6 -4
- package/dist/{redraw-STZ4WJAI.js → redraw-LEOXS7C6.js} +3 -3
- package/dist/{renderer-IGSHD3OT.js → renderer-2V5NVI3V.js} +16 -16
- package/dist/renderer-4PKYVOYL.js +39 -0
- package/dist/{renderer-IVHD7ENY.js → renderer-66SCERH7.js} +14 -12
- package/dist/renderer-6IAXRZLK.js +85 -0
- package/dist/{renderer-XCLARXCK.js → renderer-6O5SV5YE.js} +10 -10
- package/dist/{renderer-IXBOT6DU.js → renderer-7OXMSF4R.js} +4 -4
- package/dist/{renderer-AM7P4LN7.js → renderer-A36NL2SS.js} +8 -8
- package/dist/{renderer-ACQQ2JXA.js → renderer-ASPBBACI.js} +13 -11
- package/dist/{renderer-W4MUMXJE.js → renderer-BXVTYE27.js} +7 -6
- package/dist/renderer-CC6O6GQK.js +18 -0
- package/dist/{renderer-Y47EM337.js → renderer-CNDB4JTZ.js} +17 -17
- package/dist/renderer-COV2DXTM.js +41 -0
- package/dist/renderer-DXCATVLO.js +30 -0
- package/dist/{renderer-JYHA6R2D.js → renderer-E5E3OJ42.js} +12 -11
- package/dist/{renderer-DAZWHNLI.js → renderer-E7LC7HCU.js} +5 -5
- package/dist/{renderer-RUSQJFFC.js → renderer-F3JYZERE.js} +4 -4
- package/dist/{renderer-7OGGV327.js → renderer-FAFSRFGR.js} +9 -9
- package/dist/renderer-HIB6LZWZ.js +26 -0
- package/dist/renderer-HLDRRFZB.js +28 -0
- package/dist/renderer-INQMQPNN.js +22 -0
- package/dist/renderer-ITJ67HXO.js +27 -0
- package/dist/{renderer-UTEEJDGB.js → renderer-JLOKFKOZ.js} +14 -13
- package/dist/{renderer-2LYX6NHN.js → renderer-KOPJ76GS.js} +10 -10
- package/dist/{renderer-MWZC7TMD.js → renderer-M2467III.js} +14 -13
- package/dist/{renderer-HX6ICPDX.js → renderer-MYKL6VG6.js} +6 -6
- package/dist/{renderer-BXD5KVSR.js → renderer-S6L3JR6C.js} +11 -11
- package/dist/{renderer-NOYLNVTI.js → renderer-SYWVZ4CY.js} +3 -3
- package/dist/renderer-TCTZZ5Y6.js +32 -0
- package/dist/{renderer-QTPWRRJ7.js → renderer-UIHCYXBY.js} +12 -12
- package/dist/{renderer-36446HSH.js → renderer-WIBVOPRC.js} +6 -4
- package/dist/{renderer-2QPHDBZY.js → renderer-XMJ6XZGL.js} +12 -11
- package/dist/{renderer-TINHO2IO.js → renderer-ZTHXOBXW.js} +8 -8
- package/dist/{renderer-radial-WFUX3Z3C.js → renderer-radial-FC25BDCZ.js} +8 -8
- package/dist/{state-parser-PMNHLHLE.js → state-parser-2PQRH5JE.js} +6 -6
- package/dist/state-renderer-YP6HWLJR.js +43 -0
- package/dist/{themes-DzIH3Hjv.d.ts → themes-DoLdhUXV.d.ts} +1 -1
- package/docs/ai-integration.md +4 -4
- package/docs/language-reference.md +154 -104
- package/gallery/fixtures/swot-relabel.dgmo +19 -0
- package/gallery/fixtures/swot-tags.dgmo +16 -0
- package/gallery/fixtures/swot.dgmo +13 -0
- package/gallery/fixtures/whiteboard.dgmo +1 -0
- package/package.json +1 -1
- package/dist/chunk-6BQSDF77.js +0 -734
- package/dist/chunk-NWSPPGIE.js +0 -60
- package/dist/chunk-R2K5L4UA.js +0 -49
- package/dist/chunk-VBMRZCMQ.js +0 -1465
- package/dist/chunk-WZBZXZ6T.js +0 -636
- package/dist/collapse-TCVK3RPO.js +0 -8
- package/dist/dgmo-router-6YLKM6WU.js +0 -101
- package/dist/dimensions-DS6FWLRY.js +0 -21
- package/dist/layout-D4L44NRG.js +0 -11
- package/dist/layout-MXHR3P35.js +0 -15
- package/dist/layout-ND26WVX2.js +0 -15
- package/dist/layout-VDCJOZSH.js +0 -11
- package/dist/parser-PEZ7RN43.js +0 -14
- package/dist/parser-YHDGKPZI.js +0 -14
- package/dist/renderer-4VGO27EE.js +0 -41
- package/dist/renderer-6BDK47V6.js +0 -30
- package/dist/renderer-ISQJ2ELA.js +0 -25
- package/dist/renderer-KJ3V5BYP.js +0 -26
- package/dist/renderer-O6RP52CQ.js +0 -22
- package/dist/renderer-P3WR7TKD.js +0 -39
- package/dist/renderer-UGW4N2W5.js +0 -28
- package/dist/renderer-WPN2SXGT.js +0 -29
- package/dist/renderer-XDX6S7OV.js +0 -30
- package/dist/renderer-ZV6KCLCL.js +0 -85
- package/dist/state-renderer-JQ5DS66J.js +0 -42
- package/gallery/fixtures/sketch.dgmo +0 -22
package/dist/advanced.js
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
layoutTreemapRadial,
|
|
3
|
+
renderTreemapRadial,
|
|
4
|
+
renderTreemapRadialForExport
|
|
5
|
+
} from "./chunk-XMUFXJI2.js";
|
|
6
|
+
import {
|
|
7
|
+
layoutTreemap,
|
|
8
|
+
renderTreemap,
|
|
9
|
+
renderTreemapForExport
|
|
10
|
+
} from "./chunk-II6D6NWX.js";
|
|
1
11
|
import {
|
|
2
12
|
renderVersionControl,
|
|
3
13
|
renderVersionControlForExport
|
|
4
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YFIDR7JH.js";
|
|
5
15
|
import {
|
|
6
16
|
IMAGE_NOT_UPLOADED,
|
|
7
17
|
WHITEBOARD_CONTAINER_FONT,
|
|
@@ -21,6 +31,9 @@ import {
|
|
|
21
31
|
whiteboardConnectorPaint,
|
|
22
32
|
whiteboardDrawBand,
|
|
23
33
|
whiteboardDrawOrder,
|
|
34
|
+
whiteboardFilePath,
|
|
35
|
+
whiteboardFileWave,
|
|
36
|
+
whiteboardFileWavePoints,
|
|
24
37
|
whiteboardLabelCentreY,
|
|
25
38
|
whiteboardLabelHeight,
|
|
26
39
|
whiteboardLabelPosition,
|
|
@@ -32,50 +45,46 @@ import {
|
|
|
32
45
|
whiteboardShapeContains,
|
|
33
46
|
whiteboardShapeLabel,
|
|
34
47
|
wrapWhiteboardLabel
|
|
35
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JULBDTNU.js";
|
|
36
49
|
import {
|
|
37
50
|
layoutWireframe
|
|
38
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HQNZJMNS.js";
|
|
39
52
|
import {
|
|
40
53
|
renderWireframe
|
|
41
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-Q6V342WS.js";
|
|
55
|
+
import {
|
|
56
|
+
applyGroupOrdering,
|
|
57
|
+
applyPositionOverrides,
|
|
58
|
+
buildNoteMessageMap,
|
|
59
|
+
buildRenderSequence,
|
|
60
|
+
computeActivations,
|
|
61
|
+
groupMessagesBySection,
|
|
62
|
+
renderSequenceDiagram
|
|
63
|
+
} from "./chunk-NOZMRPXI.js";
|
|
64
|
+
import {
|
|
65
|
+
applyCollapseProjection,
|
|
66
|
+
collapsedSequenceNoteLinesFromSource,
|
|
67
|
+
collapsedSequenceSectionLinesFromSource,
|
|
68
|
+
isFoldableSequenceNote,
|
|
69
|
+
unionCollapsedSequenceNotes
|
|
70
|
+
} from "./chunk-R4U7IIRX.js";
|
|
71
|
+
import {
|
|
72
|
+
layoutSitemap
|
|
73
|
+
} from "./chunk-NQFZ7LXC.js";
|
|
74
|
+
import {
|
|
75
|
+
collapseSitemapTree,
|
|
76
|
+
unionCollapsedSitemapNodes
|
|
77
|
+
} from "./chunk-A3V72YIL.js";
|
|
42
78
|
import {
|
|
43
79
|
renderSitemap,
|
|
44
80
|
renderSitemapForExport
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import {
|
|
47
|
-
SKETCH_AUTO_LAYOUT_DEFAULTS,
|
|
48
|
-
SKETCH_FOOT_H,
|
|
49
|
-
SKETCH_FOOT_W,
|
|
50
|
-
SKETCH_GEOMETRY,
|
|
51
|
-
SKETCH_HALF_SLOT_X,
|
|
52
|
-
SKETCH_HALF_SLOT_Y,
|
|
53
|
-
SKETCH_SEP,
|
|
54
|
-
SKETCH_SLOT_X,
|
|
55
|
-
SKETCH_SLOT_Y,
|
|
56
|
-
collapseSketch,
|
|
57
|
-
layoutSketch,
|
|
58
|
-
sketchSlotToPx
|
|
59
|
-
} from "./chunk-6BQSDF77.js";
|
|
60
|
-
import {
|
|
61
|
-
CONTAINER_FILL_OPACITY,
|
|
62
|
-
CONTAINER_STROKE_OPACITY,
|
|
63
|
-
CONTAINER_STROKE_WIDTH,
|
|
64
|
-
SKETCH_VISUALS,
|
|
65
|
-
renderSketch,
|
|
66
|
-
renderSketchForExport,
|
|
67
|
-
sketchColors,
|
|
68
|
-
sketchContainerFill,
|
|
69
|
-
sketchEdgeGeometry,
|
|
70
|
-
sketchLabelSpot,
|
|
71
|
-
sketchNeutralFill
|
|
72
|
-
} from "./chunk-VBMRZCMQ.js";
|
|
81
|
+
} from "./chunk-J7JF4QKA.js";
|
|
73
82
|
import {
|
|
74
83
|
layoutSwimlane
|
|
75
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-QIITSGI5.js";
|
|
76
85
|
import {
|
|
77
86
|
renderSwimlaneForExport
|
|
78
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ROFSIFSY.js";
|
|
79
88
|
import {
|
|
80
89
|
computeRadarLayout,
|
|
81
90
|
getRadarGeometry,
|
|
@@ -83,126 +92,110 @@ import {
|
|
|
83
92
|
renderQuadrantFocusForExport,
|
|
84
93
|
renderTechRadar,
|
|
85
94
|
renderTechRadarForExport
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import {
|
|
88
|
-
layoutTreemapRadial,
|
|
89
|
-
renderTreemapRadial,
|
|
90
|
-
renderTreemapRadialForExport
|
|
91
|
-
} from "./chunk-NVZ7R4EK.js";
|
|
95
|
+
} from "./chunk-QDPTOIG7.js";
|
|
92
96
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
} from "./chunk-IGJEKO2P.js";
|
|
97
|
+
renderOrg,
|
|
98
|
+
renderOrgForExport
|
|
99
|
+
} from "./chunk-W46OMHOK.js";
|
|
97
100
|
import {
|
|
98
101
|
measurePertAnalysisBlock,
|
|
99
102
|
renderPert,
|
|
100
103
|
renderPertAnalysisBlock,
|
|
101
104
|
renderPertForExport
|
|
102
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-6SDEXSJY.js";
|
|
106
|
+
import {
|
|
107
|
+
analyzePert,
|
|
108
|
+
buildSimulationContext,
|
|
109
|
+
mulberry32,
|
|
110
|
+
sampleBetaPert,
|
|
111
|
+
simulateCanonical,
|
|
112
|
+
simulateFast
|
|
113
|
+
} from "./chunk-FOTH2WWP.js";
|
|
103
114
|
import {
|
|
104
115
|
layoutPert,
|
|
105
116
|
relayoutPert
|
|
106
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-LZATSXAA.js";
|
|
107
118
|
import {
|
|
108
119
|
renderPyramid,
|
|
109
120
|
renderPyramidForExport
|
|
110
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-7QKWU7FX.js";
|
|
111
122
|
import {
|
|
123
|
+
collapsedRaciPhasesFromSource,
|
|
112
124
|
renderRaci,
|
|
113
125
|
renderRaciForExport
|
|
114
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-2SZILMQT.js";
|
|
127
|
+
import {
|
|
128
|
+
renderSwot
|
|
129
|
+
} from "./chunk-PRG7NIUU.js";
|
|
115
130
|
import {
|
|
116
131
|
renderRing,
|
|
117
132
|
renderRingForExport
|
|
118
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-V65EDV6S.js";
|
|
119
134
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
applyPositionOverrides,
|
|
123
|
-
buildNoteMessageMap,
|
|
124
|
-
buildRenderSequence,
|
|
125
|
-
computeActivations,
|
|
126
|
-
groupMessagesBySection,
|
|
127
|
-
renderSequenceDiagram
|
|
128
|
-
} from "./chunk-62GLKE6Q.js";
|
|
129
|
-
import {
|
|
130
|
-
layoutSitemap
|
|
131
|
-
} from "./chunk-4XYZJTFO.js";
|
|
135
|
+
resolveMap
|
|
136
|
+
} from "./chunk-STFWGASB.js";
|
|
132
137
|
import {
|
|
133
|
-
|
|
134
|
-
|
|
138
|
+
renderMap,
|
|
139
|
+
renderMapForExport,
|
|
140
|
+
renderMapLayout
|
|
141
|
+
} from "./chunk-QOLRTPGH.js";
|
|
135
142
|
import {
|
|
136
143
|
mapContentAspect,
|
|
137
144
|
mapExportDimensions
|
|
138
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-47INRTZ6.js";
|
|
146
|
+
import {
|
|
147
|
+
albersSkewFallback,
|
|
148
|
+
layoutMap,
|
|
149
|
+
mapBackgroundColor,
|
|
150
|
+
mapNeutralLandColor,
|
|
151
|
+
rebuildMapProjection
|
|
152
|
+
} from "./chunk-XZGXVN4T.js";
|
|
153
|
+
import {
|
|
154
|
+
decodeFeatures,
|
|
155
|
+
regionAt
|
|
156
|
+
} from "./chunk-AXLF3KRE.js";
|
|
139
157
|
import {
|
|
140
158
|
collapseMindmapTree
|
|
141
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-TO53KK2P.js";
|
|
142
160
|
import {
|
|
143
161
|
renderMindmap,
|
|
144
162
|
renderMindmapForExport
|
|
145
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-GLLYHYGT.js";
|
|
146
164
|
import {
|
|
147
165
|
layoutMindmap
|
|
148
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-J3YM6RA5.js";
|
|
167
|
+
import {
|
|
168
|
+
layoutOrg
|
|
169
|
+
} from "./chunk-ZTKO2RD4.js";
|
|
149
170
|
import {
|
|
150
171
|
collapseOrgTree,
|
|
151
172
|
focusOrgTree
|
|
152
173
|
} from "./chunk-FX2USYOU.js";
|
|
153
174
|
import "./chunk-BS7SV7C3.js";
|
|
154
|
-
import {
|
|
155
|
-
renderOrg,
|
|
156
|
-
renderOrgForExport
|
|
157
|
-
} from "./chunk-PGBTUGDB.js";
|
|
158
|
-
import {
|
|
159
|
-
layoutOrg
|
|
160
|
-
} from "./chunk-A2A2I4Z4.js";
|
|
161
|
-
import {
|
|
162
|
-
analyzePert,
|
|
163
|
-
buildSimulationContext,
|
|
164
|
-
mulberry32,
|
|
165
|
-
sampleBetaPert,
|
|
166
|
-
simulateCanonical,
|
|
167
|
-
simulateFast
|
|
168
|
-
} from "./chunk-FOTH2WWP.js";
|
|
169
175
|
import {
|
|
170
176
|
renderLiveLinkCard
|
|
171
|
-
} from "./chunk-
|
|
172
|
-
import {
|
|
173
|
-
resolveMap
|
|
174
|
-
} from "./chunk-STFWGASB.js";
|
|
175
|
-
import {
|
|
176
|
-
renderMap,
|
|
177
|
-
renderMapForExport,
|
|
178
|
-
renderMapLayout
|
|
179
|
-
} from "./chunk-HHVIE45A.js";
|
|
180
|
-
import {
|
|
181
|
-
albersSkewFallback,
|
|
182
|
-
layoutMap,
|
|
183
|
-
mapBackgroundColor,
|
|
184
|
-
mapNeutralLandColor,
|
|
185
|
-
rebuildMapProjection
|
|
186
|
-
} from "./chunk-AM42TLSZ.js";
|
|
187
|
-
import {
|
|
188
|
-
decodeFeatures,
|
|
189
|
-
regionAt
|
|
190
|
-
} from "./chunk-AXLF3KRE.js";
|
|
177
|
+
} from "./chunk-7RACGVUY.js";
|
|
191
178
|
import {
|
|
192
179
|
renderJourneyMap,
|
|
193
180
|
renderJourneyMapForExport
|
|
194
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-VKT3BVRO.js";
|
|
182
|
+
import {
|
|
183
|
+
collapsedJourneyPhasesFromSource
|
|
184
|
+
} from "./chunk-NTDWVTEY.js";
|
|
185
|
+
import {
|
|
186
|
+
layoutJourneyMap
|
|
187
|
+
} from "./chunk-GFQFLLP3.js";
|
|
195
188
|
import {
|
|
196
189
|
computeCardArchive,
|
|
197
190
|
computeCardMove,
|
|
198
191
|
isArchiveColumn,
|
|
199
192
|
renderKanban,
|
|
200
193
|
renderKanbanForExport
|
|
201
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-NN5RUHXV.js";
|
|
202
195
|
import {
|
|
203
196
|
renderState,
|
|
204
197
|
renderStateForExport
|
|
205
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-D7KZE2XJ.js";
|
|
206
199
|
import {
|
|
207
200
|
collapseStateGroups
|
|
208
201
|
} from "./chunk-SQ7IY53Q.js";
|
|
@@ -212,64 +205,64 @@ import {
|
|
|
212
205
|
inferRoles,
|
|
213
206
|
parseAndLayoutInfra,
|
|
214
207
|
renderInfra
|
|
215
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-ZCKVTZHD.js";
|
|
216
209
|
import {
|
|
217
210
|
computeInfra
|
|
218
211
|
} from "./chunk-EQJ3U5EW.js";
|
|
219
212
|
import {
|
|
220
213
|
layoutInfra
|
|
221
|
-
} from "./chunk-
|
|
222
|
-
import {
|
|
223
|
-
layoutJourneyMap
|
|
224
|
-
} from "./chunk-EBIDNRSR.js";
|
|
214
|
+
} from "./chunk-FZVCS2XY.js";
|
|
225
215
|
import {
|
|
226
216
|
calculateSchedule,
|
|
227
217
|
collectTasks,
|
|
228
218
|
resolveTaskName
|
|
229
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-TDUBTDXS.js";
|
|
230
220
|
import {
|
|
231
221
|
buildTagLaneRowList,
|
|
232
222
|
renderGantt
|
|
233
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-3HL6NSSQ.js";
|
|
234
224
|
import {
|
|
235
225
|
renderGoal,
|
|
236
226
|
renderGoalForExport
|
|
237
|
-
} from "./chunk-
|
|
238
|
-
import "./chunk-
|
|
227
|
+
} from "./chunk-IZEKHIV6.js";
|
|
228
|
+
import "./chunk-5TGZBHEJ.js";
|
|
239
229
|
import {
|
|
240
230
|
renderFlowchart,
|
|
241
231
|
renderFlowchartForExport
|
|
242
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-44RLIAYC.js";
|
|
243
233
|
import "./chunk-26EVL454.js";
|
|
244
234
|
import {
|
|
245
235
|
layoutGraph
|
|
246
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-6S2H6EKN.js";
|
|
247
237
|
import {
|
|
248
238
|
renderERDiagram,
|
|
249
239
|
renderERDiagramForExport
|
|
250
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-6YBZFOTA.js";
|
|
251
241
|
import {
|
|
252
242
|
layoutERDiagram
|
|
253
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-F2OAZHOX.js";
|
|
254
244
|
import {
|
|
255
245
|
clearEventLineMuted,
|
|
256
246
|
focusEventLine,
|
|
257
247
|
renderEventLine,
|
|
258
248
|
renderEventLineForExport
|
|
259
|
-
} from "./chunk-
|
|
260
|
-
import "./chunk-R2K5L4UA.js";
|
|
249
|
+
} from "./chunk-ZRW4B4KF.js";
|
|
261
250
|
import {
|
|
262
251
|
layoutFamily
|
|
263
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-GXBH7WNN.js";
|
|
264
253
|
import {
|
|
265
254
|
renderFamily,
|
|
266
255
|
renderFamilyForExport
|
|
267
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-H242TVAE.js";
|
|
268
257
|
import "./chunk-IVKC4GID.js";
|
|
269
258
|
import {
|
|
270
259
|
renderClassDiagram,
|
|
271
260
|
renderClassDiagramForExport
|
|
272
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-VOO65FKC.js";
|
|
262
|
+
import {
|
|
263
|
+
layoutClassDiagram
|
|
264
|
+
} from "./chunk-A5LFM62B.js";
|
|
265
|
+
import "./chunk-7ASVGFW3.js";
|
|
273
266
|
import {
|
|
274
267
|
renderClock,
|
|
275
268
|
renderClockForExport
|
|
@@ -283,11 +276,15 @@ import {
|
|
|
283
276
|
computeCycleLayout,
|
|
284
277
|
renderCycle,
|
|
285
278
|
renderCycleForExport
|
|
286
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-FTW2E2YH.js";
|
|
280
|
+
import {
|
|
281
|
+
collapseBoxesAndLines,
|
|
282
|
+
collapsedBLGroupsFromSource
|
|
283
|
+
} from "./chunk-G24NSISJ.js";
|
|
287
284
|
import {
|
|
288
285
|
renderBracket,
|
|
289
286
|
renderBracketForExport
|
|
290
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-E6GHXMH2.js";
|
|
291
288
|
import {
|
|
292
289
|
renderC4ComponentsForExport,
|
|
293
290
|
renderC4Containers,
|
|
@@ -296,43 +293,40 @@ import {
|
|
|
296
293
|
renderC4ContextForExport,
|
|
297
294
|
renderC4Deployment,
|
|
298
295
|
renderC4DeploymentForExport
|
|
299
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-74XR7Z3I.js";
|
|
300
297
|
import {
|
|
301
298
|
CYLINDER_RY,
|
|
299
|
+
FILE_WAVE,
|
|
302
300
|
QUEUE_CAP,
|
|
303
301
|
layoutC4Components,
|
|
304
302
|
layoutC4Containers,
|
|
305
303
|
layoutC4Context,
|
|
306
304
|
layoutC4Deployment,
|
|
307
305
|
rollUpContextRelationships
|
|
308
|
-
} from "./chunk-
|
|
309
|
-
import {
|
|
310
|
-
layoutClassDiagram
|
|
311
|
-
} from "./chunk-BCV2VJTM.js";
|
|
312
|
-
import "./chunk-2J2CWWWK.js";
|
|
306
|
+
} from "./chunk-V3ICBS2O.js";
|
|
313
307
|
import {
|
|
314
308
|
authoredCollapsedIds,
|
|
315
309
|
layoutBlock,
|
|
316
310
|
renderBlock,
|
|
317
311
|
renderBlockForExport
|
|
318
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-PT5VFY3B.js";
|
|
319
313
|
import {
|
|
320
314
|
renderBody,
|
|
321
315
|
renderBodyForExport
|
|
322
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-OSSA5UWA.js";
|
|
323
317
|
import {
|
|
324
318
|
renderBoxesAndLines,
|
|
325
319
|
renderBoxesAndLinesForExport
|
|
326
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-DRY4W4W6.js";
|
|
327
321
|
import "./chunk-B5DHFFZP.js";
|
|
328
322
|
import "./chunk-XBJJP2HN.js";
|
|
329
|
-
import "./chunk-
|
|
330
|
-
import "./chunk-
|
|
323
|
+
import "./chunk-7TEAFIEJ.js";
|
|
324
|
+
import "./chunk-C6ME2L4T.js";
|
|
331
325
|
import {
|
|
332
326
|
layoutBoxesAndLines
|
|
333
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-CUOMNKYW.js";
|
|
334
328
|
import "./chunk-WTTIODDV.js";
|
|
335
|
-
import "./chunk-
|
|
329
|
+
import "./chunk-4NMRS6HW.js";
|
|
336
330
|
import {
|
|
337
331
|
completeMapPlaces,
|
|
338
332
|
completeMapRegions,
|
|
@@ -341,6 +335,8 @@ import {
|
|
|
341
335
|
} from "./chunk-SQAG3UXH.js";
|
|
342
336
|
import {
|
|
343
337
|
DEFAULT_DIM_OPACITY,
|
|
338
|
+
collapsedPertGroupIdsFromSource,
|
|
339
|
+
hoverCssFor,
|
|
344
340
|
orderArcNodes,
|
|
345
341
|
render,
|
|
346
342
|
renderArcDiagram,
|
|
@@ -349,12 +345,14 @@ import {
|
|
|
349
345
|
renderSlopeChart,
|
|
350
346
|
renderVenn,
|
|
351
347
|
renderWordCloud
|
|
352
|
-
} from "./chunk-
|
|
348
|
+
} from "./chunk-MJ725XHD.js";
|
|
353
349
|
import {
|
|
354
350
|
renderLegendSvg,
|
|
355
351
|
renderLegendSvgFromConfig
|
|
356
|
-
} from "./chunk-
|
|
357
|
-
import "./chunk-
|
|
352
|
+
} from "./chunk-XCYGOCMS.js";
|
|
353
|
+
import "./chunk-6K2W3FH7.js";
|
|
354
|
+
import "./chunk-YSDSFXQD.js";
|
|
355
|
+
import "./chunk-YFWIFKRQ.js";
|
|
358
356
|
import {
|
|
359
357
|
CHART_TYPE_DESCRIPTIONS,
|
|
360
358
|
chartTypeParsers,
|
|
@@ -364,40 +362,41 @@ import {
|
|
|
364
362
|
knownChartTypeIds,
|
|
365
363
|
parseDgmo,
|
|
366
364
|
parseVisualization
|
|
367
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-2FMOLWX4.js";
|
|
368
366
|
import {
|
|
369
367
|
getExtendedChartLegendGroups,
|
|
370
368
|
getSimpleChartLegendGroups,
|
|
371
369
|
parseChart,
|
|
372
370
|
parseDataRowValues,
|
|
373
371
|
parseExtendedChart
|
|
374
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-WPYJAHRP.js";
|
|
373
|
+
import "./chunk-EOYPX6SF.js";
|
|
374
|
+
import {
|
|
375
|
+
parseTechRadar
|
|
376
|
+
} from "./chunk-DKMZ4VMV.js";
|
|
375
377
|
import {
|
|
376
378
|
parsePyramid
|
|
377
|
-
} from "./chunk-
|
|
379
|
+
} from "./chunk-CGP7RGLJ.js";
|
|
378
380
|
import {
|
|
379
381
|
parseRing
|
|
380
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-QLIZ7SB7.js";
|
|
381
383
|
import {
|
|
382
384
|
parseTreemap
|
|
383
|
-
} from "./chunk-
|
|
384
|
-
import
|
|
385
|
-
|
|
385
|
+
} from "./chunk-NBISN6FH.js";
|
|
386
|
+
import {
|
|
387
|
+
parseSwot
|
|
388
|
+
} from "./chunk-KNKZGRRB.js";
|
|
386
389
|
import {
|
|
387
390
|
parseVersionControl
|
|
388
|
-
} from "./chunk-
|
|
391
|
+
} from "./chunk-R4SXMBGF.js";
|
|
389
392
|
import {
|
|
390
393
|
looksLikeMap,
|
|
391
394
|
parseMap
|
|
392
|
-
} from "./chunk-
|
|
393
|
-
import {
|
|
394
|
-
parseSketch
|
|
395
|
-
} from "./chunk-WZBZXZ6T.js";
|
|
396
|
-
import "./chunk-NWSPPGIE.js";
|
|
395
|
+
} from "./chunk-IUFTAFGN.js";
|
|
397
396
|
import {
|
|
398
397
|
isWhiteboardImageRef,
|
|
399
398
|
parseWhiteboard
|
|
400
|
-
} from "./chunk-
|
|
399
|
+
} from "./chunk-AULFF7L2.js";
|
|
401
400
|
import {
|
|
402
401
|
WHITEBOARD_COLORS,
|
|
403
402
|
WHITEBOARD_ELEMENT_KEYWORDS,
|
|
@@ -411,61 +410,59 @@ import {
|
|
|
411
410
|
WHITEBOARD_STROKE_STYLES,
|
|
412
411
|
isWhiteboardColor,
|
|
413
412
|
isWhiteboardShapeKind
|
|
414
|
-
} from "./chunk-
|
|
413
|
+
} from "./chunk-SQBCNEJB.js";
|
|
415
414
|
import {
|
|
416
415
|
parseSwimlane
|
|
417
|
-
} from "./chunk-
|
|
416
|
+
} from "./chunk-PZ5LAAO3.js";
|
|
418
417
|
import {
|
|
419
418
|
parseMindmap
|
|
420
|
-
} from "./chunk-
|
|
421
|
-
import
|
|
422
|
-
parseTechRadar
|
|
423
|
-
} from "./chunk-EBVVMUAA.js";
|
|
419
|
+
} from "./chunk-KTGJQJB3.js";
|
|
420
|
+
import "./chunk-35A3J4Z5.js";
|
|
424
421
|
import {
|
|
425
422
|
parseKanban
|
|
426
|
-
} from "./chunk-
|
|
423
|
+
} from "./chunk-B7ZH5EQ2.js";
|
|
427
424
|
import {
|
|
428
425
|
INFRA_BEHAVIOR_KEYS,
|
|
429
426
|
extractSymbols as extractSymbols4,
|
|
430
427
|
parseInfra
|
|
431
|
-
} from "./chunk-
|
|
428
|
+
} from "./chunk-3C4OXVZJ.js";
|
|
432
429
|
import {
|
|
433
430
|
parseJourneyMap
|
|
434
|
-
} from "./chunk-
|
|
431
|
+
} from "./chunk-TMB4YY3J.js";
|
|
432
|
+
import {
|
|
433
|
+
parseGantt
|
|
434
|
+
} from "./chunk-VQWLASDC.js";
|
|
435
435
|
import {
|
|
436
436
|
parseGoal
|
|
437
|
-
} from "./chunk-
|
|
438
|
-
import "./chunk-
|
|
437
|
+
} from "./chunk-ZMVMGZAJ.js";
|
|
438
|
+
import "./chunk-K7RRXZHS.js";
|
|
439
439
|
import {
|
|
440
440
|
parseEventLine
|
|
441
|
-
} from "./chunk-
|
|
441
|
+
} from "./chunk-L3K5O3Z5.js";
|
|
442
442
|
import {
|
|
443
443
|
formatDateLabel,
|
|
444
444
|
renderTimeline
|
|
445
|
-
} from "./chunk-
|
|
446
|
-
import "./chunk-
|
|
445
|
+
} from "./chunk-EEIGHOJR.js";
|
|
446
|
+
import "./chunk-YIHRLY55.js";
|
|
447
447
|
import {
|
|
448
448
|
computeTimeTicks
|
|
449
|
-
} from "./chunk-
|
|
449
|
+
} from "./chunk-D67YE4LR.js";
|
|
450
450
|
import {
|
|
451
451
|
addDurationToDate,
|
|
452
452
|
parseTimelineDate
|
|
453
|
-
} from "./chunk-
|
|
453
|
+
} from "./chunk-O3HRF25Z.js";
|
|
454
454
|
import {
|
|
455
455
|
parseFamily
|
|
456
|
-
} from "./chunk-
|
|
456
|
+
} from "./chunk-J467QBZF.js";
|
|
457
457
|
import "./chunk-QQJUTGQH.js";
|
|
458
458
|
import "./chunk-2CW5ZTNH.js";
|
|
459
|
-
import
|
|
460
|
-
parseGantt
|
|
461
|
-
} from "./chunk-PVWIBKV2.js";
|
|
462
|
-
import "./chunk-TOHTKLKE.js";
|
|
459
|
+
import "./chunk-Q5Q5JLRT.js";
|
|
463
460
|
import {
|
|
464
461
|
normalizePlace,
|
|
465
462
|
parseClock,
|
|
466
463
|
resolvePlace,
|
|
467
464
|
searchZones
|
|
468
|
-
} from "./chunk-
|
|
465
|
+
} from "./chunk-6OUMYNAJ.js";
|
|
469
466
|
import {
|
|
470
467
|
fixedParts,
|
|
471
468
|
fixedTimeCells,
|
|
@@ -481,7 +478,7 @@ import {
|
|
|
481
478
|
import {
|
|
482
479
|
parseCountdown,
|
|
483
480
|
targetToMs as targetToMs2
|
|
484
|
-
} from "./chunk-
|
|
481
|
+
} from "./chunk-EBJLT7PH.js";
|
|
485
482
|
import {
|
|
486
483
|
applyOrdinalTemplate,
|
|
487
484
|
dayDelta,
|
|
@@ -503,47 +500,50 @@ import {
|
|
|
503
500
|
} from "./chunk-3DPOIW3W.js";
|
|
504
501
|
import {
|
|
505
502
|
parseCycle
|
|
506
|
-
} from "./chunk-
|
|
503
|
+
} from "./chunk-PLQZJZ2K.js";
|
|
507
504
|
import {
|
|
508
505
|
parseBracket
|
|
509
|
-
} from "./chunk-
|
|
506
|
+
} from "./chunk-3IUMSK72.js";
|
|
510
507
|
import {
|
|
511
508
|
layoutBracket
|
|
512
|
-
} from "./chunk-
|
|
513
|
-
import "./chunk-
|
|
509
|
+
} from "./chunk-ZBJV4KNU.js";
|
|
510
|
+
import "./chunk-YLKPRT6U.js";
|
|
514
511
|
import {
|
|
515
512
|
parseC4
|
|
516
|
-
} from "./chunk-
|
|
513
|
+
} from "./chunk-5WZYJC2P.js";
|
|
517
514
|
import {
|
|
518
515
|
parseBlock
|
|
519
|
-
} from "./chunk-
|
|
516
|
+
} from "./chunk-RC6PISCK.js";
|
|
520
517
|
import "./chunk-XSVWUOUZ.js";
|
|
521
518
|
import {
|
|
522
519
|
parseBody
|
|
523
|
-
} from "./chunk-
|
|
524
|
-
import "./chunk-
|
|
520
|
+
} from "./chunk-FK6HZYGK.js";
|
|
521
|
+
import "./chunk-453IWXZ3.js";
|
|
525
522
|
import {
|
|
526
523
|
parseBoxesAndLines
|
|
527
|
-
} from "./chunk-
|
|
524
|
+
} from "./chunk-SNDCXT5R.js";
|
|
528
525
|
import {
|
|
529
526
|
ScaleContext
|
|
530
527
|
} from "./chunk-24YPR5EH.js";
|
|
531
|
-
import
|
|
532
|
-
|
|
533
|
-
|
|
528
|
+
import {
|
|
529
|
+
toggleCueCss
|
|
530
|
+
} from "./chunk-LRTSTDJ6.js";
|
|
531
|
+
import "./chunk-REKLKGR6.js";
|
|
532
|
+
import "./chunk-GULGSH2Z.js";
|
|
533
|
+
import "./chunk-WH6E6SHC.js";
|
|
534
534
|
import {
|
|
535
535
|
renderLegendD3
|
|
536
|
-
} from "./chunk-
|
|
536
|
+
} from "./chunk-DFEVFLEG.js";
|
|
537
537
|
import {
|
|
538
538
|
computeLegendLayout,
|
|
539
539
|
controlsGroupCapsuleWidth,
|
|
540
540
|
getLegendReservedHeight,
|
|
541
541
|
legendEntryWidth
|
|
542
|
-
} from "./chunk-
|
|
542
|
+
} from "./chunk-VVL2KKG4.js";
|
|
543
543
|
import {
|
|
544
544
|
normalizePertSourceForShare,
|
|
545
545
|
resolveOrgImports
|
|
546
|
-
} from "./chunk-
|
|
546
|
+
} from "./chunk-EUPUVYWO.js";
|
|
547
547
|
import {
|
|
548
548
|
decodeDiagramUrl,
|
|
549
549
|
decodeViewState,
|
|
@@ -552,56 +552,56 @@ import {
|
|
|
552
552
|
} from "./chunk-6OSGENN5.js";
|
|
553
553
|
import {
|
|
554
554
|
parseDgmoChartType
|
|
555
|
-
} from "./chunk-
|
|
555
|
+
} from "./chunk-XEMCNQQW.js";
|
|
556
556
|
import {
|
|
557
557
|
allTasks,
|
|
558
558
|
parseRaci
|
|
559
|
-
} from "./chunk-
|
|
559
|
+
} from "./chunk-6PUBFB6D.js";
|
|
560
|
+
import {
|
|
561
|
+
looksLikeSitemap,
|
|
562
|
+
parseSitemap
|
|
563
|
+
} from "./chunk-KMB754DO.js";
|
|
564
|
+
import {
|
|
565
|
+
extractPertSymbols,
|
|
566
|
+
looksLikePert,
|
|
567
|
+
parsePert
|
|
568
|
+
} from "./chunk-CUTEHGXO.js";
|
|
569
|
+
import "./chunk-2SKMEL7V.js";
|
|
560
570
|
import {
|
|
561
571
|
parseLiveLink
|
|
562
|
-
} from "./chunk-
|
|
572
|
+
} from "./chunk-65JFUANT.js";
|
|
563
573
|
import {
|
|
564
574
|
isSequenceBlock,
|
|
565
575
|
isSequenceNote,
|
|
566
576
|
looksLikeSequence,
|
|
567
577
|
parseSequenceDgmo
|
|
568
|
-
} from "./chunk-
|
|
578
|
+
} from "./chunk-ROH4LYBL.js";
|
|
569
579
|
import {
|
|
570
580
|
findOrgNodeIdByName,
|
|
571
581
|
parseOrg
|
|
572
|
-
} from "./chunk-
|
|
582
|
+
} from "./chunk-YCIBBVI2.js";
|
|
573
583
|
import {
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
} from "./chunk-
|
|
577
|
-
import
|
|
578
|
-
extractPertSymbols,
|
|
579
|
-
looksLikePert,
|
|
580
|
-
parsePert
|
|
581
|
-
} from "./chunk-CDM6XMOT.js";
|
|
582
|
-
import "./chunk-2SKMEL7V.js";
|
|
584
|
+
looksLikeState,
|
|
585
|
+
parseState
|
|
586
|
+
} from "./chunk-WXGFB2O2.js";
|
|
587
|
+
import "./chunk-EQW6HOP4.js";
|
|
583
588
|
import {
|
|
584
589
|
extractSymbols as extractSymbols3,
|
|
585
590
|
looksLikeFlowchart,
|
|
586
591
|
parseFlowchart
|
|
587
|
-
} from "./chunk-
|
|
592
|
+
} from "./chunk-IAM3IDL4.js";
|
|
588
593
|
import "./chunk-TIVMAITN.js";
|
|
589
|
-
import {
|
|
590
|
-
looksLikeState,
|
|
591
|
-
parseState
|
|
592
|
-
} from "./chunk-LJGE43SG.js";
|
|
593
594
|
import "./chunk-NXMESY4J.js";
|
|
594
|
-
import
|
|
595
|
+
import {
|
|
596
|
+
extractSymbols as extractSymbols2,
|
|
597
|
+
looksLikeERDiagram,
|
|
598
|
+
parseERDiagram
|
|
599
|
+
} from "./chunk-PSNRB75I.js";
|
|
595
600
|
import "./chunk-MKSTL6DR.js";
|
|
596
601
|
import {
|
|
597
602
|
choosePalette,
|
|
598
603
|
extractPaletteDirective
|
|
599
604
|
} from "./chunk-CYTFO2LF.js";
|
|
600
|
-
import {
|
|
601
|
-
extractSymbols as extractSymbols2,
|
|
602
|
-
looksLikeERDiagram,
|
|
603
|
-
parseERDiagram
|
|
604
|
-
} from "./chunk-S4SJ4LLY.js";
|
|
605
605
|
import {
|
|
606
606
|
RULE_COUNT,
|
|
607
607
|
inferParticipantType
|
|
@@ -611,7 +611,7 @@ import {
|
|
|
611
611
|
extractSymbols,
|
|
612
612
|
looksLikeClassDiagram,
|
|
613
613
|
parseClassDiagram
|
|
614
|
-
} from "./chunk-
|
|
614
|
+
} from "./chunk-H7DZYHQF.js";
|
|
615
615
|
import {
|
|
616
616
|
palettes
|
|
617
617
|
} from "./chunk-GXCDD6NG.js";
|
|
@@ -634,13 +634,13 @@ import {
|
|
|
634
634
|
parseInArrowLabel,
|
|
635
635
|
validateLabelCharacters
|
|
636
636
|
} from "./chunk-N7VMGZCU.js";
|
|
637
|
-
import "./chunk-
|
|
637
|
+
import "./chunk-4TK26YHH.js";
|
|
638
638
|
import {
|
|
639
639
|
displayName,
|
|
640
640
|
getOrCreateName,
|
|
641
641
|
normalizeName
|
|
642
642
|
} from "./chunk-NOTA6TEI.js";
|
|
643
|
-
import "./chunk-
|
|
643
|
+
import "./chunk-CLW45YKE.js";
|
|
644
644
|
import "./chunk-7WEYXYLC.js";
|
|
645
645
|
import {
|
|
646
646
|
parseInlineMarkdown,
|
|
@@ -652,7 +652,7 @@ import {
|
|
|
652
652
|
} from "./chunk-ICLB27PZ.js";
|
|
653
653
|
import {
|
|
654
654
|
parseWireframe
|
|
655
|
-
} from "./chunk-
|
|
655
|
+
} from "./chunk-VVZDBUHA.js";
|
|
656
656
|
import {
|
|
657
657
|
RACI_ERROR_CODES,
|
|
658
658
|
RACI_WARNING_CODES,
|
|
@@ -665,13 +665,13 @@ import {
|
|
|
665
665
|
resolveTagColor,
|
|
666
666
|
resolveTagValue,
|
|
667
667
|
tagAttrKey
|
|
668
|
-
} from "./chunk-
|
|
668
|
+
} from "./chunk-KW3CC7SB.js";
|
|
669
669
|
import {
|
|
670
670
|
ALL_CHART_TYPES,
|
|
671
671
|
chartTypes,
|
|
672
672
|
measureIndent,
|
|
673
673
|
parseFirstLine
|
|
674
|
-
} from "./chunk-
|
|
674
|
+
} from "./chunk-RFGQDIOI.js";
|
|
675
675
|
import "./chunk-Z6QFHH4D.js";
|
|
676
676
|
import {
|
|
677
677
|
LEGEND_CAPSULE_PAD,
|
|
@@ -685,14 +685,14 @@ import {
|
|
|
685
685
|
LEGEND_MAX_ENTRY_ROWS,
|
|
686
686
|
LEGEND_PILL_FONT_SIZE,
|
|
687
687
|
LEGEND_PILL_PAD
|
|
688
|
-
} from "./chunk-
|
|
688
|
+
} from "./chunk-OZXKW5NA.js";
|
|
689
689
|
import {
|
|
690
690
|
breakAtoms,
|
|
691
691
|
fitWrapped,
|
|
692
692
|
measureText,
|
|
693
693
|
truncateText,
|
|
694
694
|
wrapTextToWidth
|
|
695
|
-
} from "./chunk-
|
|
695
|
+
} from "./chunk-PU5X3P3T.js";
|
|
696
696
|
import {
|
|
697
697
|
contrastText,
|
|
698
698
|
getSeriesColors,
|
|
@@ -724,221 +724,6 @@ import {
|
|
|
724
724
|
} from "./chunk-BYU54C3S.js";
|
|
725
725
|
import "./chunk-YLJ4XMA6.js";
|
|
726
726
|
|
|
727
|
-
// src/boxes-and-lines/collapse.ts
|
|
728
|
-
function collapseBoxesAndLines(parsed, collapsedGroups) {
|
|
729
|
-
const originalGroups = parsed.groups;
|
|
730
|
-
if (collapsedGroups.size === 0) {
|
|
731
|
-
return { parsed, collapsedChildCounts: /* @__PURE__ */ new Map(), originalGroups };
|
|
732
|
-
}
|
|
733
|
-
const groupByLabel = /* @__PURE__ */ new Map();
|
|
734
|
-
for (const group of parsed.groups) {
|
|
735
|
-
groupByLabel.set(group.label, group);
|
|
736
|
-
}
|
|
737
|
-
const nodeToGroup = /* @__PURE__ */ new Map();
|
|
738
|
-
const collapsedChildCounts = /* @__PURE__ */ new Map();
|
|
739
|
-
function collectDescendants(groupLabel) {
|
|
740
|
-
const group = groupByLabel.get(groupLabel);
|
|
741
|
-
if (!group) return [];
|
|
742
|
-
const descendants = [];
|
|
743
|
-
for (const child of group.children) {
|
|
744
|
-
descendants.push(child);
|
|
745
|
-
if (groupByLabel.has(child)) {
|
|
746
|
-
descendants.push(...collectDescendants(child));
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
return descendants;
|
|
750
|
-
}
|
|
751
|
-
for (const groupLabel of collapsedGroups) {
|
|
752
|
-
const group = groupByLabel.get(groupLabel);
|
|
753
|
-
if (!group) continue;
|
|
754
|
-
const groupId = `__group_${groupLabel}`;
|
|
755
|
-
const allDescendants = collectDescendants(groupLabel);
|
|
756
|
-
for (const child of allDescendants) {
|
|
757
|
-
nodeToGroup.set(child, groupId);
|
|
758
|
-
}
|
|
759
|
-
collapsedChildCounts.set(groupLabel, group.children.length);
|
|
760
|
-
}
|
|
761
|
-
const nodes = parsed.nodes.filter((n) => !nodeToGroup.has(n.label));
|
|
762
|
-
const edgeKeys = /* @__PURE__ */ new Set();
|
|
763
|
-
const edges = [];
|
|
764
|
-
for (const edge of parsed.edges) {
|
|
765
|
-
const src = nodeToGroup.get(edge.source) ?? edge.source;
|
|
766
|
-
const tgt = nodeToGroup.get(edge.target) ?? edge.target;
|
|
767
|
-
if (src === tgt) continue;
|
|
768
|
-
const key = `${src}|${tgt}|${edge.label ?? ""}`;
|
|
769
|
-
if (edgeKeys.has(key)) continue;
|
|
770
|
-
edgeKeys.add(key);
|
|
771
|
-
edges.push({ ...edge, source: src, target: tgt });
|
|
772
|
-
}
|
|
773
|
-
const groups = parsed.groups.filter(
|
|
774
|
-
(g) => !collapsedGroups.has(g.label) && !nodeToGroup.has(g.label)
|
|
775
|
-
);
|
|
776
|
-
return {
|
|
777
|
-
parsed: { ...parsed, nodes, edges, groups },
|
|
778
|
-
collapsedChildCounts,
|
|
779
|
-
originalGroups
|
|
780
|
-
};
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
// src/sketch/emit.ts
|
|
784
|
-
var LIFTED_KEYS = /* @__PURE__ */ new Set(["shape", "at", "as"]);
|
|
785
|
-
function atText(at) {
|
|
786
|
-
return at ? `at: ${String(at.c)} ${String(at.r)}` : null;
|
|
787
|
-
}
|
|
788
|
-
function safeValue(value) {
|
|
789
|
-
return value.includes(",") ? value.replace(/,/g, " \u2014") : value;
|
|
790
|
-
}
|
|
791
|
-
function tailFor(thing, at, extra = []) {
|
|
792
|
-
const alias = thing.alias !== void 0 ? ` as ${thing.alias}` : "";
|
|
793
|
-
const parts = [];
|
|
794
|
-
const atPart = atText(at);
|
|
795
|
-
if (atPart) parts.push(atPart);
|
|
796
|
-
for (const [k, v] of Object.entries(thing.metadata)) {
|
|
797
|
-
if (LIFTED_KEYS.has(k)) continue;
|
|
798
|
-
parts.push(`${k}: ${safeValue(v)}`);
|
|
799
|
-
}
|
|
800
|
-
parts.push(...extra);
|
|
801
|
-
return `${alias}${parts.length > 0 ? ` ${parts.join(", ")}` : ""}`;
|
|
802
|
-
}
|
|
803
|
-
function shapeLine(node, indent) {
|
|
804
|
-
const out = [`${indent}${node.label}${tailFor(node, node.at)}`];
|
|
805
|
-
if (node.description !== void 0 && node.description !== "") {
|
|
806
|
-
for (const line2 of node.description.split("\n")) {
|
|
807
|
-
out.push(`${indent} > ${line2}`);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
return out;
|
|
811
|
-
}
|
|
812
|
-
function boxLine(box, indent) {
|
|
813
|
-
const extra = box.collapsed ? ["collapsed"] : [];
|
|
814
|
-
return `${indent}[${box.label}]${tailFor(box, box.at, extra)}`;
|
|
815
|
-
}
|
|
816
|
-
function edgeText(edge, target) {
|
|
817
|
-
const d = edge.dashed;
|
|
818
|
-
const label = edge.label ?? "";
|
|
819
|
-
const tail = tailFor(edge, null);
|
|
820
|
-
if (label === "") {
|
|
821
|
-
if (edge.heads === "none") return `${d ? "~~" : "--"} ${target}${tail}`;
|
|
822
|
-
if (edge.heads === "both") return `${d ? "<~>" : "<->"} ${target}${tail}`;
|
|
823
|
-
return `${d ? "~>" : "->"} ${target}${tail}`;
|
|
824
|
-
}
|
|
825
|
-
const l = safeValue(label);
|
|
826
|
-
if (edge.heads === "none")
|
|
827
|
-
return `${d ? "~" : "-"}${l}${d ? "~" : "-"} ${target}${tail}`;
|
|
828
|
-
if (edge.heads === "both")
|
|
829
|
-
return `${d ? "<~" : "<-"}${l}${d ? "~>" : "->"} ${target}${tail}`;
|
|
830
|
-
return `${d ? "~" : "-"}${l}${d ? "~>" : "->"} ${target}${tail}`;
|
|
831
|
-
}
|
|
832
|
-
function emitSketch(parsed) {
|
|
833
|
-
const lines = [];
|
|
834
|
-
lines.push(parsed.title ? `sketch ${parsed.title}` : "sketch");
|
|
835
|
-
const o = parsed.options;
|
|
836
|
-
if (o.noLegend) lines.push("no-legend");
|
|
837
|
-
if (o.legendInline === true) lines.push("legend-inline");
|
|
838
|
-
if (o.fillMode === "solid") lines.push("fill-solid");
|
|
839
|
-
if (o.fillMode === "outline") lines.push("fill-outline");
|
|
840
|
-
if (o.noDescriptions) lines.push("no-descriptions");
|
|
841
|
-
for (const group of parsed.tagGroups) {
|
|
842
|
-
lines.push("");
|
|
843
|
-
lines.push(
|
|
844
|
-
group.alias !== void 0 ? `tag ${group.name} as ${group.alias}` : `tag ${group.name}`
|
|
845
|
-
);
|
|
846
|
-
for (const entry of group.entries) {
|
|
847
|
-
const isDefault = group.defaultValue !== void 0 && entry.value === group.defaultValue;
|
|
848
|
-
const colour = entry.authoredColor === void 0 ? "" : ` ${entry.authoredColor}`;
|
|
849
|
-
lines.push(` ${entry.value}${colour}${isDefault ? " default" : ""}`);
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
const refOf = (id) => {
|
|
853
|
-
const node = parsed.nodes.find((n) => n.id === id);
|
|
854
|
-
if (node) return node.alias ?? node.label;
|
|
855
|
-
const box = parsed.boxes.find((b) => b.id === id);
|
|
856
|
-
if (box) return box.alias ?? `[${box.label}]`;
|
|
857
|
-
return id;
|
|
858
|
-
};
|
|
859
|
-
const edgesBySource = /* @__PURE__ */ new Map();
|
|
860
|
-
for (const edge of parsed.edges) {
|
|
861
|
-
const list = edgesBySource.get(edge.sourceId);
|
|
862
|
-
if (list) list.push(edge);
|
|
863
|
-
else edgesBySource.set(edge.sourceId, [edge]);
|
|
864
|
-
}
|
|
865
|
-
const emitEdgesFor = (id, indent) => {
|
|
866
|
-
for (const edge of edgesBySource.get(id) ?? []) {
|
|
867
|
-
lines.push(`${indent}${edgeText(edge, refOf(edge.targetId))}`);
|
|
868
|
-
}
|
|
869
|
-
};
|
|
870
|
-
const nodesByBox = /* @__PURE__ */ new Map();
|
|
871
|
-
const rootNodes = [];
|
|
872
|
-
for (const node of parsed.nodes) {
|
|
873
|
-
if (node.boxLabel === void 0) {
|
|
874
|
-
rootNodes.push(node);
|
|
875
|
-
continue;
|
|
876
|
-
}
|
|
877
|
-
const list = nodesByBox.get(node.boxLabel);
|
|
878
|
-
if (list) list.push(node);
|
|
879
|
-
else nodesByBox.set(node.boxLabel, [node]);
|
|
880
|
-
}
|
|
881
|
-
const emitBox = (box, depth) => {
|
|
882
|
-
const indent = " ".repeat(depth);
|
|
883
|
-
lines.push("");
|
|
884
|
-
lines.push(boxLine(box, indent));
|
|
885
|
-
emitEdgesFor(box.id, `${indent} `);
|
|
886
|
-
for (const node of nodesByBox.get(box.label) ?? []) {
|
|
887
|
-
lines.push(...shapeLine(node, `${indent} `));
|
|
888
|
-
emitEdgesFor(node.id, `${indent} `);
|
|
889
|
-
}
|
|
890
|
-
for (const childId of box.childBoxes) {
|
|
891
|
-
const child = parsed.boxes.find((b) => b.id === childId);
|
|
892
|
-
if (child) emitBox(child, depth + 1);
|
|
893
|
-
}
|
|
894
|
-
};
|
|
895
|
-
for (const node of rootNodes) {
|
|
896
|
-
lines.push("");
|
|
897
|
-
lines.push(...shapeLine(node, ""));
|
|
898
|
-
emitEdgesFor(node.id, " ");
|
|
899
|
-
}
|
|
900
|
-
for (const box of parsed.boxes) {
|
|
901
|
-
if (box.parentBoxId !== null) continue;
|
|
902
|
-
emitBox(box, 0);
|
|
903
|
-
}
|
|
904
|
-
return `${lines.join("\n")}
|
|
905
|
-
`;
|
|
906
|
-
}
|
|
907
|
-
function canonicalSketch(parsed) {
|
|
908
|
-
const nameOf = (id) => {
|
|
909
|
-
const node = parsed.nodes.find((n) => n.id === id);
|
|
910
|
-
if (node) return `n:${node.label}`;
|
|
911
|
-
const box = parsed.boxes.find((b) => b.id === id);
|
|
912
|
-
if (box) return `b:${box.label}`;
|
|
913
|
-
return `?:${id}`;
|
|
914
|
-
};
|
|
915
|
-
const meta = (m) => Object.entries(m).filter(([k]) => !LIFTED_KEYS.has(k)).sort(([a], [b]) => a.localeCompare(b)).map(([k, v]) => `${k}=${v}`).join(";");
|
|
916
|
-
return {
|
|
917
|
-
title: parsed.title,
|
|
918
|
-
options: JSON.stringify({
|
|
919
|
-
noLegend: parsed.options.noLegend,
|
|
920
|
-
legendInline: parsed.options.legendInline === true,
|
|
921
|
-
fillMode: parsed.options.fillMode ?? null,
|
|
922
|
-
noDescriptions: parsed.options.noDescriptions
|
|
923
|
-
}),
|
|
924
|
-
tags: parsed.tagGroups.map(
|
|
925
|
-
(g) => `${g.name}[${g.entries.map((e) => e.value).join("|")}]${g.defaultValue ?? ""}`
|
|
926
|
-
).sort().join(","),
|
|
927
|
-
nodes: parsed.nodes.map(
|
|
928
|
-
(n) => `${n.label}|${n.at ? `${String(n.at.c)},${String(n.at.r)}` : "-"}|${n.boxLabel ?? "-"}|${n.description ?? ""}|${meta(n.metadata)}`
|
|
929
|
-
).sort(),
|
|
930
|
-
boxes: parsed.boxes.map(
|
|
931
|
-
(b) => `${b.label}|${b.at ? `${String(b.at.c)},${String(b.at.r)}` : "-"}|${String(b.collapsed)}|${b.parentBoxId === null ? "-" : parsed.boxes.find((x) => x.id === b.parentBoxId)?.label ?? "?"}|${meta(b.metadata)}`
|
|
932
|
-
).sort(),
|
|
933
|
-
edges: parsed.edges.map(
|
|
934
|
-
(e) => `${nameOf(e.sourceId)}->${nameOf(e.targetId)}|${e.label ?? ""}|${e.heads}|${String(e.dashed)}`
|
|
935
|
-
).sort()
|
|
936
|
-
};
|
|
937
|
-
}
|
|
938
|
-
function sameSketch(a, b) {
|
|
939
|
-
return JSON.stringify(canonicalSketch(a)) === JSON.stringify(canonicalSketch(b));
|
|
940
|
-
}
|
|
941
|
-
|
|
942
727
|
// src/whiteboard/emit.ts
|
|
943
728
|
var NEEDS_QUOTES_RE = /(^|\s)[a-z][a-z-]*:(\s|$)|^["']/;
|
|
944
729
|
function nameText(name) {
|
|
@@ -1522,7 +1307,7 @@ function redrawIfStale(node, svg, now2, resolvedMs, tz) {
|
|
|
1522
1307
|
}
|
|
1523
1308
|
if (!svg.hasAttribute("data-dgmo-countdown-redraw")) return;
|
|
1524
1309
|
redrawing.add(svg);
|
|
1525
|
-
void import("./redraw-
|
|
1310
|
+
void import("./redraw-LEOXS7C6.js").then((m) => {
|
|
1526
1311
|
m.redrawCountdown(svg, resolvedMs);
|
|
1527
1312
|
redrawing.delete(svg);
|
|
1528
1313
|
}).catch(() => {
|
|
@@ -2457,7 +2242,10 @@ function textFromSvg(svg) {
|
|
|
2457
2242
|
return parts.join("").replace(
|
|
2458
2243
|
/&#x([0-9a-f]+);/gi,
|
|
2459
2244
|
(_, hex) => String.fromCodePoint(parseInt(hex, 16))
|
|
2460
|
-
).replace(
|
|
2245
|
+
).replace(
|
|
2246
|
+
/&#(\d+);/g,
|
|
2247
|
+
(_, dec) => String.fromCodePoint(parseInt(dec, 10))
|
|
2248
|
+
).replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'").replace(/&/g, "&");
|
|
2461
2249
|
}
|
|
2462
2250
|
function uncoveredCharacters(text, coverage) {
|
|
2463
2251
|
const byScript = /* @__PURE__ */ new Map();
|
|
@@ -2489,6 +2277,17 @@ function fontPortabilityWarning(runs) {
|
|
|
2489
2277
|
}).join(", ");
|
|
2490
2278
|
return `This diagram uses characters the bundled Inter font does not contain: ${described}. They were drawn with a font installed on this machine, so the image is correct here \u2014 but a machine without a font for those characters draws nothing at all, with no error. Install a font covering them wherever this runs, or check the output there.`;
|
|
2491
2279
|
}
|
|
2280
|
+
var EMOJI_ATOM = [
|
|
2281
|
+
"[\\u{1F1E6}-\\u{1F1FF}]{2}",
|
|
2282
|
+
// a flag: two regional indicators
|
|
2283
|
+
"[0-9#*]\\uFE0F?\\u20E3",
|
|
2284
|
+
// a keycap
|
|
2285
|
+
"(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}(?=\\uFE0F)|(?=\\p{Extended_Pictographic})[\\u{1F000}-\\u{1FFFF}])[\\u{1F3FB}-\\u{1F3FF}]?\\uFE0F?[\\u{E0020}-\\u{E007F}]*"
|
|
2286
|
+
].join("|");
|
|
2287
|
+
var EMOJI = new RegExp(
|
|
2288
|
+
`(?:${EMOJI_ATOM})(?:\\u200D(?:${EMOJI_ATOM}))*`,
|
|
2289
|
+
"gu"
|
|
2290
|
+
);
|
|
2492
2291
|
|
|
2493
2292
|
// src/cloud-space.ts
|
|
2494
2293
|
var CLOUD_API = "https://api.diagrammo.app";
|
|
@@ -2645,13 +2444,11 @@ export {
|
|
|
2645
2444
|
ARROW_DIAGNOSTIC_CODES,
|
|
2646
2445
|
CHART_TYPE_DESCRIPTIONS,
|
|
2647
2446
|
CLOUD_API,
|
|
2648
|
-
CONTAINER_FILL_OPACITY,
|
|
2649
|
-
CONTAINER_STROKE_OPACITY,
|
|
2650
|
-
CONTAINER_STROKE_WIDTH,
|
|
2651
2447
|
CYLINDER_RY,
|
|
2652
2448
|
CloudSpaceError,
|
|
2653
2449
|
DEFAULT_FONT_NAME,
|
|
2654
2450
|
EXAMPLES_SHOWN,
|
|
2451
|
+
FILE_WAVE,
|
|
2655
2452
|
FLOWCHART_STRUCTURE_CODE,
|
|
2656
2453
|
FONT_FAMILY,
|
|
2657
2454
|
DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY,
|
|
@@ -2676,16 +2473,6 @@ export {
|
|
|
2676
2473
|
RACI_WARNING_CODES,
|
|
2677
2474
|
RECOGNIZED_COLOR_NAMES,
|
|
2678
2475
|
RULE_COUNT,
|
|
2679
|
-
SKETCH_AUTO_LAYOUT_DEFAULTS,
|
|
2680
|
-
SKETCH_FOOT_H,
|
|
2681
|
-
SKETCH_FOOT_W,
|
|
2682
|
-
SKETCH_GEOMETRY,
|
|
2683
|
-
SKETCH_HALF_SLOT_X,
|
|
2684
|
-
SKETCH_HALF_SLOT_Y,
|
|
2685
|
-
SKETCH_SEP,
|
|
2686
|
-
SKETCH_SLOT_X,
|
|
2687
|
-
SKETCH_SLOT_Y,
|
|
2688
|
-
SKETCH_VISUALS,
|
|
2689
2476
|
ScaleContext,
|
|
2690
2477
|
WHITEBOARD_COLORS,
|
|
2691
2478
|
WHITEBOARD_CONTAINER_FONT,
|
|
@@ -2717,7 +2504,6 @@ export {
|
|
|
2717
2504
|
buildSimulationContext,
|
|
2718
2505
|
buildTagLaneRowList,
|
|
2719
2506
|
calculateSchedule,
|
|
2720
|
-
canonicalSketch,
|
|
2721
2507
|
catppuccinPalette,
|
|
2722
2508
|
chartTypeParsers,
|
|
2723
2509
|
chartTypes,
|
|
@@ -2728,8 +2514,13 @@ export {
|
|
|
2728
2514
|
collapseMindmapTree,
|
|
2729
2515
|
collapseOrgTree,
|
|
2730
2516
|
collapseSitemapTree,
|
|
2731
|
-
collapseSketch,
|
|
2732
2517
|
collapseStateGroups,
|
|
2518
|
+
collapsedBLGroupsFromSource,
|
|
2519
|
+
collapsedJourneyPhasesFromSource,
|
|
2520
|
+
collapsedPertGroupIdsFromSource,
|
|
2521
|
+
collapsedRaciPhasesFromSource,
|
|
2522
|
+
collapsedSequenceNoteLinesFromSource,
|
|
2523
|
+
collapsedSequenceSectionLinesFromSource,
|
|
2733
2524
|
collectDiagramRoles,
|
|
2734
2525
|
collectTasks,
|
|
2735
2526
|
colorNames,
|
|
@@ -2751,7 +2542,6 @@ export {
|
|
|
2751
2542
|
decodeDiagramUrl,
|
|
2752
2543
|
decodeViewState,
|
|
2753
2544
|
displayName,
|
|
2754
|
-
emitSketch,
|
|
2755
2545
|
emitWhiteboard,
|
|
2756
2546
|
emitWhiteboardElement,
|
|
2757
2547
|
encodeDiagramUrl,
|
|
@@ -2793,6 +2583,7 @@ export {
|
|
|
2793
2583
|
groupMessagesBySection,
|
|
2794
2584
|
hexToHSL,
|
|
2795
2585
|
hexToHSLString,
|
|
2586
|
+
hoverCssFor,
|
|
2796
2587
|
hslToHex,
|
|
2797
2588
|
inferParticipantType,
|
|
2798
2589
|
inferRoles,
|
|
@@ -2801,6 +2592,7 @@ export {
|
|
|
2801
2592
|
isArchiveColumn,
|
|
2802
2593
|
isExampleFor,
|
|
2803
2594
|
isExtendedChartType,
|
|
2595
|
+
isFoldableSequenceNote,
|
|
2804
2596
|
isInvalidColorToken,
|
|
2805
2597
|
isRecognizedColorName,
|
|
2806
2598
|
isSequenceBlock,
|
|
@@ -2828,7 +2620,6 @@ export {
|
|
|
2828
2620
|
layoutOrg,
|
|
2829
2621
|
layoutPert,
|
|
2830
2622
|
layoutSitemap,
|
|
2831
|
-
layoutSketch,
|
|
2832
2623
|
layoutSwimlane,
|
|
2833
2624
|
layoutTreemap,
|
|
2834
2625
|
layoutTreemapRadial,
|
|
@@ -2900,9 +2691,9 @@ export {
|
|
|
2900
2691
|
parseSequenceDgmo,
|
|
2901
2692
|
parseSequenceDgmo as parseSequenceDiagram,
|
|
2902
2693
|
parseSitemap,
|
|
2903
|
-
parseSketch,
|
|
2904
2694
|
parseState,
|
|
2905
2695
|
parseSwimlane,
|
|
2696
|
+
parseSwot,
|
|
2906
2697
|
parseTechRadar,
|
|
2907
2698
|
parseTimelineDate,
|
|
2908
2699
|
parseTreemap,
|
|
@@ -2988,12 +2779,11 @@ export {
|
|
|
2988
2779
|
renderSequenceDiagram,
|
|
2989
2780
|
renderSitemap,
|
|
2990
2781
|
renderSitemapForExport,
|
|
2991
|
-
renderSketch,
|
|
2992
|
-
renderSketchForExport,
|
|
2993
2782
|
renderSlopeChart,
|
|
2994
2783
|
renderState,
|
|
2995
2784
|
renderStateForExport,
|
|
2996
2785
|
renderSwimlaneForExport,
|
|
2786
|
+
renderSwot,
|
|
2997
2787
|
renderTechRadar,
|
|
2998
2788
|
renderTechRadarForExport,
|
|
2999
2789
|
renderTimeline,
|
|
@@ -3017,7 +2807,6 @@ export {
|
|
|
3017
2807
|
resolveTagValue,
|
|
3018
2808
|
resolveTaskName,
|
|
3019
2809
|
rollUpContextRelationships,
|
|
3020
|
-
sameSketch,
|
|
3021
2810
|
sameWhiteboard,
|
|
3022
2811
|
sampleBetaPert,
|
|
3023
2812
|
searchMapLocations,
|
|
@@ -3027,12 +2816,6 @@ export {
|
|
|
3027
2816
|
shapeFill,
|
|
3028
2817
|
simulateCanonical,
|
|
3029
2818
|
simulateFast,
|
|
3030
|
-
sketchColors,
|
|
3031
|
-
sketchContainerFill,
|
|
3032
|
-
sketchEdgeGeometry,
|
|
3033
|
-
sketchLabelSpot,
|
|
3034
|
-
sketchNeutralFill,
|
|
3035
|
-
sketchSlotToPx,
|
|
3036
2819
|
slatePalette,
|
|
3037
2820
|
startClocks,
|
|
3038
2821
|
startCountdowns,
|
|
@@ -3044,10 +2827,13 @@ export {
|
|
|
3044
2827
|
tickCountdowns,
|
|
3045
2828
|
tidewaterPalette,
|
|
3046
2829
|
tint,
|
|
2830
|
+
toggleCueCss,
|
|
3047
2831
|
tokyoNightPalette,
|
|
3048
2832
|
truncateBareUrl,
|
|
3049
2833
|
truncateText,
|
|
3050
2834
|
uncoveredCharacters,
|
|
2835
|
+
unionCollapsedSequenceNotes,
|
|
2836
|
+
unionCollapsedSitemapNodes,
|
|
3051
2837
|
parseDgmo as validate,
|
|
3052
2838
|
validateComputed,
|
|
3053
2839
|
validateDiagram,
|
|
@@ -3064,6 +2850,9 @@ export {
|
|
|
3064
2850
|
whiteboardConnectorPaint,
|
|
3065
2851
|
whiteboardDrawBand,
|
|
3066
2852
|
whiteboardDrawOrder,
|
|
2853
|
+
whiteboardFilePath,
|
|
2854
|
+
whiteboardFileWave,
|
|
2855
|
+
whiteboardFileWavePoints,
|
|
3067
2856
|
whiteboardLabelCentreY,
|
|
3068
2857
|
whiteboardLabelHeight,
|
|
3069
2858
|
whiteboardLabelPosition,
|