@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
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
resolveActiveTagGroup,
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KW3CC7SB.js";
|
|
12
12
|
import {
|
|
13
13
|
extractColor,
|
|
14
14
|
fillModeFromToken,
|
|
15
15
|
measureIndent,
|
|
16
16
|
parseFirstLine,
|
|
17
17
|
splitNameAndMeta
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RFGQDIOI.js";
|
|
19
19
|
import {
|
|
20
20
|
makeDgmoError,
|
|
21
21
|
makeFail
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
NODE_LABEL_LINE_HEIGHT,
|
|
6
6
|
layoutGraph,
|
|
7
7
|
wrapNodeLabel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6S2H6EKN.js";
|
|
9
9
|
import {
|
|
10
10
|
appendArrowheadMarkers
|
|
11
11
|
} from "./chunk-XBJJP2HN.js";
|
|
12
12
|
import {
|
|
13
13
|
fitDiagramToCanvas
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K7RRXZHS.js";
|
|
15
15
|
import {
|
|
16
16
|
serializeSvg
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YLKPRT6U.js";
|
|
18
18
|
import {
|
|
19
19
|
ScaleContext
|
|
20
20
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -22,38 +22,39 @@ import {
|
|
|
22
22
|
INLINE_HEADER_PAD,
|
|
23
23
|
layoutInlineHeader,
|
|
24
24
|
measureTitleWidth
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-REKLKGR6.js";
|
|
26
26
|
import {
|
|
27
27
|
TITLE_FONT_SIZE,
|
|
28
28
|
TITLE_FONT_WEIGHT,
|
|
29
29
|
TITLE_Y
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GULGSH2Z.js";
|
|
31
31
|
import {
|
|
32
32
|
ARROWHEAD_HEIGHT,
|
|
33
33
|
ARROWHEAD_WIDTH,
|
|
34
34
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
35
35
|
EDGE_STROKE_WIDTH,
|
|
36
36
|
NODE_STROKE_WIDTH
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WH6E6SHC.js";
|
|
38
38
|
import {
|
|
39
39
|
parseFlowchart
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-IAM3IDL4.js";
|
|
41
41
|
import {
|
|
42
42
|
NOTE_BADGE_RADIUS,
|
|
43
|
+
NOTE_FONT_SIZE,
|
|
43
44
|
noteConnectorPoints,
|
|
44
45
|
renderNoteBadge,
|
|
45
46
|
renderNoteBox,
|
|
46
47
|
renderNoteConnector
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-CLW45YKE.js";
|
|
48
49
|
import {
|
|
49
50
|
FONT_FAMILY
|
|
50
51
|
} from "./chunk-ICLB27PZ.js";
|
|
51
52
|
import {
|
|
52
53
|
fillModeFromOptions
|
|
53
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-RFGQDIOI.js";
|
|
54
55
|
import {
|
|
55
56
|
measureText
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-PU5X3P3T.js";
|
|
57
58
|
import {
|
|
58
59
|
contrastText,
|
|
59
60
|
shapeFill
|
|
@@ -336,6 +337,11 @@ function renderFlowchart(container, graph, layout, palette, isDark, onClickItem,
|
|
|
336
337
|
const titleHeight = showTitle ? 40 : 0;
|
|
337
338
|
const diagramW = layout.width;
|
|
338
339
|
const diagramH = layout.height;
|
|
340
|
+
const smallestTextPx = Math.min(
|
|
341
|
+
sNodeFontSize,
|
|
342
|
+
layout.edges.some((e) => e.label) ? sEdgeLabelFontSize : Infinity,
|
|
343
|
+
graph.options?.["no-notes"] !== "on" && layout.nodes.some((n) => n.note && !n.note.collapsed) ? NOTE_FONT_SIZE : Infinity
|
|
344
|
+
);
|
|
339
345
|
const fit = fitDiagramToCanvas({
|
|
340
346
|
width,
|
|
341
347
|
height,
|
|
@@ -344,6 +350,7 @@ function renderFlowchart(container, graph, layout, palette, isDark, onClickItem,
|
|
|
344
350
|
padding: sDiagramPadding,
|
|
345
351
|
titleHeight,
|
|
346
352
|
maxScale: MAX_SCALE,
|
|
353
|
+
smallestTextPx,
|
|
347
354
|
exportMode: !!exportDims
|
|
348
355
|
});
|
|
349
356
|
const { scale, offsetY, canvasHeight } = fit;
|
|
@@ -2346,16 +2346,6 @@ var ALIAS = {
|
|
|
2346
2346
|
waist: "obliques",
|
|
2347
2347
|
back: ["upper-back", "lats"]
|
|
2348
2348
|
};
|
|
2349
|
-
var BODY_TERMS = [
|
|
2350
|
-
.../* @__PURE__ */ new Set([
|
|
2351
|
-
...Object.values(FIGURES).flatMap((f) => Object.keys(f.parts)),
|
|
2352
|
-
...Object.values(SURFACE).flatMap((f) => Object.keys(f)),
|
|
2353
|
-
...Object.keys(ANATOMICAL),
|
|
2354
|
-
...Object.keys(ALIAS),
|
|
2355
|
-
"left",
|
|
2356
|
-
"right"
|
|
2357
|
-
])
|
|
2358
|
-
].sort();
|
|
2359
2349
|
function resolvePartKey(figure, name) {
|
|
2360
2350
|
const n = name.toLowerCase();
|
|
2361
2351
|
const surface = surfaceFor(figure);
|
|
@@ -2388,7 +2378,6 @@ function getPartGeom(figure, key) {
|
|
|
2388
2378
|
|
|
2389
2379
|
export {
|
|
2390
2380
|
getFigure,
|
|
2391
|
-
BODY_TERMS,
|
|
2392
2381
|
resolvePartKey,
|
|
2393
2382
|
getPartGeom
|
|
2394
2383
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildMapProjection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XZGXVN4T.js";
|
|
4
4
|
import {
|
|
5
5
|
TITLE_FONT_SIZE,
|
|
6
6
|
TITLE_Y
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GULGSH2Z.js";
|
|
8
8
|
|
|
9
9
|
// src/map/dimensions.ts
|
|
10
10
|
import { geoPath } from "d3-geo";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
NOTE_GAP,
|
|
6
6
|
noteBoxSize,
|
|
7
7
|
noteConnectorPoints
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CLW45YKE.js";
|
|
9
9
|
import {
|
|
10
10
|
extractColor,
|
|
11
11
|
measureIndent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RFGQDIOI.js";
|
|
13
13
|
import {
|
|
14
14
|
makeDgmoError,
|
|
15
15
|
suggest
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
stripDefaultModifier,
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KW3CC7SB.js";
|
|
22
22
|
import {
|
|
23
23
|
AliasRegistry,
|
|
24
24
|
C4_REGISTRY,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
splitNameAndMeta,
|
|
31
31
|
warnUnknownMetaKeys,
|
|
32
32
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RFGQDIOI.js";
|
|
34
34
|
import {
|
|
35
35
|
formatDgmoError,
|
|
36
36
|
makeDgmoError,
|
|
@@ -69,14 +69,16 @@ function isFullCanvasFill(tag, bgColor, canvas) {
|
|
|
69
69
|
const x = numAttr(tag, "x") ?? 0;
|
|
70
70
|
const y = numAttr(tag, "y") ?? 0;
|
|
71
71
|
const T = 1.5;
|
|
72
|
-
return Math.abs(x) <= T && Math.abs(y) <= T && Math.abs(w - canvas.w) <= T && Math.abs(h - canvas.h) <= T;
|
|
72
|
+
return Math.abs(x - canvas.x) <= T && Math.abs(y - canvas.y) <= T && Math.abs(w - canvas.w) <= T && Math.abs(h - canvas.h) <= T;
|
|
73
73
|
}
|
|
74
74
|
function rootCanvas(rootTag, svg) {
|
|
75
|
+
const vb = readViewBox(svg);
|
|
76
|
+
if (vb) return { x: vb.x, y: vb.y, w: vb.width, h: vb.height };
|
|
75
77
|
const wm = rootTag.match(/\bwidth="([\d.]+)"/);
|
|
76
78
|
const hm = rootTag.match(/\bheight="([\d.]+)"/);
|
|
77
|
-
if (wm && hm)
|
|
78
|
-
|
|
79
|
-
return
|
|
79
|
+
if (wm && hm)
|
|
80
|
+
return { x: 0, y: 0, w: parseFloat(wm[1]), h: parseFloat(hm[1]) };
|
|
81
|
+
return null;
|
|
80
82
|
}
|
|
81
83
|
function numAttr(tag, name) {
|
|
82
84
|
const m = tag.match(new RegExp(`\\b${name}="([^"]*)"`));
|
|
@@ -227,5 +229,6 @@ function computeBBox(svg) {
|
|
|
227
229
|
export {
|
|
228
230
|
normalizeSvgForEmbed,
|
|
229
231
|
defaultEmbedBackground,
|
|
230
|
-
getEmbedSvgViewBox
|
|
232
|
+
getEmbedSvgViewBox,
|
|
233
|
+
readViewBox
|
|
231
234
|
};
|
|
@@ -16,10 +16,11 @@ import {
|
|
|
16
16
|
RACI_REGISTRY,
|
|
17
17
|
measureIndent,
|
|
18
18
|
parseFirstLine,
|
|
19
|
+
peelTrailingCollapsedFlag,
|
|
19
20
|
splitNameAndMeta,
|
|
20
21
|
tryParseSharedOption,
|
|
21
22
|
warnUnknownMetaKeys
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RFGQDIOI.js";
|
|
23
24
|
import {
|
|
24
25
|
resolveColorWithDiagnostic
|
|
25
26
|
} from "./chunk-3J7O3CU6.js";
|
|
@@ -285,7 +286,26 @@ function parseRaci(content, palette) {
|
|
|
285
286
|
continue;
|
|
286
287
|
}
|
|
287
288
|
let phaseColor;
|
|
288
|
-
|
|
289
|
+
let tail = (phaseMatch[2] ?? "").trim();
|
|
290
|
+
let collapsed = false;
|
|
291
|
+
const barePeel = peelTrailingCollapsedFlag(tail);
|
|
292
|
+
if (barePeel.collapsed) {
|
|
293
|
+
collapsed = true;
|
|
294
|
+
tail = barePeel.rest.trim();
|
|
295
|
+
}
|
|
296
|
+
if (/(?:^|[\s,])collapsed\s*:/.test(tail)) {
|
|
297
|
+
const split = splitNameAndMeta(
|
|
298
|
+
`_ ${tail}`,
|
|
299
|
+
RACI_REGISTRY,
|
|
300
|
+
/* @__PURE__ */ new Map(),
|
|
301
|
+
void 0,
|
|
302
|
+
result.diagnostics,
|
|
303
|
+
lineNumber
|
|
304
|
+
);
|
|
305
|
+
if ("collapsed" in split.meta) {
|
|
306
|
+
collapsed = split.meta["collapsed"].trim().toLowerCase() === "true";
|
|
307
|
+
}
|
|
308
|
+
}
|
|
289
309
|
const colorMatch = tail.match(PHASE_PALETTE_COLOR_RE);
|
|
290
310
|
if (colorMatch) {
|
|
291
311
|
phaseColor = resolveColorWithDiagnostic(
|
|
@@ -301,7 +321,8 @@ function parseRaci(content, palette) {
|
|
|
301
321
|
...phaseColor !== void 0 && { color: phaseColor },
|
|
302
322
|
tasks: [],
|
|
303
323
|
lineNumber,
|
|
304
|
-
endLineNumber: lineNumber
|
|
324
|
+
endLineNumber: lineNumber,
|
|
325
|
+
...collapsed && { collapsed: true }
|
|
305
326
|
};
|
|
306
327
|
result.phases.push(currentPhase);
|
|
307
328
|
continue;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchPlacement
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7ASVGFW3.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift,
|
|
6
6
|
placeNotes,
|
|
7
7
|
resolveNotes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4TK26YHH.js";
|
|
9
9
|
import {
|
|
10
10
|
noteBoxSize
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CLW45YKE.js";
|
|
12
12
|
|
|
13
13
|
// src/graph/layout.ts
|
|
14
14
|
import dagre from "@dagrejs/dagre";
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
computeNodeSizing,
|
|
3
|
-
layoutPert
|
|
4
|
-
} from "./chunk-NBAAIRFP.js";
|
|
5
1
|
import {
|
|
6
2
|
analyzePert
|
|
7
3
|
} from "./chunk-FOTH2WWP.js";
|
|
4
|
+
import {
|
|
5
|
+
computeNodeSizing,
|
|
6
|
+
layoutPert
|
|
7
|
+
} from "./chunk-LZATSXAA.js";
|
|
8
8
|
import {
|
|
9
9
|
serializeSvg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YLKPRT6U.js";
|
|
11
11
|
import {
|
|
12
12
|
ScaleContext
|
|
13
13
|
} from "./chunk-24YPR5EH.js";
|
|
14
|
+
import {
|
|
15
|
+
renderCollapseBar
|
|
16
|
+
} from "./chunk-LRTSTDJ6.js";
|
|
14
17
|
import {
|
|
15
18
|
INLINE_HEADER_PAD,
|
|
16
19
|
layoutInlineHeader
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-REKLKGR6.js";
|
|
18
21
|
import {
|
|
19
22
|
CAPTION_BOX_PADDING_X,
|
|
20
23
|
CAPTION_BOX_PADDING_Y,
|
|
@@ -25,12 +28,11 @@ import {
|
|
|
25
28
|
TITLE_FONT_SIZE,
|
|
26
29
|
TITLE_FONT_WEIGHT,
|
|
27
30
|
TITLE_Y
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GULGSH2Z.js";
|
|
29
32
|
import {
|
|
30
33
|
ARROWHEAD_HEIGHT,
|
|
31
34
|
ARROWHEAD_WIDTH,
|
|
32
35
|
CARD_RADIUS,
|
|
33
|
-
COLLAPSE_BAR_HEIGHT,
|
|
34
36
|
CONTAINER_HEADER_HEIGHT,
|
|
35
37
|
CONTAINER_LABEL_FONT_SIZE,
|
|
36
38
|
CONTAINER_RADIUS,
|
|
@@ -40,16 +42,16 @@ import {
|
|
|
40
42
|
LABEL_FONT_SIZE,
|
|
41
43
|
META_FONT_SIZE,
|
|
42
44
|
NODE_STROKE_WIDTH
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WH6E6SHC.js";
|
|
44
46
|
import {
|
|
45
47
|
renderIntegratedLegend
|
|
46
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DFEVFLEG.js";
|
|
47
49
|
import {
|
|
48
50
|
getLegendExtent
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-VVL2KKG4.js";
|
|
50
52
|
import {
|
|
51
53
|
parsePert
|
|
52
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CUTEHGXO.js";
|
|
53
55
|
import {
|
|
54
56
|
addCalendarDays,
|
|
55
57
|
formatDuration,
|
|
@@ -66,15 +68,15 @@ import {
|
|
|
66
68
|
resolveGroupTagColor,
|
|
67
69
|
resolveTagColor,
|
|
68
70
|
tagAttrKey
|
|
69
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-KW3CC7SB.js";
|
|
70
72
|
import {
|
|
71
73
|
LEGEND_HEIGHT
|
|
72
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-OZXKW5NA.js";
|
|
73
75
|
import {
|
|
74
76
|
measureText,
|
|
75
77
|
truncateText,
|
|
76
78
|
wrapTextToWidth
|
|
77
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-PU5X3P3T.js";
|
|
78
80
|
import {
|
|
79
81
|
contrastText,
|
|
80
82
|
groupFill,
|
|
@@ -228,7 +230,6 @@ function renderPert(container, resolved, layout, palette, isDark, options = {})
|
|
|
228
230
|
const sContainerRadius = ctx.structural(CONTAINER_RADIUS);
|
|
229
231
|
const sContainerLabelFontSize = ctx.text(CONTAINER_LABEL_FONT_SIZE);
|
|
230
232
|
const sContainerHeaderHeight = ctx.structural(CONTAINER_HEADER_HEIGHT);
|
|
231
|
-
const sCollapseBarHeight = ctx.structural(COLLAPSE_BAR_HEIGHT);
|
|
232
233
|
const sPinIconW = ctx.structural(PIN_ICON_W);
|
|
233
234
|
const sPinIconH = ctx.structural(PIN_ICON_H);
|
|
234
235
|
const scaledWidth = layout.width + sDiagramPad * 2;
|
|
@@ -304,7 +305,7 @@ function renderPert(container, resolved, layout, palette, isDark, options = {})
|
|
|
304
305
|
containerRadius: sContainerRadius,
|
|
305
306
|
containerLabelFontSize: sContainerLabelFontSize,
|
|
306
307
|
containerHeaderHeight: sContainerHeaderHeight,
|
|
307
|
-
|
|
308
|
+
scale: ctx,
|
|
308
309
|
nodeTopRowHeight: sNodeTopRowHeight,
|
|
309
310
|
nodeBottomRowHeight: sNodeBottomRowHeight,
|
|
310
311
|
nodeFontSize: sNodeFontSize,
|
|
@@ -718,7 +719,7 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
718
719
|
const g = layer.append("g").attr(
|
|
719
720
|
"class",
|
|
720
721
|
isCollapsed ? "pert-group pert-group-collapsed" : "pert-group"
|
|
721
|
-
).attr("data-group-id", grp.id).attr("data-group-toggle", grp.id).attr("data-collapsed", String(isCollapsed)).attr("data-line-number", String(resolvedGroup?.group.lineNumber ?? 0)).attr("data-critical-path", String(memberCritical)).attr("data-criticality-band", memberBand ?? "").style("cursor", "pointer");
|
|
722
|
+
).attr("data-group-id", grp.id).attr("data-group-toggle", grp.id).attr("role", "button").attr("aria-expanded", isCollapsed ? "false" : "true").attr("aria-label", label).attr("data-collapsed", String(isCollapsed)).attr("data-line-number", String(resolvedGroup?.group.lineNumber ?? 0)).attr("data-critical-path", String(memberCritical)).attr("data-criticality-band", memberBand ?? "").style("cursor", "pointer");
|
|
722
723
|
if (isCollapsed) {
|
|
723
724
|
const projectStart = resolved.projectStart;
|
|
724
725
|
const muStr = formatDuration(resolvedGroup?.rolledMu ?? null, unit, "?");
|
|
@@ -762,7 +763,6 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
762
763
|
palette.textOnFillDark
|
|
763
764
|
);
|
|
764
765
|
const sNR = sc.nodeRadius ?? CARD_RADIUS;
|
|
765
|
-
const sCBH = sc.collapseBarHeight ?? COLLAPSE_BAR_HEIGHT;
|
|
766
766
|
drawTextbookCard(g, {
|
|
767
767
|
width: grp.width,
|
|
768
768
|
height: grp.height,
|
|
@@ -791,9 +791,17 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
791
791
|
sPinIconH: sc.pinIconH
|
|
792
792
|
});
|
|
793
793
|
const safeGroupId = grp.id.replace(/[^A-Za-z0-9_-]/g, "_");
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
794
|
+
renderCollapseBar(g, {
|
|
795
|
+
x: grp.x,
|
|
796
|
+
y: grp.y,
|
|
797
|
+
width: grp.width,
|
|
798
|
+
height: grp.height,
|
|
799
|
+
rx: sNR,
|
|
800
|
+
fill: cardBaseColor,
|
|
801
|
+
clipId: `pert-group-clip-${safeGroupId}`,
|
|
802
|
+
prefix: "pert",
|
|
803
|
+
...sc.scale && { scale: sc.scale }
|
|
804
|
+
});
|
|
797
805
|
continue;
|
|
798
806
|
}
|
|
799
807
|
const sCR = sc.containerRadius ?? CONTAINER_RADIUS;
|
|
@@ -802,6 +810,18 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
802
810
|
const sNSW = sc.nodeStrokeWidth ?? NODE_STROKE_WIDTH;
|
|
803
811
|
g.append("rect").attr("x", grp.x).attr("y", grp.y).attr("width", grp.width).attr("height", grp.height).attr("rx", sCR).attr("ry", sCR).attr("fill", containerFill).attr("stroke", containerStroke).attr("stroke-opacity", grpTagColor ? 1 : 0.35).attr("stroke-width", sNSW);
|
|
804
812
|
g.append("text").attr("x", grp.x + grp.width / 2).attr("y", grp.y + sCHH / 2 + sCLFS / 2 - 2).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("fill", palette.text).attr("font-size", sCLFS).attr("font-weight", "bold").text(label);
|
|
813
|
+
renderCollapseBar(g, {
|
|
814
|
+
expanded: true,
|
|
815
|
+
x: grp.x,
|
|
816
|
+
y: grp.y,
|
|
817
|
+
width: grp.width,
|
|
818
|
+
height: grp.height,
|
|
819
|
+
rx: sCR,
|
|
820
|
+
fill: containerStroke,
|
|
821
|
+
clipId: `pert-group-clip-${grp.id.replace(/[^A-Za-z0-9_-]/g, "_")}`,
|
|
822
|
+
prefix: "pert",
|
|
823
|
+
...sc.scale && { scale: sc.scale }
|
|
824
|
+
});
|
|
805
825
|
}
|
|
806
826
|
}
|
|
807
827
|
function renderEdges(root, resolved, layout, palette, collapsedSet, sc = {}) {
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutERDiagram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F2OAZHOX.js";
|
|
4
4
|
import {
|
|
5
5
|
serializeSvg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YLKPRT6U.js";
|
|
7
7
|
import {
|
|
8
8
|
ScaleContext
|
|
9
9
|
} from "./chunk-24YPR5EH.js";
|
|
10
10
|
import {
|
|
11
11
|
layoutInlineHeader
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-REKLKGR6.js";
|
|
13
13
|
import {
|
|
14
14
|
TITLE_FONT_SIZE,
|
|
15
15
|
TITLE_FONT_WEIGHT,
|
|
16
16
|
TITLE_Y
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GULGSH2Z.js";
|
|
18
18
|
import {
|
|
19
19
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
20
20
|
EDGE_STROKE_WIDTH,
|
|
21
21
|
NODE_STROKE_WIDTH
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WH6E6SHC.js";
|
|
23
23
|
import {
|
|
24
24
|
renderIntegratedLegend
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DFEVFLEG.js";
|
|
26
26
|
import {
|
|
27
27
|
getLegendExtent
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VVL2KKG4.js";
|
|
29
29
|
import {
|
|
30
30
|
parseERDiagram
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PSNRB75I.js";
|
|
32
32
|
import {
|
|
33
33
|
NOTE_BADGE_RADIUS,
|
|
34
34
|
noteConnectorPoints,
|
|
35
35
|
renderNoteBadge,
|
|
36
36
|
renderNoteBox,
|
|
37
37
|
renderNoteConnector
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CLW45YKE.js";
|
|
39
39
|
import {
|
|
40
40
|
FONT_FAMILY
|
|
41
41
|
} from "./chunk-ICLB27PZ.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveTagColor,
|
|
44
44
|
tagAttrKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KW3CC7SB.js";
|
|
46
46
|
import {
|
|
47
47
|
fillModeFromOptions,
|
|
48
48
|
legendInlineRequested,
|
|
49
49
|
legendSuppressed
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-RFGQDIOI.js";
|
|
51
51
|
import {
|
|
52
52
|
LEGEND_HEIGHT
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OZXKW5NA.js";
|
|
54
54
|
import {
|
|
55
55
|
measureText
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PU5X3P3T.js";
|
|
57
57
|
import {
|
|
58
58
|
contrastText,
|
|
59
59
|
getSeriesColors,
|
|
@@ -6,26 +6,25 @@ import {
|
|
|
6
6
|
layoutC4Containers,
|
|
7
7
|
layoutC4Context,
|
|
8
8
|
layoutC4Deployment
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V3ICBS2O.js";
|
|
10
10
|
import {
|
|
11
11
|
appendArrowheadMarkers,
|
|
12
12
|
appendReverseArrowheadMarkers
|
|
13
13
|
} from "./chunk-XBJJP2HN.js";
|
|
14
14
|
import {
|
|
15
15
|
serializeSvg
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YLKPRT6U.js";
|
|
17
17
|
import {
|
|
18
18
|
parseC4
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5WZYJC2P.js";
|
|
20
20
|
import {
|
|
21
21
|
TITLE_FONT_SIZE,
|
|
22
22
|
TITLE_FONT_WEIGHT
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GULGSH2Z.js";
|
|
24
24
|
import {
|
|
25
25
|
ARROWHEAD_HEIGHT,
|
|
26
26
|
ARROWHEAD_WIDTH,
|
|
27
27
|
CARD_RADIUS,
|
|
28
|
-
COLLAPSE_BAR_HEIGHT,
|
|
29
28
|
CONTAINER_RADIUS,
|
|
30
29
|
EDGE_DASH,
|
|
31
30
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
@@ -34,10 +33,10 @@ import {
|
|
|
34
33
|
META_FONT_SIZE,
|
|
35
34
|
META_LINE_HEIGHT,
|
|
36
35
|
NODE_STROKE_WIDTH
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-WH6E6SHC.js";
|
|
38
37
|
import {
|
|
39
38
|
renderIntegratedLegend
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DFEVFLEG.js";
|
|
41
40
|
import {
|
|
42
41
|
preprocessDescriptionLine
|
|
43
42
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -50,17 +49,17 @@ import {
|
|
|
50
49
|
import {
|
|
51
50
|
resolveGroupTagColor,
|
|
52
51
|
tagAttrKey
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-KW3CC7SB.js";
|
|
54
53
|
import {
|
|
55
54
|
fillModeFromOptions
|
|
56
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-RFGQDIOI.js";
|
|
57
56
|
import {
|
|
58
57
|
LEGEND_HEIGHT
|
|
59
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-OZXKW5NA.js";
|
|
60
59
|
import {
|
|
61
60
|
measureText,
|
|
62
61
|
wrapTextToWidth
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PU5X3P3T.js";
|
|
64
63
|
import {
|
|
65
64
|
contrastText,
|
|
66
65
|
groupFill,
|
|
@@ -71,6 +70,7 @@ import {
|
|
|
71
70
|
// src/c4/renderer.ts
|
|
72
71
|
import * as d3Selection from "d3-selection";
|
|
73
72
|
import * as d3Shape from "d3-shape";
|
|
73
|
+
var C4_DRILL_BAR_HEIGHT = 6;
|
|
74
74
|
var DIAGRAM_PADDING = 20;
|
|
75
75
|
var MAX_SCALE = 3;
|
|
76
76
|
var TITLE_HEIGHT = 30;
|
|
@@ -300,7 +300,7 @@ function renderC4Context(container, parsed, layout, palette, isDark, onClickItem
|
|
|
300
300
|
if (node.drillable) {
|
|
301
301
|
const clipId = `clip-drill-${node.id.replace(/\s+/g, "-")}`;
|
|
302
302
|
nodeG.append("clipPath").attr("id", clipId).append("rect").attr("x", -w / 2).attr("y", -h / 2).attr("width", w).attr("height", h).attr("rx", CARD_RADIUS);
|
|
303
|
-
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 -
|
|
303
|
+
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 - C4_DRILL_BAR_HEIGHT).attr("width", w).attr("height", C4_DRILL_BAR_HEIGHT).attr("fill", fillMode === "solid" ? onFillText : stroke).attr("clip-path", `url(#${clipId})`).attr("class", "c4-drill-bar");
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
if (hasLegend) {
|
|
@@ -985,7 +985,7 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
985
985
|
if (node.drillable) {
|
|
986
986
|
const clipId = `clip-drill-${node.id.replace(/\s+/g, "-")}`;
|
|
987
987
|
nodeG.append("clipPath").attr("id", clipId).append("rect").attr("x", -w / 2).attr("y", -h / 2).attr("width", w).attr("height", h).attr("rx", CARD_RADIUS);
|
|
988
|
-
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 -
|
|
988
|
+
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 - C4_DRILL_BAR_HEIGHT).attr("width", w).attr("height", C4_DRILL_BAR_HEIGHT).attr("fill", fillMode === "solid" ? onFillText : stroke).attr("clip-path", `url(#${clipId})`).attr("class", "c4-drill-bar");
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
if (hasLegend) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TITLE_FONT_SIZE,
|
|
6
6
|
TITLE_FONT_WEIGHT,
|
|
7
7
|
TITLE_Y
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GULGSH2Z.js";
|
|
9
9
|
import {
|
|
10
10
|
wrapDescriptionLines
|
|
11
11
|
} from "./chunk-7WEYXYLC.js";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
} from "./chunk-ICLB27PZ.js";
|
|
18
18
|
import {
|
|
19
19
|
fillModeFromOptions
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RFGQDIOI.js";
|
|
21
21
|
import {
|
|
22
22
|
CHAR_WIDTH_RATIO,
|
|
23
23
|
measureText
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PU5X3P3T.js";
|
|
25
25
|
import {
|
|
26
26
|
contrastText,
|
|
27
27
|
getSeriesColors,
|