@diagrammo/dgmo 0.96.0 → 0.98.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 +178 -8
- package/dist/advanced.js +232 -246
- 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-VLI6AWS3.js → chunk-3C4OXVZJ.js} +2 -2
- package/dist/{chunk-I3ZRIMR7.js → chunk-3EDV56HL.js} +15 -15
- package/dist/{chunk-OO4GUE4E.js → chunk-3F74NDUY.js} +63 -18
- package/dist/{chunk-RGFVHYDP.js → chunk-3IUMSK72.js} +2 -2
- package/dist/chunk-42AZPI2W.js +150 -0
- 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-JBAFAKGX.js → chunk-4PZP6URA.js} +41 -51
- 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-IKXQ6NVR.js → chunk-6Q46GMKH.js} +21 -58
- package/dist/{chunk-DKCVAQU3.js → chunk-6YRTBI2F.js} +53 -75
- package/dist/{chunk-RTRORHSP.js → chunk-7QKWU7FX.js} +3 -3
- package/dist/{chunk-A6YINTY6.js → chunk-7RACGVUY.js} +1 -1
- package/dist/{chunk-H7RQG4PH.js → chunk-A3N4UHHL.js} +2 -2
- package/dist/{chunk-UNCCZ3NU.js → chunk-A3V72YIL.js} +14 -1
- package/dist/chunk-AHUBG6GR.js +188 -0
- package/dist/{chunk-P3PSLC2K.js → chunk-AULFF7L2.js} +2 -2
- package/dist/{chunk-SCYVGPLI.js → chunk-B7ZH5EQ2.js} +2 -2
- package/dist/{chunk-TUOZ6AXC.js → chunk-BTFB7W5Z.js} +16 -4
- package/dist/{chunk-THTYCJGF.js → chunk-BWVJTYTJ.js} +4 -4
- package/dist/{chunk-VGAMBOOC.js → chunk-C6ME2L4T.js} +2 -2
- package/dist/{chunk-H7JVKUA5.js → chunk-CES7REQM.js} +44 -60
- package/dist/{chunk-B2YVZ3QU.js → chunk-CGP7RGLJ.js} +1 -1
- package/dist/{chunk-34JOHSVE.js → chunk-CUTEHGXO.js} +2 -2
- package/dist/{chunk-NERQSSYD.js → chunk-D67YE4LR.js} +1 -1
- package/dist/{chunk-TPCP2UOI.js → chunk-D6XR22KO.js} +3 -3
- package/dist/{chunk-OAZ6BIIB.js → chunk-D7FHY6DO.js} +9 -7
- package/dist/{chunk-67N26CER.js → chunk-DA2GIHAY.js} +38 -5
- package/dist/{chunk-PGD6CNWO.js → chunk-DFEVFLEG.js} +3 -3
- package/dist/{chunk-VVTCUIPN.js → chunk-DKMZ4VMV.js} +1 -1
- package/dist/{chunk-VJ7NLYFE.js → chunk-DYI73PFY.js} +3 -3
- package/dist/{chunk-IQZSKWE5.js → chunk-E6GHXMH2.js} +8 -8
- package/dist/{chunk-I2I2FKAK.js → chunk-EBJLT7PH.js} +1 -1
- package/dist/{chunk-K2SFH3GJ.js → chunk-ENXENGW5.js} +3 -3
- package/dist/{chunk-FKJWZWNU.js → chunk-EUPUVYWO.js} +1 -1
- package/dist/{chunk-26EVL454.js → chunk-F4DGHT3F.js} +20 -0
- package/dist/{chunk-WLGOIMTI.js → chunk-FDVUD3PR.js} +4 -4
- package/dist/{chunk-IU7XKZA6.js → chunk-FK6HZYGK.js} +4 -14
- package/dist/{chunk-67RKJEKF.js → chunk-FTRW6YGU.js} +35 -11
- 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-4B45SNZH.js → chunk-G36XKXWT.js} +17 -15
- package/dist/{chunk-5H7SA5ZD.js → chunk-GFQFLLP3.js} +2 -2
- package/dist/{chunk-MAYTYF5S.js → chunk-GMJBBFKC.js} +3 -3
- package/dist/{chunk-5BG4OSWJ.js → chunk-GNQYARON.js} +20 -57
- package/dist/{chunk-RVOSA4RR.js → chunk-GNWCMWTO.js} +441 -267
- 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-CD7VQCDL.js → chunk-H7XXQSYA.js} +63 -53
- package/dist/{chunk-GLCMUTO5.js → chunk-HQNZJMNS.js} +1 -1
- package/dist/{chunk-WTPS73RM.js → chunk-II6D6NWX.js} +8 -8
- package/dist/{chunk-3W73ZP6W.js → chunk-IMBFWXHF.js} +3 -3
- 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-EPDBWATV.js → chunk-K7RRXZHS.js} +4 -2
- package/dist/{chunk-TIPNNOZC.js → chunk-KKJG3LBY.js} +41 -19
- 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-NI4L6HEU.js → chunk-LZATSXAA.js} +1 -1
- package/dist/{chunk-EPB3UEMD.js → chunk-NBISN6FH.js} +2 -2
- package/dist/{chunk-VNAPEZX2.js → chunk-NHN6GBG7.js} +1 -1
- package/dist/{chunk-EM5SA7NC.js → chunk-NQFZ7LXC.js} +4 -4
- package/dist/chunk-NTDWVTEY.js +12 -0
- package/dist/{chunk-ZBOIYC2G.js → chunk-NXOIH5JK.js} +8 -13
- package/dist/{chunk-AUXUNV73.js → chunk-O3HRF25Z.js} +1 -1
- package/dist/{chunk-KDWEOT54.js → chunk-O5APWRZN.js} +192 -230
- 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-CP73WWLN.js → chunk-PRYAVMU6.js} +48 -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-MVUNMJKO.js → chunk-Q6OKTHYL.js} +71 -57
- package/dist/{chunk-ZOKD5F7M.js → chunk-QDPTOIG7.js} +5 -5
- package/dist/{chunk-2BYFNZVM.js → chunk-QGSQ2LMB.js} +57 -15
- package/dist/{chunk-ERT7XDQW.js → chunk-QIITSGI5.js} +1 -1
- package/dist/{chunk-K2WXMXI2.js → chunk-QLIZ7SB7.js} +1 -1
- 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-MYHR3PMH.js → chunk-S5VZLZUQ.js} +7 -7
- package/dist/{chunk-JRN2CRXJ.js → chunk-TDUBTDXS.js} +1 -1
- package/dist/{chunk-IZFJZCF6.js → chunk-TGQQD2KC.js} +84 -16
- package/dist/{chunk-GM2SLMQW.js → chunk-TMB4YY3J.js} +34 -4
- package/dist/{chunk-HH3DHNQA.js → chunk-UWWQECLC.js} +2 -2
- package/dist/{chunk-HZX4QZGR.js → chunk-V65EDV6S.js} +3 -3
- package/dist/{chunk-OYGJZA24.js → chunk-VHVQT4EW.js} +39 -19
- package/dist/{chunk-KQAPFIYF.js → chunk-VQWLASDC.js} +2 -2
- package/dist/chunk-VTGGPBLW.js +14 -0
- package/dist/{chunk-LRHPBWOY.js → chunk-VUBCCY65.js} +32 -69
- package/dist/{chunk-JILEYZ2V.js → chunk-VVL2KKG4.js} +1 -1
- package/dist/{chunk-D7DGLJ7N.js → chunk-VVZDBUHA.js} +2 -2
- package/dist/{chunk-B5CEV7IR.js → chunk-VYEIMHL5.js} +38 -14
- package/dist/{chunk-XCKNFFKM.js → chunk-WH6E6SHC.js} +2 -4
- package/dist/{chunk-P2GNNEMN.js → chunk-WPYJAHRP.js} +1 -1
- package/dist/{chunk-RIK6WUMO.js → chunk-XCYGOCMS.js} +43 -26
- package/dist/{chunk-PWZEJNO6.js → chunk-XMUFXJI2.js} +6 -6
- package/dist/{chunk-5G4DOOX2.js → chunk-XPOEE2RW.js} +9 -5
- package/dist/{chunk-EMGNCG5C.js → chunk-XZGXVN4T.js} +5 -5
- package/dist/{chunk-BUVLLK3D.js → chunk-Y24QPREP.js} +27 -17
- package/dist/{chunk-GEHK4UD5.js → chunk-YCIOLYWL.js} +92 -23
- package/dist/{chunk-V2NQV7VL.js → chunk-YFIDR7JH.js} +2 -2
- 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-M4ZUIW3J.js → chunk-Z6V73LD6.js} +3 -3
- package/dist/{chunk-ZI6WC24V.js → chunk-ZBJV4KNU.js} +1 -1
- package/dist/{chunk-YSGOXZBB.js → chunk-ZMVMGZAJ.js} +1 -1
- package/dist/{chunk-O2HNVNKO.js → chunk-ZTKO2RD4.js} +5 -5
- package/dist/{chunk-5GU6C5WB.js → chunk-ZXPSNBZC.js} +3 -3
- 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-RXV7BNPN.js +101 -0
- package/dist/dimensions-KXAI7U2B.js +21 -0
- package/dist/editor.js +882 -215
- package/dist/{flowchart-parser-SM5LHF2D.js → flowchart-parser-JAZRKKKJ.js} +5 -5
- package/dist/flowchart-renderer-JED3RESY.js +40 -0
- 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-LNVIH45F.js → layout-6QXAC2WA.js} +7 -6
- package/dist/{layout-2WESJYRE.js → layout-7E7BNOGO.js} +3 -2
- package/dist/layout-BSK374N6.js +11 -0
- package/dist/{layout-FCFUVCRI.js → layout-DJOZCSAP.js} +10 -10
- package/dist/{layout-R6G4MEO3.js → layout-FJDBY3WG.js} +5 -5
- package/dist/{layout-H2KP5A6M.js → layout-GC5XX2RH.js} +2 -2
- package/dist/{layout-KELSNWBD.js → layout-LCHMEGTV.js} +10 -10
- package/dist/{layout-PPIVGJXD.js → layout-ROI5KVSO.js} +3 -3
- package/dist/{layout-3TSVAGWH.js → layout-SPPS225I.js} +3 -3
- package/dist/{layout-AF4KA5B2.js → layout-VHBM32OD.js} +6 -6
- package/dist/{layout-HF3PMI4H.js → layout-VTGOYGRC.js} +2 -2
- package/dist/layout-WTHBGTH2.js +15 -0
- package/dist/layout-ZCCABSV7.js +15 -0
- package/dist/{layout-MPSH3YWE.js → layout-ZDMJL4KO.js} +10 -10
- package/dist/{layout-search-C2TYUH4L.js → layout-search-UZYZE4PR.js} +8 -8
- package/dist/{legend-constants-55MFBXYF.js → legend-constants-KF3MKWL2.js} +2 -2
- package/dist/{parser-6WURFLOB.js → parser-3KMY23A2.js} +3 -3
- package/dist/{parser-DGLKH4NT.js → parser-3PMYAVFL.js} +2 -2
- package/dist/{parser-OHBBDCG4.js → parser-5KVFS4RN.js} +2 -2
- package/dist/{parser-QWTECQEC.js → parser-ASXY2CPV.js} +6 -6
- 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-DRUGM3R6.js → parser-FWQY3HJX.js} +2 -2
- package/dist/{parser-4GHAYZKZ.js → parser-GBB5MYAN.js} +6 -6
- package/dist/{parser-GBQY3WOZ.js → parser-GMCXCJSP.js} +3 -3
- package/dist/{parser-BPYHIG24.js → parser-IHFHPFL7.js} +3 -3
- 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-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/{parser-ZV756RMP.js → parser-ZSBMGGTD.js} +6 -6
- package/dist/renderer-37LMEGLD.js +26 -0
- package/dist/{renderer-TS5NHOQD.js → renderer-3EIZRVO3.js} +12 -11
- package/dist/renderer-4LK2RFHD.js +28 -0
- package/dist/{renderer-BYLQ37T2.js → renderer-4WD4ZIEH.js} +16 -15
- package/dist/renderer-67PNYODC.js +32 -0
- package/dist/{renderer-GKY55M4Z.js → renderer-6O5SV5YE.js} +10 -10
- package/dist/{renderer-VNJOZPSH.js → renderer-6VBL2DWH.js} +17 -17
- package/dist/{renderer-F7YGMEGQ.js → renderer-7OXMSF4R.js} +4 -4
- package/dist/{renderer-6HU44IGJ.js → renderer-A36NL2SS.js} +8 -8
- package/dist/renderer-CC6O6GQK.js +18 -0
- package/dist/renderer-CUEMI3PI.js +85 -0
- package/dist/{renderer-QZJZIAT3.js → renderer-D6BEC6LI.js} +6 -4
- package/dist/{renderer-5GP7YUS4.js → renderer-DT2PP7NJ.js} +7 -6
- 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-GHYW6Y3A.js +27 -0
- package/dist/{renderer-VUXAAGUG.js → renderer-HRUKL4T6.js} +12 -11
- package/dist/renderer-INQMQPNN.js +22 -0
- package/dist/{renderer-LJPUCG3U.js → renderer-KOPJ76GS.js} +10 -10
- package/dist/renderer-KVC7Z4T2.js +39 -0
- package/dist/{renderer-MVBAQP3M.js → renderer-MYKL6VG6.js} +6 -6
- package/dist/{renderer-D6EH5UQ6.js → renderer-QVUPRQ4L.js} +13 -12
- package/dist/{renderer-SYRH3B62.js → renderer-RBAMFLZQ.js} +14 -13
- package/dist/{renderer-YJVQT7QG.js → renderer-S6L3JR6C.js} +11 -11
- package/dist/{renderer-ONENGXFQ.js → renderer-SGRZKIMS.js} +14 -12
- package/dist/{renderer-NOYLNVTI.js → renderer-SYWVZ4CY.js} +3 -3
- package/dist/{renderer-66NCRXSC.js → renderer-TJPBVNVG.js} +14 -11
- package/dist/renderer-WK2BPXND.js +41 -0
- package/dist/renderer-ZG7WOBBN.js +30 -0
- package/dist/{renderer-N6PM5CSG.js → renderer-ZRPL5COW.js} +14 -13
- 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-LSFAJFMV.js} +6 -6
- package/dist/state-renderer-QTDBFB4F.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 +100 -14
- 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/flowchart-renderer-PPS2GTTD.js +0 -40
- 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
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tagAttrKey,
|
|
12
12
|
validateTagGroupNames,
|
|
13
13
|
validateTagValues
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KW3CC7SB.js";
|
|
15
15
|
import {
|
|
16
16
|
AliasRegistry,
|
|
17
17
|
OPTION_NOCOLON_RE,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
splitNameAndMeta,
|
|
24
24
|
warnUnknownMetaKeys,
|
|
25
25
|
withTagAliases
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RFGQDIOI.js";
|
|
27
27
|
import {
|
|
28
28
|
formatDgmoError,
|
|
29
29
|
makeDgmoError,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-BYU54C3S.js";
|
|
33
33
|
|
|
34
34
|
// src/org/parser.ts
|
|
35
|
-
var CONTAINER_RE = /^\[([^\]]+)\](?:\s+collapsed:\s*(\S+))?$/;
|
|
35
|
+
var CONTAINER_RE = /^\[([^\]]+)\](?:\s+collapsed:\s*(\S+)|\s+(collapsed))?$/;
|
|
36
36
|
var METADATA_RE = /^([^:]+):\s*(.+)$/;
|
|
37
37
|
var KNOWN_OPTIONS = /* @__PURE__ */ new Set([
|
|
38
38
|
"sub-node-label",
|
|
@@ -238,7 +238,7 @@ function parseOrg(content, palette) {
|
|
|
238
238
|
// The same-line collapse marker (capture 2, §6.4.1). Goes into metadata
|
|
239
239
|
// rather than the typed field so the one post-parse lift handles every
|
|
240
240
|
// route — same-line here, indented under the header, or under a person.
|
|
241
|
-
metadata: containerMatch[2] !== void 0 ? { collapsed: containerMatch[2] } : {},
|
|
241
|
+
metadata: containerMatch[2] !== void 0 ? { collapsed: containerMatch[2] } : containerMatch[3] !== void 0 ? { collapsed: "true" } : {},
|
|
242
242
|
children: [],
|
|
243
243
|
parentId: null,
|
|
244
244
|
isContainer: true,
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
BODY_TERMS,
|
|
3
2
|
getFigure,
|
|
4
3
|
resolvePartKey
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-453IWXZ3.js";
|
|
6
5
|
import {
|
|
7
6
|
AUTO_TAG_COLOR_SENTINEL,
|
|
8
7
|
finalizeAutoTagColors,
|
|
9
8
|
matchTagBlockHeading,
|
|
10
9
|
stripDefaultModifier,
|
|
11
10
|
tagAttrKey
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KW3CC7SB.js";
|
|
13
12
|
import {
|
|
14
13
|
extractColor,
|
|
15
14
|
fillModeFromToken,
|
|
16
15
|
measureIndent,
|
|
17
16
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RFGQDIOI.js";
|
|
19
18
|
import {
|
|
20
19
|
emit
|
|
21
20
|
} from "./chunk-BYU54C3S.js";
|
|
@@ -250,17 +249,8 @@ function parseBody(content, palette) {
|
|
|
250
249
|
diagnostics
|
|
251
250
|
};
|
|
252
251
|
}
|
|
253
|
-
function extractSymbols(docText) {
|
|
254
|
-
const parsed = parseBody(docText);
|
|
255
|
-
const figures = (parsed.options.views.length ? parsed.options.views : ["front"]).map((v) => getFigure(parsed.options.sex, v));
|
|
256
|
-
const entities = BODY_TERMS.filter(
|
|
257
|
-
(t) => t === "left" || t === "right" || figures.some((f) => resolvePartKey(f, t))
|
|
258
|
-
);
|
|
259
|
-
return { kind: "body", entities };
|
|
260
|
-
}
|
|
261
252
|
|
|
262
253
|
export {
|
|
263
254
|
BODY_DIAGNOSTICS,
|
|
264
|
-
parseBody
|
|
265
|
-
extractSymbols
|
|
255
|
+
parseBody
|
|
266
256
|
};
|
|
@@ -1,31 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
collapsedJourneyPhasesFromSource
|
|
3
|
+
} from "./chunk-NTDWVTEY.js";
|
|
1
4
|
import {
|
|
2
5
|
TAG_STRIP_HEIGHT,
|
|
3
6
|
layoutJourneyMap,
|
|
4
7
|
scoreToColor,
|
|
5
8
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GFQFLLP3.js";
|
|
7
10
|
import {
|
|
8
11
|
parseJourneyMap
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TMB4YY3J.js";
|
|
10
13
|
import {
|
|
11
14
|
serializeSvg
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YLKPRT6U.js";
|
|
13
16
|
import {
|
|
14
17
|
ScaleContext
|
|
15
18
|
} from "./chunk-24YPR5EH.js";
|
|
19
|
+
import {
|
|
20
|
+
renderCollapseBar
|
|
21
|
+
} from "./chunk-42AZPI2W.js";
|
|
16
22
|
import {
|
|
17
23
|
CARD_RADIUS,
|
|
18
24
|
CONTAINER_RADIUS,
|
|
19
25
|
GRID_DASH,
|
|
20
26
|
NODE_STROKE_WIDTH
|
|
21
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WH6E6SHC.js";
|
|
22
28
|
import {
|
|
23
29
|
renderIntegratedLegend
|
|
24
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DFEVFLEG.js";
|
|
25
31
|
import {
|
|
26
32
|
NOTE_BULLET_INDENT,
|
|
27
33
|
wrapNoteBody
|
|
28
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DA2GIHAY.js";
|
|
29
35
|
import {
|
|
30
36
|
renderInlineText
|
|
31
37
|
} from "./chunk-QKPOIJBT.js";
|
|
@@ -35,15 +41,15 @@ import {
|
|
|
35
41
|
import {
|
|
36
42
|
resolveActiveTagGroup,
|
|
37
43
|
tagAttrKey
|
|
38
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-KW3CC7SB.js";
|
|
39
45
|
import {
|
|
40
46
|
fillModeFromOptions
|
|
41
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-RFGQDIOI.js";
|
|
42
48
|
import {
|
|
43
49
|
measureText,
|
|
44
50
|
truncateText,
|
|
45
51
|
wrapTextToWidth
|
|
46
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PU5X3P3T.js";
|
|
47
53
|
import {
|
|
48
54
|
contrastText,
|
|
49
55
|
mix,
|
|
@@ -374,6 +380,9 @@ function renderJourneyMap(container, parsed, palette, isDark, options) {
|
|
|
374
380
|
for (const pl of layout.phases) {
|
|
375
381
|
const isCollapsed = collapsedPhases.has(pl.phase.name);
|
|
376
382
|
const phaseG = phasesG.append("g").attr("class", "journey-phase").attr("data-line-number", pl.phase.lineNumber);
|
|
383
|
+
if (pl.phase.steps.length > 0) {
|
|
384
|
+
phaseG.attr("data-group-toggle", pl.phase.name).attr("aria-expanded", String(!isCollapsed)).attr("role", "button").attr("aria-label", pl.phase.name);
|
|
385
|
+
}
|
|
377
386
|
const colBg = isDark ? mix(palette.surface, palette.bg, 50) : mix(palette.surface, palette.bg, 30);
|
|
378
387
|
phaseG.append("rect").attr("x", pl.x).attr("y", pl.y).attr("width", pl.width).attr("height", pl.height).attr("rx", CONTAINER_RADIUS).attr("fill", colBg);
|
|
379
388
|
phaseG.append("rect").attr("x", pl.x).attr("y", pl.y).attr("width", pl.width).attr("height", COLUMN_HEADER_HEIGHT).attr("rx", CONTAINER_RADIUS).attr("fill", pl.headerColor);
|
|
@@ -405,6 +414,19 @@ function renderJourneyMap(container, parsed, palette, isDark, options) {
|
|
|
405
414
|
}
|
|
406
415
|
});
|
|
407
416
|
}
|
|
417
|
+
if (pl.phase.steps.length > 0) {
|
|
418
|
+
renderCollapseBar(phaseG, {
|
|
419
|
+
expanded: !isCollapsed,
|
|
420
|
+
x: pl.x,
|
|
421
|
+
y: pl.y,
|
|
422
|
+
width: pl.width,
|
|
423
|
+
height: pl.height,
|
|
424
|
+
rx: CONTAINER_RADIUS,
|
|
425
|
+
fill: pl.headerColor,
|
|
426
|
+
clipId: `journey-phase-clip-${pl.phase.lineNumber}`,
|
|
427
|
+
prefix: "journey"
|
|
428
|
+
});
|
|
429
|
+
}
|
|
408
430
|
if (isCollapsed) {
|
|
409
431
|
const COLLAPSED_CARD_H = 26;
|
|
410
432
|
const COLLAPSED_GAP = 6;
|
|
@@ -857,11 +879,13 @@ function renderJourneyMapForExport(content, theme, palette) {
|
|
|
857
879
|
return "";
|
|
858
880
|
}
|
|
859
881
|
const isDark = theme === "dark";
|
|
860
|
-
const
|
|
882
|
+
const collapsedPhases = collapsedJourneyPhasesFromSource(parsed);
|
|
883
|
+
const layout = layoutJourneyMap(parsed, palette, { isDark, collapsedPhases });
|
|
861
884
|
const container = document.createElement("div");
|
|
862
885
|
renderJourneyMap(container, parsed, palette, isDark, {
|
|
863
886
|
exportDims: { width: layout.totalWidth, height: layout.totalHeight },
|
|
864
|
-
exportMode: true
|
|
887
|
+
exportMode: true,
|
|
888
|
+
collapsedPhases
|
|
865
889
|
});
|
|
866
890
|
const svgEl = container.querySelector("svg");
|
|
867
891
|
if (!svgEl) return "";
|
|
@@ -5,14 +5,14 @@ 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
|
ARROWHEAD_HEIGHT,
|
|
11
11
|
ARROWHEAD_WIDTH
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WH6E6SHC.js";
|
|
13
13
|
import {
|
|
14
14
|
renderIntegratedLegend
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DFEVFLEG.js";
|
|
16
16
|
import {
|
|
17
17
|
wrapDescriptionLines
|
|
18
18
|
} from "./chunk-7WEYXYLC.js";
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
} from "./chunk-ICLB27PZ.js";
|
|
25
25
|
import {
|
|
26
26
|
fillModeFromOptions
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RFGQDIOI.js";
|
|
28
28
|
import {
|
|
29
29
|
LEGEND_HEIGHT
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OZXKW5NA.js";
|
|
31
31
|
import {
|
|
32
32
|
measureText,
|
|
33
33
|
wrapTextToWidth
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-PU5X3P3T.js";
|
|
35
35
|
import {
|
|
36
36
|
contrastText,
|
|
37
37
|
shapeFill
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
COLLAPSE_BAR_HEIGHT
|
|
3
|
+
} from "./chunk-WH6E6SHC.js";
|
|
1
4
|
import {
|
|
2
5
|
CHAR_WIDTH_RATIO,
|
|
3
6
|
measureText,
|
|
4
7
|
truncateText
|
|
5
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PU5X3P3T.js";
|
|
6
9
|
|
|
7
10
|
// src/infra/layout.ts
|
|
8
11
|
import dagre from "@dagrejs/dagre";
|
|
@@ -12,7 +15,6 @@ var META_LINE_HEIGHT = 14;
|
|
|
12
15
|
var NODE_SEPARATOR_GAP = 4;
|
|
13
16
|
var NODE_PAD_BOTTOM = 10;
|
|
14
17
|
var ROLE_DOT_ROW = 12;
|
|
15
|
-
var COLLAPSE_BAR_HEIGHT = 6;
|
|
16
18
|
var NODE_FONT_SIZE = 13;
|
|
17
19
|
var META_FONT_SIZE = 10;
|
|
18
20
|
var EDGE_LABEL_FONT_SIZE = 11;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// src/boxes-and-lines/collapse.ts
|
|
2
|
+
function collapseBoxesAndLines(parsed, collapsedGroups) {
|
|
3
|
+
const originalGroups = parsed.groups;
|
|
4
|
+
if (collapsedGroups.size === 0) {
|
|
5
|
+
return { parsed, collapsedChildCounts: /* @__PURE__ */ new Map(), originalGroups };
|
|
6
|
+
}
|
|
7
|
+
const groupByLabel = /* @__PURE__ */ new Map();
|
|
8
|
+
for (const group of parsed.groups) {
|
|
9
|
+
groupByLabel.set(group.label, group);
|
|
10
|
+
}
|
|
11
|
+
const nodeToGroup = /* @__PURE__ */ new Map();
|
|
12
|
+
const collapsedChildCounts = /* @__PURE__ */ new Map();
|
|
13
|
+
function collectDescendants(groupLabel) {
|
|
14
|
+
const group = groupByLabel.get(groupLabel);
|
|
15
|
+
if (!group) return [];
|
|
16
|
+
const descendants = [];
|
|
17
|
+
for (const child of group.children) {
|
|
18
|
+
descendants.push(child);
|
|
19
|
+
if (groupByLabel.has(child)) {
|
|
20
|
+
descendants.push(...collectDescendants(child));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return descendants;
|
|
24
|
+
}
|
|
25
|
+
for (const groupLabel of collapsedGroups) {
|
|
26
|
+
const group = groupByLabel.get(groupLabel);
|
|
27
|
+
if (!group) continue;
|
|
28
|
+
const groupId = `__group_${groupLabel}`;
|
|
29
|
+
const allDescendants = collectDescendants(groupLabel);
|
|
30
|
+
for (const child of allDescendants) {
|
|
31
|
+
nodeToGroup.set(child, groupId);
|
|
32
|
+
}
|
|
33
|
+
collapsedChildCounts.set(groupLabel, group.children.length);
|
|
34
|
+
}
|
|
35
|
+
const nodes = parsed.nodes.filter((n) => !nodeToGroup.has(n.label));
|
|
36
|
+
const edgeKeys = /* @__PURE__ */ new Set();
|
|
37
|
+
const edges = [];
|
|
38
|
+
for (const edge of parsed.edges) {
|
|
39
|
+
const src = nodeToGroup.get(edge.source) ?? edge.source;
|
|
40
|
+
const tgt = nodeToGroup.get(edge.target) ?? edge.target;
|
|
41
|
+
if (src === tgt) continue;
|
|
42
|
+
const key = `${src}|${tgt}|${edge.label ?? ""}`;
|
|
43
|
+
if (edgeKeys.has(key)) continue;
|
|
44
|
+
edgeKeys.add(key);
|
|
45
|
+
edges.push({ ...edge, source: src, target: tgt });
|
|
46
|
+
}
|
|
47
|
+
const groups = parsed.groups.filter(
|
|
48
|
+
(g) => !collapsedGroups.has(g.label) && !nodeToGroup.has(g.label)
|
|
49
|
+
);
|
|
50
|
+
return {
|
|
51
|
+
parsed: { ...parsed, nodes, edges, groups },
|
|
52
|
+
collapsedChildCounts,
|
|
53
|
+
originalGroups
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function collapsedBLGroupsFromSource(parsed) {
|
|
57
|
+
return new Set(parsed.groups.filter((g) => g.collapsed).map((g) => g.label));
|
|
58
|
+
}
|
|
59
|
+
function unionCollapsedBLGroups(parsed, runtime) {
|
|
60
|
+
const set = collapsedBLGroupsFromSource(parsed);
|
|
61
|
+
for (const label of runtime ?? []) set.add(label);
|
|
62
|
+
return set;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export {
|
|
66
|
+
collapseBoxesAndLines,
|
|
67
|
+
collapsedBLGroupsFromSource,
|
|
68
|
+
unionCollapsedBLGroups
|
|
69
|
+
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
CYLINDER_RY,
|
|
3
|
-
QUEUE_CAP,
|
|
4
2
|
collectCardMetadata,
|
|
5
3
|
layoutC4Components,
|
|
6
4
|
layoutC4Containers,
|
|
7
5
|
layoutC4Context,
|
|
8
6
|
layoutC4Deployment
|
|
9
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NXOIH5JK.js";
|
|
8
|
+
import {
|
|
9
|
+
CYLINDER_RY,
|
|
10
|
+
QUEUE_CAP
|
|
11
|
+
} from "./chunk-VTGGPBLW.js";
|
|
10
12
|
import {
|
|
11
13
|
appendArrowheadMarkers,
|
|
12
14
|
appendReverseArrowheadMarkers
|
|
13
15
|
} from "./chunk-XBJJP2HN.js";
|
|
14
16
|
import {
|
|
15
17
|
serializeSvg
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YLKPRT6U.js";
|
|
17
19
|
import {
|
|
18
20
|
parseC4
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5WZYJC2P.js";
|
|
20
22
|
import {
|
|
21
23
|
TITLE_FONT_SIZE,
|
|
22
24
|
TITLE_FONT_WEIGHT
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GULGSH2Z.js";
|
|
24
26
|
import {
|
|
25
27
|
ARROWHEAD_HEIGHT,
|
|
26
28
|
ARROWHEAD_WIDTH,
|
|
27
29
|
CARD_RADIUS,
|
|
28
|
-
COLLAPSE_BAR_HEIGHT,
|
|
29
30
|
CONTAINER_RADIUS,
|
|
30
31
|
EDGE_DASH,
|
|
31
32
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
@@ -34,10 +35,10 @@ import {
|
|
|
34
35
|
META_FONT_SIZE,
|
|
35
36
|
META_LINE_HEIGHT,
|
|
36
37
|
NODE_STROKE_WIDTH
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WH6E6SHC.js";
|
|
38
39
|
import {
|
|
39
40
|
renderIntegratedLegend
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-DFEVFLEG.js";
|
|
41
42
|
import {
|
|
42
43
|
preprocessDescriptionLine
|
|
43
44
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -50,17 +51,17 @@ import {
|
|
|
50
51
|
import {
|
|
51
52
|
resolveGroupTagColor,
|
|
52
53
|
tagAttrKey
|
|
53
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-KW3CC7SB.js";
|
|
54
55
|
import {
|
|
55
56
|
fillModeFromOptions
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RFGQDIOI.js";
|
|
57
58
|
import {
|
|
58
59
|
LEGEND_HEIGHT
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-OZXKW5NA.js";
|
|
60
61
|
import {
|
|
61
62
|
measureText,
|
|
62
63
|
wrapTextToWidth
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-PU5X3P3T.js";
|
|
64
65
|
import {
|
|
65
66
|
contrastText,
|
|
66
67
|
groupFill,
|
|
@@ -71,6 +72,7 @@ import {
|
|
|
71
72
|
// src/c4/renderer.ts
|
|
72
73
|
import * as d3Selection from "d3-selection";
|
|
73
74
|
import * as d3Shape from "d3-shape";
|
|
75
|
+
var C4_DRILL_BAR_HEIGHT = 6;
|
|
74
76
|
var DIAGRAM_PADDING = 20;
|
|
75
77
|
var MAX_SCALE = 3;
|
|
76
78
|
var TITLE_HEIGHT = 30;
|
|
@@ -300,7 +302,7 @@ function renderC4Context(container, parsed, layout, palette, isDark, onClickItem
|
|
|
300
302
|
if (node.drillable) {
|
|
301
303
|
const clipId = `clip-drill-${node.id.replace(/\s+/g, "-")}`;
|
|
302
304
|
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 -
|
|
305
|
+
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
306
|
}
|
|
305
307
|
}
|
|
306
308
|
if (hasLegend) {
|
|
@@ -985,7 +987,7 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
985
987
|
if (node.drillable) {
|
|
986
988
|
const clipId = `clip-drill-${node.id.replace(/\s+/g, "-")}`;
|
|
987
989
|
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 -
|
|
990
|
+
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
991
|
}
|
|
990
992
|
}
|
|
991
993
|
if (hasLegend) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes,
|
|
6
6
|
tryCollectNote
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UWWQECLC.js";
|
|
8
8
|
import {
|
|
9
9
|
displayName,
|
|
10
10
|
normalizeName
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
tagAttrKey,
|
|
19
19
|
validateTagGroupNames,
|
|
20
20
|
validateTagValues
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KW3CC7SB.js";
|
|
22
22
|
import {
|
|
23
23
|
AliasRegistry,
|
|
24
24
|
ER_REGISTRY,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
tryParseSharedOption,
|
|
33
33
|
warnUnknownMetaKeys,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RFGQDIOI.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveColorWithDiagnostic
|
|
38
38
|
} from "./chunk-3J7O3CU6.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutClassDiagram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DYI73PFY.js";
|
|
4
4
|
import {
|
|
5
5
|
extractExportSvg,
|
|
6
6
|
runInExportContainer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q5Q5JLRT.js";
|
|
8
8
|
import {
|
|
9
9
|
ScaleContext
|
|
10
10
|
} from "./chunk-24YPR5EH.js";
|
|
11
11
|
import {
|
|
12
12
|
layoutInlineHeader
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-REKLKGR6.js";
|
|
14
14
|
import {
|
|
15
15
|
TITLE_FONT_SIZE,
|
|
16
16
|
TITLE_FONT_WEIGHT,
|
|
17
17
|
TITLE_Y
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GULGSH2Z.js";
|
|
19
19
|
import {
|
|
20
20
|
ARROWHEAD_HEIGHT,
|
|
21
21
|
ARROWHEAD_WIDTH,
|
|
@@ -23,23 +23,19 @@ import {
|
|
|
23
23
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
24
24
|
EDGE_STROKE_WIDTH,
|
|
25
25
|
NODE_STROKE_WIDTH
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WH6E6SHC.js";
|
|
27
27
|
import {
|
|
28
28
|
renderIntegratedLegend
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DFEVFLEG.js";
|
|
30
30
|
import {
|
|
31
31
|
getLegendExtent
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VVL2KKG4.js";
|
|
33
33
|
import {
|
|
34
34
|
parseClassDiagram
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Z6V73LD6.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
renderNoteBadge,
|
|
40
|
-
renderNoteBox,
|
|
41
|
-
renderNoteConnector
|
|
42
|
-
} from "./chunk-67N26CER.js";
|
|
37
|
+
renderNodeNote
|
|
38
|
+
} from "./chunk-DA2GIHAY.js";
|
|
43
39
|
import {
|
|
44
40
|
FONT_FAMILY
|
|
45
41
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -47,13 +43,13 @@ import {
|
|
|
47
43
|
fillModeFromOptions,
|
|
48
44
|
legendInlineRequested,
|
|
49
45
|
legendSuppressed
|
|
50
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RFGQDIOI.js";
|
|
51
47
|
import {
|
|
52
48
|
LEGEND_HEIGHT
|
|
53
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OZXKW5NA.js";
|
|
54
50
|
import {
|
|
55
51
|
measureText
|
|
56
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PU5X3P3T.js";
|
|
57
53
|
import {
|
|
58
54
|
contrastText,
|
|
59
55
|
shapeFill
|
|
@@ -374,46 +370,13 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
|
|
|
374
370
|
}
|
|
375
371
|
}
|
|
376
372
|
if (node.note) {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
palette,
|
|
385
|
-
{
|
|
386
|
-
isDark,
|
|
387
|
-
...node.note.color && { color: node.note.color },
|
|
388
|
-
lineNumber: node.note.lineNumber,
|
|
389
|
-
endLineNumber: node.note.endLineNumber
|
|
390
|
-
}
|
|
391
|
-
);
|
|
392
|
-
} else {
|
|
393
|
-
const [cx1, cy1, cx2, cy2] = noteConnectorPoints(
|
|
394
|
-
{ width: w, height: h },
|
|
395
|
-
node.note
|
|
396
|
-
);
|
|
397
|
-
renderNoteConnector(nodeG, cx1, cy1, cx2, cy2, palette);
|
|
398
|
-
renderNoteBox(
|
|
399
|
-
nodeG,
|
|
400
|
-
{
|
|
401
|
-
x: node.note.x,
|
|
402
|
-
y: node.note.y,
|
|
403
|
-
width: node.note.width,
|
|
404
|
-
height: node.note.height
|
|
405
|
-
},
|
|
406
|
-
node.note.lines,
|
|
407
|
-
palette,
|
|
408
|
-
{
|
|
409
|
-
isDark,
|
|
410
|
-
...node.note.color && { color: node.note.color },
|
|
411
|
-
lineNumber: node.note.lineNumber,
|
|
412
|
-
endLineNumber: node.note.endLineNumber,
|
|
413
|
-
interactive: true
|
|
414
|
-
}
|
|
415
|
-
);
|
|
416
|
-
}
|
|
373
|
+
renderNodeNote(
|
|
374
|
+
nodeG,
|
|
375
|
+
{ width: w, height: h },
|
|
376
|
+
node.note,
|
|
377
|
+
palette,
|
|
378
|
+
isDark
|
|
379
|
+
);
|
|
417
380
|
}
|
|
418
381
|
}
|
|
419
382
|
}
|