@diagrammo/dgmo 0.96.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/dist/advanced.d.ts +172 -8
- package/dist/advanced.js +225 -243
- package/dist/block.d.ts +8 -0
- package/dist/block.js +138 -66
- package/dist/{calculator-GIB7POFX.js → calculator-CIGGTURF.js} +2 -2
- package/dist/{chart-meta-uImk4eTn.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-CBVYiLqy.d.ts → chart-types-Dxtv4XSz.d.ts} +3 -0
- package/dist/{charts-d3-IRP5VANE.js → charts-d3-INWEGMSD.js} +14 -14
- package/dist/{chunk-MVUNMJKO.js → chunk-2FMOLWX4.js} +71 -57
- package/dist/{chunk-2BYFNZVM.js → chunk-2SZILMQT.js} +57 -15
- package/dist/{chunk-VLI6AWS3.js → chunk-3C4OXVZJ.js} +2 -2
- package/dist/{chunk-OO4GUE4E.js → chunk-3HL6NSSQ.js} +63 -18
- package/dist/{chunk-RGFVHYDP.js → chunk-3IUMSK72.js} +2 -2
- package/dist/{chunk-LRHPBWOY.js → chunk-44RLIAYC.js} +17 -10
- package/dist/{chunk-H7AXCRO7.js → chunk-453IWXZ3.js} +0 -11
- package/dist/{chunk-FHX373L5.js → chunk-47INRTZ6.js} +2 -2
- package/dist/{chunk-IN7XI6NO.js → chunk-4NMRS6HW.js} +1 -1
- package/dist/{chunk-HH3DHNQA.js → chunk-4TK26YHH.js} +2 -2
- package/dist/{chunk-5LG526X7.js → chunk-5TGZBHEJ.js} +1 -1
- package/dist/{chunk-BD4O4D2A.js → chunk-5WZYJC2P.js} +2 -2
- package/dist/{chunk-DPNSDCR3.js → chunk-65JFUANT.js} +1 -1
- package/dist/{chunk-EZ6BI5LL.js → chunk-6OUMYNAJ.js} +1 -1
- package/dist/{chunk-U6N547QA.js → chunk-6PUBFB6D.js} +24 -3
- package/dist/{chunk-5GU6C5WB.js → chunk-6S2H6EKN.js} +3 -3
- package/dist/{chunk-OYGJZA24.js → chunk-6SDEXSJY.js} +39 -19
- package/dist/{chunk-IKXQ6NVR.js → chunk-6YBZFOTA.js} +13 -13
- package/dist/{chunk-4B45SNZH.js → chunk-74XR7Z3I.js} +13 -13
- package/dist/{chunk-VNAPEZX2.js → chunk-7ASVGFW3.js} +1 -1
- package/dist/{chunk-RTRORHSP.js → chunk-7QKWU7FX.js} +3 -3
- package/dist/{chunk-A6YINTY6.js → chunk-7RACGVUY.js} +1 -1
- package/dist/{chunk-5G4DOOX2.js → chunk-7TEAFIEJ.js} +9 -5
- package/dist/{chunk-UNCCZ3NU.js → chunk-A3V72YIL.js} +14 -1
- package/dist/{chunk-VJ7NLYFE.js → chunk-A5LFM62B.js} +3 -3
- package/dist/{chunk-P3PSLC2K.js → chunk-AULFF7L2.js} +2 -2
- package/dist/{chunk-SCYVGPLI.js → chunk-B7ZH5EQ2.js} +2 -2
- package/dist/{chunk-VGAMBOOC.js → chunk-C6ME2L4T.js} +2 -2
- package/dist/{chunk-B2YVZ3QU.js → chunk-CGP7RGLJ.js} +1 -1
- package/dist/{chunk-67N26CER.js → chunk-CLW45YKE.js} +2 -1
- package/dist/{chunk-THTYCJGF.js → chunk-CUOMNKYW.js} +4 -4
- package/dist/{chunk-34JOHSVE.js → chunk-CUTEHGXO.js} +2 -2
- package/dist/{chunk-NERQSSYD.js → chunk-D67YE4LR.js} +1 -1
- package/dist/{chunk-DKCVAQU3.js → chunk-D7KZE2XJ.js} +39 -17
- package/dist/{chunk-PGD6CNWO.js → chunk-DFEVFLEG.js} +3 -3
- package/dist/{chunk-VVTCUIPN.js → chunk-DKMZ4VMV.js} +1 -1
- package/dist/{chunk-H7JVKUA5.js → chunk-DRY4W4W6.js} +36 -15
- package/dist/{chunk-IQZSKWE5.js → chunk-E6GHXMH2.js} +8 -8
- package/dist/{chunk-I2I2FKAK.js → chunk-EBJLT7PH.js} +1 -1
- package/dist/{chunk-GEHK4UD5.js → chunk-EEIGHOJR.js} +92 -23
- package/dist/{chunk-FKJWZWNU.js → chunk-EUPUVYWO.js} +1 -1
- package/dist/{chunk-3W73ZP6W.js → chunk-F2OAZHOX.js} +3 -3
- package/dist/{chunk-IU7XKZA6.js → chunk-FK6HZYGK.js} +4 -14
- package/dist/{chunk-2M3K6GD2.js → chunk-FTW2E2YH.js} +6 -6
- package/dist/{chunk-5P2L5QXE.js → chunk-FZVCS2XY.js} +4 -2
- package/dist/chunk-G24NSISJ.js +69 -0
- package/dist/{chunk-5H7SA5ZD.js → chunk-GFQFLLP3.js} +2 -2
- package/dist/{chunk-BUVLLK3D.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-7UWVHNPM.js → chunk-H242TVAE.js} +9 -9
- package/dist/{chunk-M4ZUIW3J.js → chunk-H7DZYHQF.js} +3 -3
- package/dist/{chunk-GLCMUTO5.js → chunk-HQNZJMNS.js} +1 -1
- package/dist/{chunk-H7RQG4PH.js → chunk-IAM3IDL4.js} +2 -2
- package/dist/{chunk-WTPS73RM.js → chunk-II6D6NWX.js} +8 -8
- package/dist/{chunk-5ARANBIE.js → chunk-IUFTAFGN.js} +2 -2
- package/dist/{chunk-AQRSEQZV.js → chunk-IZEKHIV6.js} +3 -3
- package/dist/{chunk-WGNP5ND2.js → chunk-J3YM6RA5.js} +3 -3
- package/dist/{chunk-YFIUABSF.js → chunk-J467QBZF.js} +23 -3
- package/dist/{chunk-CD7VQCDL.js → chunk-J7JF4QKA.js} +40 -30
- package/dist/{chunk-MYHR3PMH.js → chunk-JULBDTNU.js} +7 -7
- package/dist/{chunk-EPDBWATV.js → chunk-K7RRXZHS.js} +4 -2
- package/dist/{chunk-YVIPJGFG.js → chunk-KMB754DO.js} +33 -6
- package/dist/chunk-KNKZGRRB.js +439 -0
- package/dist/{chunk-SIABEREK.js → chunk-KTGJQJB3.js} +2 -2
- package/dist/{chunk-LGUFJ7Y2.js → chunk-KW3CC7SB.js} +1 -1
- package/dist/{chunk-ITDF3MWD.js → chunk-L3K5O3Z5.js} +3 -3
- package/dist/chunk-LRTSTDJ6.js +126 -0
- package/dist/{chunk-NI4L6HEU.js → chunk-LZATSXAA.js} +1 -1
- package/dist/{chunk-RVOSA4RR.js → chunk-MJ725XHD.js} +441 -267
- package/dist/{chunk-EPB3UEMD.js → chunk-NBISN6FH.js} +2 -2
- package/dist/{chunk-IZFJZCF6.js → chunk-NN5RUHXV.js} +84 -16
- package/dist/{chunk-KDWEOT54.js → chunk-NOZMRPXI.js} +96 -153
- package/dist/{chunk-EM5SA7NC.js → chunk-NQFZ7LXC.js} +4 -4
- package/dist/chunk-NTDWVTEY.js +12 -0
- package/dist/{chunk-AUXUNV73.js → chunk-O3HRF25Z.js} +1 -1
- package/dist/{chunk-GLL237AP.js → chunk-OSSA5UWA.js} +3 -3
- package/dist/{chunk-UOCWYLYT.js → chunk-OZXKW5NA.js} +1 -1
- package/dist/{chunk-QEU6VM4O.js → chunk-PLQZJZ2K.js} +1 -1
- package/dist/chunk-PRG7NIUU.js +272 -0
- package/dist/{chunk-MAYTYF5S.js → chunk-PSNRB75I.js} +3 -3
- package/dist/{chunk-B5CEV7IR.js → chunk-PT5VFY3B.js} +38 -14
- package/dist/{chunk-KAO7JL4I.js → chunk-PU5X3P3T.js} +6 -5
- package/dist/{chunk-B7BSRVNC.js → chunk-PZ5LAAO3.js} +2 -2
- package/dist/{chunk-TOHTKLKE.js → chunk-Q5Q5JLRT.js} +1 -1
- package/dist/{chunk-TUOZ6AXC.js → chunk-Q6V342WS.js} +16 -4
- package/dist/{chunk-ZOKD5F7M.js → chunk-QDPTOIG7.js} +5 -5
- package/dist/{chunk-ERT7XDQW.js → chunk-QIITSGI5.js} +1 -1
- package/dist/{chunk-K2WXMXI2.js → chunk-QLIZ7SB7.js} +1 -1
- package/dist/chunk-QLNLRZ37.js +181 -0
- package/dist/{chunk-P6LKX3IQ.js → chunk-QOLRTPGH.js} +6 -6
- package/dist/{chunk-FBK32S4D.js → chunk-R4SXMBGF.js} +1 -1
- package/dist/chunk-R4U7IIRX.js +178 -0
- package/dist/{chunk-DWMQ24JR.js → chunk-RC6PISCK.js} +4 -2
- package/dist/{chunk-R5L5E3TC.js → chunk-REKLKGR6.js} +3 -3
- package/dist/{chunk-FUYEXLAN.js → chunk-RFGQDIOI.js} +837 -220
- package/dist/{chunk-W5MMPPGX.js → chunk-ROFSIFSY.js} +4 -4
- package/dist/{chunk-JCC3B2GS.js → chunk-ROH4LYBL.js} +65 -21
- package/dist/{chunk-OAZ6BIIB.js → chunk-SNDCXT5R.js} +9 -7
- package/dist/{chunk-JRN2CRXJ.js → chunk-TDUBTDXS.js} +1 -1
- package/dist/{chunk-GM2SLMQW.js → chunk-TMB4YY3J.js} +34 -4
- package/dist/{chunk-ZBOIYC2G.js → chunk-V3ICBS2O.js} +5 -5
- package/dist/{chunk-HZX4QZGR.js → chunk-V65EDV6S.js} +3 -3
- package/dist/{chunk-67RKJEKF.js → chunk-VKT3BVRO.js} +35 -11
- package/dist/{chunk-5BG4OSWJ.js → chunk-VOO65FKC.js} +12 -12
- package/dist/{chunk-KQAPFIYF.js → chunk-VQWLASDC.js} +2 -2
- package/dist/{chunk-JILEYZ2V.js → chunk-VVL2KKG4.js} +1 -1
- package/dist/{chunk-D7DGLJ7N.js → chunk-VVZDBUHA.js} +2 -2
- package/dist/{chunk-JBAFAKGX.js → chunk-W46OMHOK.js} +23 -27
- package/dist/{chunk-XCKNFFKM.js → chunk-WH6E6SHC.js} +2 -4
- package/dist/{chunk-P2GNNEMN.js → chunk-WPYJAHRP.js} +1 -1
- package/dist/{chunk-TPCP2UOI.js → chunk-WXGFB2O2.js} +3 -3
- package/dist/{chunk-RIK6WUMO.js → chunk-XCYGOCMS.js} +43 -26
- package/dist/{chunk-I3ZRIMR7.js → chunk-XEMCNQQW.js} +15 -15
- package/dist/{chunk-PWZEJNO6.js → chunk-XMUFXJI2.js} +6 -6
- package/dist/{chunk-EMGNCG5C.js → chunk-XZGXVN4T.js} +5 -5
- package/dist/{chunk-WLGOIMTI.js → chunk-YCIBBVI2.js} +2 -2
- package/dist/{chunk-V2NQV7VL.js → chunk-YFIDR7JH.js} +2 -2
- package/dist/{chunk-K2SFH3GJ.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-TIPNNOZC.js → chunk-ZCKVTZHD.js} +41 -19
- package/dist/{chunk-YSGOXZBB.js → chunk-ZMVMGZAJ.js} +1 -1
- package/dist/{chunk-CP73WWLN.js → chunk-ZRW4B4KF.js} +48 -14
- package/dist/{chunk-O2HNVNKO.js → chunk-ZTKO2RD4.js} +5 -5
- package/dist/collapse-6IGH2B24.js +31 -0
- 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 +27 -4
- package/dist/dgmo-router-RSYWR5IS.js +101 -0
- package/dist/dimensions-KXAI7U2B.js +21 -0
- package/dist/editor.js +882 -215
- package/dist/{flowchart-parser-SM5LHF2D.js → flowchart-parser-UI5VZNGJ.js} +5 -5
- package/dist/{flowchart-renderer-PPS2GTTD.js → flowchart-renderer-IYWPKPCF.js} +18 -18
- package/dist/fold-at-line-DmSAa1eU.d.ts +11 -0
- package/dist/highlight.js +883 -216
- package/dist/index.d.ts +52 -5
- package/dist/index.js +79 -63
- package/dist/{layout-AF4KA5B2.js → layout-6VY3DHYD.js} +6 -6
- package/dist/{layout-FCFUVCRI.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-R6G4MEO3.js → layout-FJDBY3WG.js} +5 -5
- package/dist/{layout-KELSNWBD.js → layout-G3RVKEC4.js} +10 -10
- package/dist/{layout-H2KP5A6M.js → layout-GC5XX2RH.js} +2 -2
- package/dist/{layout-LNVIH45F.js → layout-R6ULGQJK.js} +6 -6
- package/dist/{layout-PPIVGJXD.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-MPSH3YWE.js → layout-WBH5IHYK.js} +10 -10
- package/dist/layout-WTHBGTH2.js +15 -0
- package/dist/layout-ZCCABSV7.js +15 -0
- package/dist/{layout-search-C2TYUH4L.js → layout-search-DSIDKKQO.js} +8 -8
- package/dist/{legend-constants-55MFBXYF.js → legend-constants-KF3MKWL2.js} +2 -2
- package/dist/{parser-DGLKH4NT.js → parser-3PMYAVFL.js} +2 -2
- package/dist/{parser-OHBBDCG4.js → parser-5KVFS4RN.js} +2 -2
- package/dist/{parser-UHKROC7Z.js → parser-BA43YPIQ.js} +3 -3
- package/dist/{parser-F75WNYMK.js → parser-CFAYEWLF.js} +3 -3
- package/dist/{parser-MWINQNQW.js → parser-DRFEX6OX.js} +3 -3
- package/dist/{parser-W6NX3AIV.js → parser-DWVBRBB2.js} +3 -3
- package/dist/{parser-6WURFLOB.js → parser-E4B7HJT2.js} +3 -3
- package/dist/{parser-DRUGM3R6.js → parser-FWQY3HJX.js} +2 -2
- package/dist/{parser-GBQY3WOZ.js → parser-GMCXCJSP.js} +3 -3
- package/dist/{parser-BPYHIG24.js → parser-IHFHPFL7.js} +3 -3
- package/dist/{parser-QWTECQEC.js → parser-IU6425JW.js} +6 -6
- package/dist/{parser-ZV756RMP.js → parser-IZYIXDJX.js} +6 -6
- package/dist/{parser-TTGZYLYD.js → parser-JQGUTDSX.js} +3 -3
- package/dist/{parser-BNRX35NT.js → parser-JRKPOO2Z.js} +3 -3
- package/dist/{parser-B7SCN7FG.js → parser-KI2XYB2R.js} +2 -2
- package/dist/parser-LDVVBP7S.js +12 -0
- package/dist/{parser-L7SI3PW4.js → parser-MAGFK6OK.js} +4 -4
- package/dist/{parser-722KLLAQ.js → parser-MH5BDN7X.js} +3 -3
- package/dist/{parser-5RUD4A3X.js → parser-MUHFEM4G.js} +3 -3
- package/dist/{parser-Y7QXD2UR.js → parser-P375HO7Q.js} +2 -2
- package/dist/{parser-LUJX7AXO.js → parser-PYY5BRLQ.js} +2 -2
- package/dist/parser-QEMFMVF5.js +12 -0
- package/dist/{parser-WIKXZP4X.js → parser-QIPDBT5M.js} +2 -2
- package/dist/{parser-2AXU2MHJ.js → parser-RNBDDEGL.js} +3 -3
- package/dist/{parser-4GHAYZKZ.js → parser-RSWZGQA7.js} +6 -6
- package/dist/{parser-H6HT2WFQ.js → parser-SGX2PVR5.js} +2 -2
- package/dist/{parser-ZWWQZ4XZ.js → parser-SJUEFKNM.js} +3 -3
- package/dist/{parser-4BOP77CD.js → parser-UMNBPXG2.js} +2 -2
- package/dist/{parser-GM5B2EPW.js → parser-WE4VSBBY.js} +3 -3
- package/dist/{parser-XEJP37GQ.js → parser-WKEYS7N3.js} +3 -3
- package/dist/{parser-DWV2CYBS.js → parser-WPXUUNA2.js} +3 -3
- package/dist/{parser-5HQPPVHJ.js → parser-XP3RCOTN.js} +3 -3
- package/dist/{parser-F3JJNIFC.js → parser-YV4RBHG7.js} +3 -3
- package/dist/{parser-CRJYLOHA.js → parser-YZ3J542U.js} +2 -2
- package/dist/{renderer-BYLQ37T2.js → renderer-2V5NVI3V.js} +15 -15
- package/dist/renderer-4PKYVOYL.js +39 -0
- package/dist/{renderer-ONENGXFQ.js → renderer-66SCERH7.js} +14 -12
- package/dist/renderer-6IAXRZLK.js +85 -0
- package/dist/{renderer-GKY55M4Z.js → renderer-6O5SV5YE.js} +10 -10
- package/dist/{renderer-F7YGMEGQ.js → renderer-7OXMSF4R.js} +4 -4
- package/dist/{renderer-6HU44IGJ.js → renderer-A36NL2SS.js} +8 -8
- package/dist/{renderer-66NCRXSC.js → renderer-ASPBBACI.js} +13 -11
- package/dist/{renderer-5GP7YUS4.js → renderer-BXVTYE27.js} +7 -6
- package/dist/renderer-CC6O6GQK.js +18 -0
- package/dist/{renderer-VNJOZPSH.js → renderer-CNDB4JTZ.js} +17 -17
- package/dist/renderer-COV2DXTM.js +41 -0
- package/dist/renderer-DXCATVLO.js +30 -0
- package/dist/{renderer-VUXAAGUG.js → renderer-E5E3OJ42.js} +12 -11
- package/dist/{renderer-MGF2NNGG.js → renderer-E7LC7HCU.js} +5 -5
- package/dist/{renderer-PEJF6R2I.js → renderer-F3JYZERE.js} +4 -4
- package/dist/{renderer-CVCCW7UT.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-SYRH3B62.js → renderer-JLOKFKOZ.js} +14 -13
- package/dist/{renderer-LJPUCG3U.js → renderer-KOPJ76GS.js} +10 -10
- package/dist/{renderer-N6PM5CSG.js → renderer-M2467III.js} +14 -13
- package/dist/{renderer-MVBAQP3M.js → renderer-MYKL6VG6.js} +6 -6
- package/dist/{renderer-YJVQT7QG.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-D6EH5UQ6.js → renderer-UIHCYXBY.js} +12 -12
- package/dist/{renderer-QZJZIAT3.js → renderer-WIBVOPRC.js} +6 -4
- package/dist/{renderer-TS5NHOQD.js → renderer-XMJ6XZGL.js} +12 -11
- package/dist/{renderer-2V2XY2V7.js → renderer-ZTHXOBXW.js} +8 -8
- package/dist/{renderer-radial-4R7AKETK.js → renderer-radial-FC25BDCZ.js} +8 -8
- package/dist/{state-parser-EQBBEKHR.js → state-parser-2PQRH5JE.js} +6 -6
- package/dist/state-renderer-YP6HWLJR.js +43 -0
- package/dist/{themes-CbJL3w8L.d.ts → themes-DoLdhUXV.d.ts} +1 -1
- package/docs/ai-integration.md +4 -3
- package/docs/language-reference.md +99 -13
- package/gallery/fixtures/swot-relabel.dgmo +19 -0
- package/gallery/fixtures/swot-tags.dgmo +16 -0
- package/gallery/fixtures/swot.dgmo +13 -0
- package/package.json +1 -1
- package/dist/chunk-R2K5L4UA.js +0 -49
- package/dist/collapse-TCVK3RPO.js +0 -8
- package/dist/dgmo-router-EPBQKQW2.js +0 -100
- package/dist/dimensions-DBCRBZIU.js +0 -21
- package/dist/layout-3J72UULM.js +0 -15
- package/dist/layout-IXQNVRBE.js +0 -15
- package/dist/layout-VDCJOZSH.js +0 -11
- package/dist/parser-HM6FEX5K.js +0 -14
- package/dist/renderer-2MCV75JQ.js +0 -41
- package/dist/renderer-5AEDVLAA.js +0 -31
- package/dist/renderer-7C76HP5W.js +0 -30
- package/dist/renderer-7RAMBMTH.js +0 -22
- package/dist/renderer-E3334XLT.js +0 -84
- package/dist/renderer-LFZKG2GR.js +0 -26
- package/dist/renderer-MZIWP55B.js +0 -28
- package/dist/renderer-N75E3UVY.js +0 -25
- package/dist/renderer-VNUDN6F5.js +0 -39
- package/dist/state-renderer-SOGZ2CNN.js +0 -42
|
@@ -77,7 +77,8 @@ function cloneNode(node) {
|
|
|
77
77
|
parentId: node.parentId,
|
|
78
78
|
isContainer: node.isContainer,
|
|
79
79
|
lineNumber: node.lineNumber,
|
|
80
|
-
...node.color !== void 0 && { color: node.color }
|
|
80
|
+
...node.color !== void 0 && { color: node.color },
|
|
81
|
+
...node.collapsed !== void 0 && { collapsed: node.collapsed }
|
|
81
82
|
};
|
|
82
83
|
}
|
|
83
84
|
var SITEMAP_SHAPE = {
|
|
@@ -98,6 +99,17 @@ var SITEMAP_EDGE_SHAPE = {
|
|
|
98
99
|
targetId
|
|
99
100
|
})
|
|
100
101
|
};
|
|
102
|
+
function unionCollapsedSitemapNodes(parsed, interactive) {
|
|
103
|
+
const ids = new Set(interactive ?? []);
|
|
104
|
+
const walk = (nodes) => {
|
|
105
|
+
for (const node of nodes) {
|
|
106
|
+
if (node.collapsed) ids.add(node.id);
|
|
107
|
+
walk(node.children);
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
walk(parsed.roots);
|
|
111
|
+
return ids;
|
|
112
|
+
}
|
|
101
113
|
function collapseSitemapTree(original, collapsedIds) {
|
|
102
114
|
if (collapsedIds.size === 0) {
|
|
103
115
|
return { parsed: original, hiddenCounts: /* @__PURE__ */ new Map() };
|
|
@@ -122,5 +134,6 @@ function collapseSitemapTree(original, collapsedIds) {
|
|
|
122
134
|
}
|
|
123
135
|
|
|
124
136
|
export {
|
|
137
|
+
unionCollapsedSitemapNodes,
|
|
125
138
|
collapseSitemapTree
|
|
126
139
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchPlacement
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7ASVGFW3.js";
|
|
4
4
|
import {
|
|
5
5
|
buildPlacedNotes,
|
|
6
6
|
noteCanvasShift,
|
|
7
7
|
resolveNotes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4TK26YHH.js";
|
|
9
9
|
import {
|
|
10
10
|
measureText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PU5X3P3T.js";
|
|
12
12
|
|
|
13
13
|
// src/class/layout.ts
|
|
14
14
|
import dagre from "@dagrejs/dagre";
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
} from "./chunk-CYTFO2LF.js";
|
|
14
14
|
import {
|
|
15
15
|
matchTagBlockHeading
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KW3CC7SB.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFirstLine,
|
|
19
19
|
recognizeGlobalBoolean
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RFGQDIOI.js";
|
|
21
21
|
import {
|
|
22
22
|
makeDgmoError,
|
|
23
23
|
makeFail,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KW3CC7SB.js";
|
|
13
13
|
import {
|
|
14
14
|
AliasRegistry,
|
|
15
15
|
KANBAN_REGISTRY,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
splitNameAndMeta,
|
|
23
23
|
warnUnknownMetaKeys,
|
|
24
24
|
withTagAliases
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RFGQDIOI.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveColorWithDiagnostic
|
|
28
28
|
} from "./chunk-3J7O3CU6.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
BOX_CLEAR_PAD,
|
|
7
7
|
EDGE_LABEL_FONT_SIZE,
|
|
8
8
|
measureEdgeLabel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4NMRS6HW.js";
|
|
10
10
|
import {
|
|
11
11
|
measureText
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PU5X3P3T.js";
|
|
13
13
|
|
|
14
14
|
// src/boxes-and-lines/edge-clip.ts
|
|
15
15
|
function rectBorderPoint(rect, toward) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-QKPOIJBT.js";
|
|
7
7
|
import {
|
|
8
8
|
measureText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PU5X3P3T.js";
|
|
10
10
|
import {
|
|
11
11
|
mix
|
|
12
12
|
} from "./chunk-6GXLAKUH.js";
|
|
@@ -166,6 +166,7 @@ function renderNoteBadge(parent, center, palette, opts) {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
export {
|
|
169
|
+
NOTE_FONT_SIZE,
|
|
169
170
|
NOTE_GAP,
|
|
170
171
|
NOTE_BULLET_INDENT,
|
|
171
172
|
wrapNoteBody,
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
LABEL_REACH_WIDE,
|
|
7
7
|
placeEdgeLabels
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4NMRS6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPlacedNotes,
|
|
11
11
|
noteCanvasShift,
|
|
12
12
|
resolveNotes
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4TK26YHH.js";
|
|
14
14
|
import {
|
|
15
15
|
measureText,
|
|
16
16
|
wrapTextToWidth
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PU5X3P3T.js";
|
|
18
18
|
|
|
19
19
|
// src/boxes-and-lines/layout.ts
|
|
20
20
|
var MARGIN = 40;
|
|
@@ -105,7 +105,7 @@ function computeNodeSize(node, reserveValueRow) {
|
|
|
105
105
|
return { width: w, height: Math.max(NODE_HEIGHT, totalHeight) };
|
|
106
106
|
}
|
|
107
107
|
async function layoutBoxesAndLines(parsed, collapseInfo, layoutOptions) {
|
|
108
|
-
const { layoutBoxesAndLinesSearch } = await import("./layout-search-
|
|
108
|
+
const { layoutBoxesAndLinesSearch } = await import("./layout-search-DSIDKKQO.js");
|
|
109
109
|
const searchOpts = {
|
|
110
110
|
...layoutOptions?.hideDescriptions !== void 0 && {
|
|
111
111
|
hideDescriptions: layoutOptions.hideDescriptions
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tagAttrKey,
|
|
22
22
|
validateTagGroupNames,
|
|
23
23
|
validateTagValues
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KW3CC7SB.js";
|
|
25
25
|
import {
|
|
26
26
|
PERT_REGISTRY,
|
|
27
27
|
extractColor,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
splitNameAndMeta,
|
|
32
32
|
warnUnknownMetaKeys,
|
|
33
33
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RFGQDIOI.js";
|
|
35
35
|
import {
|
|
36
36
|
emit,
|
|
37
37
|
makeDgmoError,
|
|
@@ -4,51 +4,54 @@ import {
|
|
|
4
4
|
} from "./chunk-26EVL454.js";
|
|
5
5
|
import {
|
|
6
6
|
layoutGraph
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6S2H6EKN.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-XBJJP2HN.js";
|
|
11
11
|
import {
|
|
12
12
|
fitDiagramToCanvas
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K7RRXZHS.js";
|
|
14
14
|
import {
|
|
15
15
|
serializeSvg
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YLKPRT6U.js";
|
|
17
17
|
import {
|
|
18
18
|
ScaleContext
|
|
19
19
|
} from "./chunk-24YPR5EH.js";
|
|
20
|
+
import {
|
|
21
|
+
renderCollapseBar
|
|
22
|
+
} from "./chunk-LRTSTDJ6.js";
|
|
20
23
|
import {
|
|
21
24
|
layoutInlineHeader
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-REKLKGR6.js";
|
|
23
26
|
import {
|
|
24
27
|
TITLE_FONT_SIZE,
|
|
25
28
|
TITLE_FONT_WEIGHT,
|
|
26
29
|
TITLE_Y
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GULGSH2Z.js";
|
|
28
31
|
import {
|
|
29
32
|
ARROWHEAD_HEIGHT,
|
|
30
33
|
ARROWHEAD_WIDTH,
|
|
31
34
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
32
35
|
EDGE_STROKE_WIDTH,
|
|
33
36
|
NODE_STROKE_WIDTH
|
|
34
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WH6E6SHC.js";
|
|
35
38
|
import {
|
|
36
39
|
renderIntegratedLegend
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DFEVFLEG.js";
|
|
38
41
|
import {
|
|
39
42
|
getLegendExtent,
|
|
40
43
|
getMaxLegendReservedHeight
|
|
41
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VVL2KKG4.js";
|
|
42
45
|
import {
|
|
43
46
|
parseState
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-WXGFB2O2.js";
|
|
45
48
|
import {
|
|
46
49
|
NOTE_BADGE_RADIUS,
|
|
47
50
|
noteConnectorPoints,
|
|
48
51
|
renderNoteBadge,
|
|
49
52
|
renderNoteBox,
|
|
50
53
|
renderNoteConnector
|
|
51
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CLW45YKE.js";
|
|
52
55
|
import {
|
|
53
56
|
FONT_FAMILY
|
|
54
57
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -57,15 +60,15 @@ import {
|
|
|
57
60
|
resolveGroupTagColor,
|
|
58
61
|
resolveTagColor,
|
|
59
62
|
tagAttrKey
|
|
60
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-KW3CC7SB.js";
|
|
61
64
|
import {
|
|
62
65
|
fillModeFromOptions,
|
|
63
66
|
legendInlineRequested,
|
|
64
67
|
legendSuppressed
|
|
65
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-RFGQDIOI.js";
|
|
66
69
|
import {
|
|
67
70
|
measureText
|
|
68
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-PU5X3P3T.js";
|
|
69
72
|
import {
|
|
70
73
|
contrastText,
|
|
71
74
|
mix,
|
|
@@ -238,6 +241,18 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
238
241
|
const groupWrapper = contentG.append("g").attr("class", "st-group-wrapper").attr("data-line-number", String(group.lineNumber)).attr("data-group-id", group.id).attr("data-group-toggle", group.id).attr("role", "button").attr("aria-expanded", "true").attr("aria-label", `Collapse group ${group.label}`).style("cursor", "pointer");
|
|
239
242
|
groupWrapper.append("rect").attr("x", gx).attr("y", gy).attr("width", gw).attr("height", gh).attr("rx", 6).attr("fill", fillColor).attr("stroke", strokeColor).attr("stroke-width", 1).attr("stroke-opacity", 0.5).attr("class", "st-group");
|
|
240
243
|
groupWrapper.append("text").attr("x", gx + 8).attr("y", gy + sGroupLabelFontSize + 4).attr("fill", strokeColor).attr("font-size", sGroupLabelFontSize).attr("font-weight", "bold").attr("opacity", 0.7).attr("class", "st-group-label").text(group.label);
|
|
244
|
+
renderCollapseBar(groupWrapper, {
|
|
245
|
+
expanded: true,
|
|
246
|
+
x: gx,
|
|
247
|
+
y: gy,
|
|
248
|
+
width: gw,
|
|
249
|
+
height: gh,
|
|
250
|
+
rx: 6,
|
|
251
|
+
fill: strokeColor,
|
|
252
|
+
clipId: `st-group-clip-${group.id.replace(/[[\]:\s]/g, "")}`,
|
|
253
|
+
prefix: "state",
|
|
254
|
+
scale: ctx
|
|
255
|
+
});
|
|
241
256
|
}
|
|
242
257
|
const LABEL_PAD = 8;
|
|
243
258
|
const LABEL_H = 16;
|
|
@@ -354,11 +369,18 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
354
369
|
mode: fillMode
|
|
355
370
|
});
|
|
356
371
|
const strokeColor = groupColor;
|
|
357
|
-
const COLLAPSE_BAR_H = 6;
|
|
358
372
|
nodeG.append("rect").attr("x", -w / 2).attr("y", -h / 2).attr("width", w).attr("height", h).attr("rx", sStateCornerRadius).attr("ry", sStateCornerRadius).attr("fill", fillColor).attr("stroke", strokeColor).attr("stroke-width", sNodeStrokeWidth);
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
373
|
+
renderCollapseBar(nodeG, {
|
|
374
|
+
x: -w / 2,
|
|
375
|
+
y: -h / 2,
|
|
376
|
+
width: w,
|
|
377
|
+
height: h,
|
|
378
|
+
rx: sStateCornerRadius,
|
|
379
|
+
fill: strokeColor,
|
|
380
|
+
clipId: `st-clip-${node.id.replace(/[[\]:\s]/g, "")}`,
|
|
381
|
+
prefix: "state",
|
|
382
|
+
scale: ctx
|
|
383
|
+
});
|
|
362
384
|
nodeG.append("text").attr("x", 0).attr("y", 0).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr(
|
|
363
385
|
"fill",
|
|
364
386
|
contrastText(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeLegendLayout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VVL2KKG4.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
6
|
} from "./chunk-ICLB27PZ.js";
|
|
7
7
|
import {
|
|
8
8
|
tagAttrKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KW3CC7SB.js";
|
|
10
10
|
import {
|
|
11
11
|
CONTROLS_ICON_PATH,
|
|
12
12
|
LEGEND_DOT_R,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
LEGEND_TOGGLE_OFF_OPACITY,
|
|
20
20
|
legendChromeColors,
|
|
21
21
|
measureLegendText
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OZXKW5NA.js";
|
|
23
23
|
import {
|
|
24
24
|
valueRampStops
|
|
25
25
|
} from "./chunk-6GXLAKUH.js";
|
|
@@ -10,14 +10,17 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ScaleContext
|
|
12
12
|
} from "./chunk-24YPR5EH.js";
|
|
13
|
+
import {
|
|
14
|
+
renderCollapseBar
|
|
15
|
+
} from "./chunk-LRTSTDJ6.js";
|
|
13
16
|
import {
|
|
14
17
|
layoutInlineHeader
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-REKLKGR6.js";
|
|
16
19
|
import {
|
|
17
20
|
TITLE_FONT_SIZE,
|
|
18
21
|
TITLE_FONT_WEIGHT,
|
|
19
22
|
TITLE_Y
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GULGSH2Z.js";
|
|
21
24
|
import {
|
|
22
25
|
ARROWHEAD_HEIGHT,
|
|
23
26
|
ARROWHEAD_WIDTH,
|
|
@@ -27,21 +30,21 @@ import {
|
|
|
27
30
|
EDGE_LABEL_UNRESOLVED_KNOCKOUT_OPACITY,
|
|
28
31
|
EDGE_STROKE_WIDTH,
|
|
29
32
|
NODE_STROKE_WIDTH
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WH6E6SHC.js";
|
|
31
34
|
import {
|
|
32
35
|
renderIntegratedLegend
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DFEVFLEG.js";
|
|
34
37
|
import {
|
|
35
38
|
getLegendExtent,
|
|
36
39
|
getMaxLegendReservedHeight
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VVL2KKG4.js";
|
|
38
41
|
import {
|
|
39
42
|
NOTE_BADGE_RADIUS,
|
|
40
43
|
noteConnectorPoints,
|
|
41
44
|
renderNoteBadge,
|
|
42
45
|
renderNoteBox,
|
|
43
46
|
renderNoteConnector
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-CLW45YKE.js";
|
|
45
48
|
import {
|
|
46
49
|
wrapDescriptionLines
|
|
47
50
|
} from "./chunk-7WEYXYLC.js";
|
|
@@ -56,17 +59,17 @@ import {
|
|
|
56
59
|
resolveGroupTagColor,
|
|
57
60
|
resolveTagColor,
|
|
58
61
|
tagAttrKey
|
|
59
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-KW3CC7SB.js";
|
|
60
63
|
import {
|
|
61
64
|
fillModeFromOptions,
|
|
62
65
|
legendInlineRequested,
|
|
63
66
|
legendSuppressed
|
|
64
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-RFGQDIOI.js";
|
|
65
68
|
import {
|
|
66
69
|
CHAR_WIDTH_RATIO,
|
|
67
70
|
measureText,
|
|
68
71
|
truncateText
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-PU5X3P3T.js";
|
|
70
73
|
import {
|
|
71
74
|
contrastText,
|
|
72
75
|
groupFill,
|
|
@@ -89,7 +92,6 @@ var NODE_FONT_SIZE = 11;
|
|
|
89
92
|
var MIN_NODE_FONT_SIZE = 9;
|
|
90
93
|
var EDGE_LABEL_FONT_SIZE = 11;
|
|
91
94
|
var NODE_RX = CARD_RADIUS;
|
|
92
|
-
var COLLAPSE_BAR_HEIGHT = 4;
|
|
93
95
|
var DESC_FONT_SIZE = 10;
|
|
94
96
|
var DESC_LINE_HEIGHT = 1.4;
|
|
95
97
|
var MAX_DESC_LINES = 6;
|
|
@@ -287,7 +289,6 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
|
|
|
287
289
|
const sEdgeLabelFontSize = sctx.text(EDGE_LABEL_FONT_SIZE);
|
|
288
290
|
const sEdgeStrokeWidth = sctx.structural(EDGE_STROKE_WIDTH);
|
|
289
291
|
const sNodeStrokeWidth = sctx.structural(NODE_STROKE_WIDTH);
|
|
290
|
-
const sCollapseBarHeight = sctx.structural(COLLAPSE_BAR_HEIGHT);
|
|
291
292
|
const sDescFontSize = sctx.text(DESC_FONT_SIZE);
|
|
292
293
|
const sGroupLabelFontSize = sctx.text(GROUP_LABEL_FONT_SIZE);
|
|
293
294
|
const sGroupLabelZone = sctx.structural(GROUP_LABEL_ZONE);
|
|
@@ -457,14 +458,22 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
|
|
|
457
458
|
const groupG = diagramG.append("g").attr(
|
|
458
459
|
"class",
|
|
459
460
|
group.collapsed ? "bl-group bl-group-collapsed" : "bl-group"
|
|
460
|
-
).attr("data-line-number", String(group.lineNumber)).attr("data-node-id", group.label).attr("data-group-toggle", group.label).style("cursor", "pointer");
|
|
461
|
+
).attr("data-line-number", String(group.lineNumber)).attr("data-node-id", group.label).attr("data-group-toggle", group.label).attr("role", "button").attr("aria-expanded", group.collapsed ? "false" : "true").attr("aria-label", group.label).style("cursor", "pointer");
|
|
461
462
|
if (group.collapsed) {
|
|
462
463
|
const fillColor = groupTagColor ? groupFill(palette, isDark, groupTagColor) : themeBaseBg(palette, isDark);
|
|
463
464
|
const strokeColor = groupTagColor ?? palette.border;
|
|
464
465
|
groupG.append("rect").attr("x", gx).attr("y", gy).attr("width", group.width).attr("height", group.height).attr("rx", NODE_RX).attr("ry", NODE_RX).attr("fill", fillColor).attr("stroke", strokeColor).attr("stroke-width", sNodeStrokeWidth);
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
renderCollapseBar(groupG, {
|
|
467
|
+
x: gx,
|
|
468
|
+
y: gy,
|
|
469
|
+
width: group.width,
|
|
470
|
+
height: group.height,
|
|
471
|
+
rx: NODE_RX,
|
|
472
|
+
fill: strokeColor,
|
|
473
|
+
clipId: `bl-clip-${group.label.replace(/[[\]\s]/g, "")}`,
|
|
474
|
+
prefix: "bl",
|
|
475
|
+
scale: sctx
|
|
476
|
+
});
|
|
468
477
|
const maxLabelLines = Math.max(
|
|
469
478
|
2,
|
|
470
479
|
Math.floor((group.height - 16) / (sMinNodeFontSize * 1.3))
|
|
@@ -490,6 +499,18 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
|
|
|
490
499
|
} else {
|
|
491
500
|
groupG.append("rect").attr("x", gx).attr("y", gy).attr("width", group.width).attr("height", groupHeight).attr("rx", GROUP_RX).attr("ry", GROUP_RX).attr("fill", groupFill(palette, isDark, groupTagColor)).attr("stroke", groupStroke(palette, groupTagColor)).attr("stroke-width", 1).attr("stroke-opacity", groupTagColor ? 1 : 0.35);
|
|
492
501
|
groupG.append("text").attr("class", "bl-group-label").attr("x", gx + group.width / 2).attr("y", gy + 18).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sGroupLabelFontSize).attr("font-weight", "bold").attr("fill", palette.text).text(group.label);
|
|
502
|
+
renderCollapseBar(groupG, {
|
|
503
|
+
expanded: true,
|
|
504
|
+
x: gx,
|
|
505
|
+
y: gy,
|
|
506
|
+
width: group.width,
|
|
507
|
+
height: groupHeight,
|
|
508
|
+
rx: GROUP_RX,
|
|
509
|
+
fill: groupStroke(palette, groupTagColor),
|
|
510
|
+
clipId: `bl-clip-${group.label.replace(/[[\]\s]/g, "")}`,
|
|
511
|
+
prefix: "bl",
|
|
512
|
+
scale: sctx
|
|
513
|
+
});
|
|
493
514
|
}
|
|
494
515
|
}
|
|
495
516
|
for (let i = 0; i < layout.edges.length; i++) {
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
PAIR_GAP,
|
|
6
6
|
layoutBracket,
|
|
7
7
|
wrapText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZBJV4KNU.js";
|
|
9
9
|
import {
|
|
10
10
|
layoutInlineHeader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-REKLKGR6.js";
|
|
12
12
|
import {
|
|
13
13
|
TITLE_FONT_SIZE,
|
|
14
14
|
TITLE_FONT_WEIGHT,
|
|
15
15
|
TITLE_Y
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GULGSH2Z.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DFEVFLEG.js";
|
|
20
20
|
import {
|
|
21
21
|
getLegendExtent,
|
|
22
22
|
getMaxLegendReservedHeight
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VVL2KKG4.js";
|
|
24
24
|
import {
|
|
25
25
|
renderInlineText
|
|
26
26
|
} from "./chunk-QKPOIJBT.js";
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
resolveTagColor,
|
|
32
32
|
tagAttrKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KW3CC7SB.js";
|
|
34
34
|
import {
|
|
35
35
|
LEGEND_GROUP_GAP
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-OZXKW5NA.js";
|
|
37
37
|
import {
|
|
38
38
|
measureText
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PU5X3P3T.js";
|
|
40
40
|
import {
|
|
41
41
|
contrastText,
|
|
42
42
|
getSeriesColors,
|