@diagrammo/dgmo 0.91.0 → 0.92.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 +13 -11
- package/dist/advanced.js +122 -121
- package/dist/{analyzer-7ZGAZIE6.js → analyzer-G7PGOT3V.js} +2 -2
- package/dist/block.d.ts +10 -3
- package/dist/block.js +66 -65
- package/dist/{calculator-3LZUWOBK.js → calculator-BNH3GSJE.js} +4 -4
- package/dist/{chart-meta-B_WTMP0y.d.ts → chart-meta-BBqLnv5q.d.ts} +4 -3
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +22 -22
- package/dist/{chart-types-V2NcgN5O.d.ts → chart-types-CbXlZFLd.d.ts} +3 -2
- package/dist/charts-d3-QUUDVETP.js +31 -0
- package/dist/{chunk-634LDSN6.js → chunk-26BBJUBW.js} +2 -2
- package/dist/{chunk-ZJ4PYTCK.js → chunk-2BJW7FSF.js} +2 -2
- package/dist/{chunk-3YTAOMMN.js → chunk-2WQ3YZMN.js} +2 -2
- package/dist/{chunk-XLPJJ35N.js → chunk-2YAFDND3.js} +4 -4
- package/dist/{chunk-HLVGZXM5.js → chunk-2ZW4NBYX.js} +1 -1
- package/dist/{chunk-VGSSAMLA.js → chunk-3GUEYQGL.js} +8 -5
- package/dist/{chunk-HWXUQCDY.js → chunk-3KVUFHUJ.js} +2 -2
- package/dist/{chunk-2A4OFZ2Z.js → chunk-3PFMGNOM.js} +12 -9
- package/dist/{chunk-KSZHIAI2.js → chunk-3Y63RFJL.js} +1 -1
- package/dist/{chunk-CNUN5GO6.js → chunk-42UJ23H3.js} +1 -1
- package/dist/{chunk-TPEYEOXA.js → chunk-45QUTYPD.js} +15 -13
- package/dist/{chunk-QKJ6MQXW.js → chunk-4SACN2C5.js} +2 -2
- package/dist/{chunk-D7PP35BA.js → chunk-4XYZJTFO.js} +2 -2
- package/dist/{chunk-5U6DXIMV.js → chunk-5EBYPETE.js} +2 -2
- package/dist/{chunk-K3BYD3WU.js → chunk-5KKZXA44.js} +3 -3
- package/dist/{chunk-UWJP4JSZ.js → chunk-5OTA2PUH.js} +2 -2
- package/dist/{chunk-CU2PZLZP.js → chunk-5SSTVFPX.js} +44 -9
- package/dist/{chunk-IWTUXGHN.js → chunk-62BP7AJU.js} +15 -13
- package/dist/{chunk-LKR4FACF.js → chunk-66JTY4AN.js} +2 -4
- package/dist/{chunk-AR4QVMWG.js → chunk-6BNNLVAR.js} +1 -1
- package/dist/{chunk-L24LESXF.js → chunk-6GXLAKUH.js} +1 -1
- package/dist/{chunk-XLAREWBK.js → chunk-6OIMUSDX.js} +9 -9
- package/dist/{chunk-RE27AX7O.js → chunk-6OSGENN5.js} +1 -1
- package/dist/{chunk-VMD2CYVP.js → chunk-6WVX4KNP.js} +44 -44
- package/dist/{chunk-IMHNZITR.js → chunk-6ZL2XYM7.js} +3 -3
- package/dist/{chunk-RMTOZALT.js → chunk-73EYNV4O.js} +3 -3
- package/dist/{chunk-4HG4PYHM.js → chunk-7ENDOHAA.js} +1 -1
- package/dist/{chunk-4YO7VJTP.js → chunk-7PJBJ2DU.js} +1 -1
- package/dist/{chunk-MI6SJJQU.js → chunk-A2A2I4Z4.js} +3 -3
- package/dist/{chunk-PSGSFRRE.js → chunk-A4PNWAUW.js} +3 -3
- package/dist/{chunk-7BBRSOKS.js → chunk-ADNIO3XY.js} +3 -3
- package/dist/{chunk-R7BSF7Z7.js → chunk-AQQUJEDN.js} +1 -1
- package/dist/{chunk-HYV6GSXM.js → chunk-AULZD45V.js} +2 -2
- package/dist/chunk-B5DHFFZP.js +15 -0
- package/dist/{chunk-ZB2Q67NO.js → chunk-B5PEKSRH.js} +2 -2
- package/dist/{chunk-EP7BT3HU.js → chunk-BEA4D7OS.js} +2 -2
- package/dist/{chunk-CVZBLHHW.js → chunk-BQMHJ6OW.js} +1 -1
- package/dist/{chunk-OYKNMFUY.js → chunk-BQO24BDM.js} +2 -2
- package/dist/{chunk-V3KHZQPK.js → chunk-BRGRIZQB.js} +2 -2
- package/dist/{chunk-IMKPFW67.js → chunk-BRSM6Z34.js} +10 -10
- package/dist/{chunk-PUZ63XZM.js → chunk-BZX7QCXJ.js} +21 -32
- package/dist/{chunk-37QQXKFV.js → chunk-CDM6XMOT.js} +3 -3
- package/dist/{chunk-53BJIOLF.js → chunk-CN4RDJDV.js} +3 -3
- package/dist/{chunk-OOCVGX4W.js → chunk-CYRB2JTN.js} +1 -1
- package/dist/{chunk-IHK3Y2HG.js → chunk-DEFBUZWV.js} +1 -1
- package/dist/{chunk-NTJ5HVV6.js → chunk-DGUGE67L.js} +3 -3
- package/dist/{chunk-3SLRZKLB.js → chunk-DRFGIOZ6.js} +4 -4
- package/dist/{chunk-EDPDAUBL.js → chunk-DUPZ2BBY.js} +17 -5
- package/dist/{chunk-HLE5QGZJ.js → chunk-EBIDNRSR.js} +2 -2
- package/dist/{chunk-N254IJM2.js → chunk-EBSFSOJC.js} +26 -10
- package/dist/{chunk-MKFQ5E7J.js → chunk-EBVVMUAA.js} +1 -1
- package/dist/{chunk-FJCYK4K3.js → chunk-F7326NVM.js} +9 -9
- package/dist/{chunk-F2436VRR.js → chunk-FSJ3ZA6N.js} +5 -5
- package/dist/{chunk-Q3N7PI3B.js → chunk-FTUMRSGT.js} +115 -10
- package/dist/{chunk-57L2JPP2.js → chunk-GE7ICBX6.js} +6 -6
- package/dist/{chunk-ROCBGUJN.js → chunk-GI5R5B3S.js} +2 -2
- package/dist/{chunk-D7DXNQW5.js → chunk-H5UEVW6Q.js} +16 -10
- package/dist/{chunk-HFG7KQOY.js → chunk-H6BT45SN.js} +2 -2
- package/dist/{chunk-BDXC7MDK.js → chunk-H7AXCRO7.js} +1 -1
- package/dist/{chunk-GCDW3WAY.js → chunk-HIWHIYLD.js} +20 -11
- package/dist/{chunk-JJUDOR4I.js → chunk-HXULJZA2.js} +1 -1
- package/dist/{chunk-MJKQ5ZYY.js → chunk-IGKFOHBG.js} +5 -5
- package/dist/{chunk-WTE27AJT.js → chunk-J2E7EUER.js} +19 -10
- package/dist/{chunk-J2SQNZ6D.js → chunk-J7Q4AB23.js} +6 -3
- package/dist/{chunk-NS7L7YKH.js → chunk-JILEYZ2V.js} +2 -4
- package/dist/{chunk-5MDQMB6A.js → chunk-JKST4RTT.js} +3 -3
- package/dist/{chunk-RVTYIGWZ.js → chunk-JLU52ZDT.js} +9 -9
- package/dist/{chunk-KATED53P.js → chunk-JRWUHLRP.js} +1 -1
- package/dist/{chunk-IUBCDNT2.js → chunk-JXGSTBW6.js} +3 -3
- package/dist/{chunk-2ZVLI6GQ.js → chunk-KBDMEOLI.js} +2 -2
- package/dist/{chunk-TLPY4ZBI.js → chunk-KTGZDMDX.js} +38 -17
- package/dist/{chunk-II4XJETG.js → chunk-L5NW3PVL.js} +1 -1
- package/dist/{chunk-JJQWCI35.js → chunk-LKZCUFOW.js} +3 -3
- package/dist/{chunk-HSGWR2FL.js → chunk-LMP6Y7QO.js} +13 -13
- package/dist/{chunk-KFXY5IW2.js → chunk-LRP5FXST.js} +70 -20
- package/dist/{chunk-JA2S7PHR.js → chunk-MDVJYRJT.js} +12 -16
- package/dist/{chunk-SWBHH2UW.js → chunk-MX4SZLSV.js} +4 -14
- package/dist/{chunk-5DIBB2QG.js → chunk-MXAP37W6.js} +2 -2
- package/dist/{chunk-273GB7WK.js → chunk-NBAAIRFP.js} +1 -3
- package/dist/{chunk-QVKTAU7P.js → chunk-NMS5XSLX.js} +4 -4
- package/dist/{chunk-BQVTV4LB.js → chunk-NO3UX6AP.js} +2 -2
- package/dist/{chunk-RHXIUUWB.js → chunk-NREU4JFE.js} +4 -4
- package/dist/{chunk-CXIPV2FY.js → chunk-NVZ7R4EK.js} +8 -8
- package/dist/{chunk-TCX5PMEY.js → chunk-NXU4N5WT.js} +1 -1
- package/dist/{chunk-G22UV5AF.js → chunk-ONYO5WJW.js} +18 -15
- package/dist/{chunk-EWERNTOX.js → chunk-OQW4ETJX.js} +3 -6
- package/dist/{chunk-6QEXWMBP.js → chunk-PVWIBKV2.js} +4 -4
- package/dist/{chunk-YZG37S7L.js → chunk-Q2UFOKPB.js} +10 -10
- package/dist/{chunk-X6IZP2BD.js → chunk-Q6W2K33N.js} +4 -4
- package/dist/{chunk-WNTPJZU7.js → chunk-Q6ZQX2HX.js} +4 -4
- package/dist/{chunk-CPGKRI7H.js → chunk-QKY6W4NA.js} +17 -15
- package/dist/{chunk-2AM6VA3A.js → chunk-QUGC7GWB.js} +10 -10
- package/dist/{chunk-IS6WFBX7.js → chunk-R6EGUTIV.js} +3 -3
- package/dist/{chunk-CDT33RHG.js → chunk-RBFJT23E.js} +3 -3
- package/dist/{chunk-3LINSNJT.js → chunk-RJ2JW3FG.js} +244 -181
- package/dist/{chunk-G3EUQMV4.js → chunk-SOHZDW6N.js} +3 -3
- package/dist/{chunk-SPQVER4T.js → chunk-STFWGASB.js} +1 -1
- package/dist/{chunk-G2KHLANR.js → chunk-T7NWBVSC.js} +2 -2
- package/dist/{chunk-MPJQMMBZ.js → chunk-TIIZIAGS.js} +1 -1
- package/dist/{chunk-B6EUFLRP.js → chunk-TKAB3FTK.js} +11 -11
- package/dist/{chunk-SEKNYIMO.js → chunk-TOHTKLKE.js} +1 -1
- package/dist/{chunk-I6GGMCTV.js → chunk-UOCWYLYT.js} +1 -1
- package/dist/{chunk-6NO3MNBC.js → chunk-URQIWIKX.js} +3 -3
- package/dist/{chunk-I74AQRVD.js → chunk-V4D2ZQBE.js} +2 -2
- package/dist/{chunk-2UV627GG.js → chunk-VOR32OHN.js} +12 -12
- package/dist/{chunk-MNL547RV.js → chunk-WLLO3PZ3.js} +23 -9
- package/dist/{chunk-SKF7XLCM.js → chunk-WZBZXZ6T.js} +3 -6
- package/dist/{chunk-NWPMLX2V.js → chunk-X5BUX2GK.js} +79 -10
- package/dist/{chunk-XQTRGKQ3.js → chunk-XIUGSUE4.js} +2 -2
- package/dist/{chunk-SMTWQ66K.js → chunk-Y3SIQN4J.js} +2 -2
- package/dist/{chunk-5VPWIC6T.js → chunk-YITHYQCL.js} +9 -9
- package/dist/{chunk-5WRI5ZAA.js → chunk-YLJ4XMA6.js} +5 -1
- package/dist/{chunk-PZVTFQI2.js → chunk-YO6AQU4A.js} +7 -7
- package/dist/{chunk-5NU7NII2.js → chunk-Z6QFHH4D.js} +3 -1
- package/dist/{chunk-F26ZPBSF.js → chunk-ZECJ7Q6C.js} +2 -2
- package/dist/{chunk-M6J25PAZ.js → chunk-ZJAK6C7Y.js} +1 -1
- package/dist/{chunk-DLX7MEN4.js → chunk-ZKP77MB3.js} +4 -4
- package/dist/cloud-reference.d.ts +5 -3
- package/dist/cloud-reference.js +2 -2
- package/dist/{collapse-SLINJQW6.js → collapse-BSPH3BFM.js} +1 -1
- package/dist/{collapse-ZWUFFCK2.js → collapse-TCVK3RPO.js} +1 -1
- package/dist/{collapse-JRGPUE67.js → collapse-VNYYXMUI.js} +1 -1
- package/dist/completion-registry.d.ts +2 -1
- package/dist/completion-registry.js +5 -5
- package/dist/{compute-2XWFVO7K.js → compute-II4G44IK.js} +1 -1
- package/dist/{d3-2S3PrXik.d.ts → d3-BThYBTQk.d.ts} +3 -2
- package/dist/dgmo-router-4UAPPIKN.js +94 -0
- package/dist/dimensions-SCNVYLRF.js +21 -0
- package/dist/{flowchart-parser-BLJ6RA53.js → flowchart-parser-NA75YQ77.js} +5 -5
- package/dist/{flowchart-renderer-FXRQKXAK.js → flowchart-renderer-6MGGX4RC.js} +14 -14
- package/dist/highlight.d.ts +2 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.js +63 -63
- package/dist/{layout-ROAVGBUC.js → layout-2WESJYRE.js} +1 -1
- package/dist/{layout-RBLD5EGX.js → layout-5USEVQBY.js} +8 -5
- package/dist/{layout-YKGQRFDM.js → layout-BNLFQHSB.js} +5 -2
- package/dist/{layout-UPQGIT3N.js → layout-D4L44NRG.js} +1 -1
- package/dist/{layout-B7PQRAMB.js → layout-HF3PMI4H.js} +1 -1
- package/dist/{layout-VRJ5YFUE.js → layout-HFBK5UEG.js} +5 -5
- package/dist/{layout-RANVNAKI.js → layout-J3AGFZZ7.js} +1 -1
- package/dist/{layout-G42FDCF3.js → layout-JTIRCKAW.js} +7 -7
- package/dist/{layout-CCVCLZ6S.js → layout-KV27UW25.js} +2 -2
- package/dist/{layout-5HCEF7VO.js → layout-MBVBAMPA.js} +1 -1
- package/dist/layout-MXHR3P35.js +15 -0
- package/dist/layout-ND26WVX2.js +15 -0
- package/dist/{layout-CRUAP7JG.js → layout-RH3N46HP.js} +5 -5
- package/dist/{layout-JTNRSGOS.js → layout-S3RLVPH4.js} +8 -5
- package/dist/layout-WRG4APSJ.js +32 -0
- package/dist/{layout-search-L75YOBME.js → layout-search-PMYL3VWS.js} +8 -3
- package/dist/{legend-constants-HE7FVDJP.js → legend-constants-55MFBXYF.js} +4 -4
- package/dist/live-link-resolve.d.ts +2 -1
- package/dist/live-link-resolve.js +2 -2
- package/dist/{palettes-WQHELGVQ.js → palettes-IN7ZFRJM.js} +4 -4
- package/dist/{parser-YWZGIU3C.js → parser-2IKPQVKX.js} +6 -6
- package/dist/{parser-4QNRCGU5.js → parser-2NWH5JUS.js} +8 -8
- package/dist/parser-3LT3ZUUC.js +10 -0
- package/dist/{parser-6NSQLPTS.js → parser-3MK56JZC.js} +5 -5
- package/dist/parser-3QIFY5IN.js +10 -0
- package/dist/{parser-YVHO2NRM.js → parser-4TBSWULQ.js} +5 -5
- package/dist/parser-5LW5JDYG.js +12 -0
- package/dist/parser-5UZV32ZI.js +10 -0
- package/dist/{parser-XO5IAXMT.js → parser-6TDWUKM5.js} +5 -5
- package/dist/{parser-6LMB7BQQ.js → parser-BES6LV3G.js} +4 -4
- package/dist/{parser-H2DJEAPG.js → parser-BJ7RJNUM.js} +5 -5
- package/dist/parser-EAQPZX2B.js +13 -0
- package/dist/{parser-UEDPLM46.js → parser-EFF22GYO.js} +5 -5
- package/dist/{parser-QL4DEPVA.js → parser-FXDS4JDK.js} +5 -5
- package/dist/{parser-R6OETHWM.js → parser-GMQJISZ6.js} +5 -5
- package/dist/{parser-6X4GGH2R.js → parser-GX5YLRIP.js} +6 -6
- package/dist/parser-H5OODY5N.js +11 -0
- package/dist/parser-K2DI26SC.js +11 -0
- package/dist/parser-KKF6Y5MM.js +12 -0
- package/dist/parser-KLCSFQ3J.js +12 -0
- package/dist/{parser-MDSVVCJP.js → parser-L6RWDXQN.js} +6 -6
- package/dist/{parser-EYF4ZSZO.js → parser-LCJ76UXS.js} +5 -5
- package/dist/parser-LTRQASGB.js +11 -0
- package/dist/parser-PEZ7RN43.js +14 -0
- package/dist/{parser-ULSUK36C.js → parser-QYISOAGR.js} +6 -6
- package/dist/parser-RTWPFKXG.js +12 -0
- package/dist/{parser-Q3UAOLEZ.js → parser-SEUTXN6U.js} +5 -5
- package/dist/parser-SIKL4PLF.js +10 -0
- package/dist/parser-TUAEX6ML.js +12 -0
- package/dist/parser-VA7ZQQTA.js +10 -0
- package/dist/parser-X23GRTQJ.js +10 -0
- package/dist/{parser-AL6YL7KM.js → parser-XZUKNZPB.js} +4 -4
- package/dist/parser-YG625J5H.js +13 -0
- package/dist/{parser-UL6WN6W5.js → parser-YHDGKPZI.js} +5 -5
- package/dist/pert.d.ts +2 -1
- package/dist/renderer-2FVUPBGV.js +20 -0
- package/dist/{renderer-YDNWK6RI.js → renderer-36446HSH.js} +5 -5
- package/dist/{renderer-OPA4JJKX.js → renderer-3IHQI4A4.js} +12 -12
- package/dist/{renderer-43IVPARP.js → renderer-3JY6JAQJ.js} +9 -9
- package/dist/{renderer-SD4ZHHAR.js → renderer-3QAFDXEY.js} +11 -11
- package/dist/{renderer-7EAWN7MC.js → renderer-5TZVFQ7K.js} +11 -11
- package/dist/renderer-5VKPB4LL.js +28 -0
- package/dist/{renderer-B7B7BQM3.js → renderer-7ZZG5HR3.js} +12 -11
- package/dist/renderer-ALWVK3EJ.js +30 -0
- package/dist/{renderer-R7RK7FKI.js → renderer-DC7C5Q3G.js} +4 -4
- package/dist/renderer-ISSDGK54.js +22 -0
- package/dist/{renderer-IPDCAACY.js → renderer-J5FKF423.js} +6 -6
- package/dist/{renderer-SE7Z5AOL.js → renderer-J666LZXJ.js} +11 -11
- package/dist/{renderer-YDOWBIUB.js → renderer-J67LMOD5.js} +17 -17
- package/dist/{renderer-I2LYSQBV.js → renderer-JEJT3YET.js} +7 -7
- package/dist/{renderer-TWKEZ3DD.js → renderer-LM4ICK6I.js} +11 -11
- package/dist/{renderer-3N64GVNM.js → renderer-LQP3AGEJ.js} +5 -5
- package/dist/{renderer-7SEXPBGM.js → renderer-MM27BSBO.js} +9 -9
- package/dist/{renderer-U5PD72G7.js → renderer-NDA2FFYB.js} +10 -10
- package/dist/{renderer-YQPZ7O2C.js → renderer-NHTR7IRR.js} +4 -4
- package/dist/{renderer-VNZTWATB.js → renderer-NIE5IW24.js} +11 -11
- package/dist/{renderer-T2WUA7MC.js → renderer-O6DY46AV.js} +15 -15
- package/dist/{renderer-4MEZYGU6.js → renderer-OAR5VPH4.js} +6 -6
- package/dist/renderer-QGIHLZOJ.js +31 -0
- package/dist/{renderer-ZQ77CM6Y.js → renderer-RSK6QFWN.js} +12 -11
- package/dist/{renderer-S3NFBJCY.js → renderer-S3YCLJKL.js} +19 -19
- package/dist/renderer-TO2NVJP3.js +80 -0
- package/dist/{renderer-54GXA3UO.js → renderer-VPIELEE5.js} +12 -12
- package/dist/{renderer-R7OYCJEA.js → renderer-WIU5BJUK.js} +5 -5
- package/dist/{renderer-MRMFYYZT.js → renderer-XGG2UNXT.js} +5 -5
- package/dist/{renderer-QQNPJGAP.js → renderer-XO57LTU4.js} +10 -10
- package/dist/{renderer-RFP55AW7.js → renderer-ZGY7P4BM.js} +19 -19
- package/dist/{renderer-JUH6M3XF.js → renderer-ZHGHTSNG.js} +16 -16
- package/dist/{renderer-LWL3IJOF.js → renderer-ZZ6MWVB7.js} +10 -10
- package/dist/renderer-radial-WFUX3Z3C.js +20 -0
- package/dist/{resolver-6DJLZF6Y.js → resolver-33K6MBCT.js} +3 -3
- package/dist/{state-collapse-HCGD6IVJ.js → state-collapse-SE2G4K4I.js} +1 -1
- package/dist/{state-parser-NIIVOU2Y.js → state-parser-TIR2ORJY.js} +6 -6
- package/dist/{state-renderer-TVLEG32M.js → state-renderer-G6SUXU4J.js} +18 -18
- package/dist/{tag-groups-fgxWTyyB.d.ts → tag-groups-DsoVpAY-.d.ts} +2 -1
- package/dist/{themes-Cm2YBcT8.d.ts → themes-DRNjxX7Q.d.ts} +4 -3
- package/docs/language-reference.md +9 -3
- package/package.json +4 -4
- package/dist/charts-d3-YXD6VGZQ.js +0 -31
- package/dist/dgmo-router-YHBMKTXY.js +0 -94
- package/dist/dimensions-QMGWJQTR.js +0 -21
- package/dist/layout-6PLSBB5X.js +0 -15
- package/dist/layout-IV4H2FLB.js +0 -15
- package/dist/layout-T2DQ4M77.js +0 -26
- package/dist/parser-2XCDVLSN.js +0 -11
- package/dist/parser-3MGA2MTM.js +0 -10
- package/dist/parser-4AR25MAS.js +0 -10
- package/dist/parser-D6YRVV75.js +0 -12
- package/dist/parser-EY3VJWBE.js +0 -12
- package/dist/parser-FDXUQ5TI.js +0 -11
- package/dist/parser-ILWAA3QJ.js +0 -14
- package/dist/parser-KMFMNZYI.js +0 -11
- package/dist/parser-OFTMA36M.js +0 -10
- package/dist/parser-UY3K4ROB.js +0 -10
- package/dist/parser-UYQNNQKT.js +0 -13
- package/dist/parser-VG747VR6.js +0 -12
- package/dist/parser-VK4PNDX4.js +0 -12
- package/dist/parser-WSONWDFN.js +0 -10
- package/dist/parser-X5FQ36KJ.js +0 -13
- package/dist/parser-ZFLSULFC.js +0 -12
- package/dist/parser-ZR7JAKSW.js +0 -10
- package/dist/renderer-J2LOMTBC.js +0 -20
- package/dist/renderer-KY6O5JTX.js +0 -80
- package/dist/renderer-LHTDI5RV.js +0 -28
- package/dist/renderer-NCIDGJ2R.js +0 -30
- package/dist/renderer-QMNC7TGN.js +0 -22
- package/dist/renderer-VCTKBUTR.js +0 -30
- package/dist/renderer-radial-TNNEL3YN.js +0 -20
- /package/dist/{chunk-2M4IGSCY.js → chunk-3J7O3CU6.js} +0 -0
- /package/dist/{chunk-4QV26TEG.js → chunk-AXLF3KRE.js} +0 -0
- /package/dist/{chunk-EDXGEQW3.js → chunk-FOTH2WWP.js} +0 -0
- /package/dist/{chunk-DAOFNU6J.js → chunk-MKSTL6DR.js} +0 -0
- /package/dist/{chunk-ABP5BUD6.js → chunk-ZI6WC24V.js} +0 -0
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
PAIR_GAP,
|
|
9
9
|
layoutBracket,
|
|
10
10
|
wrapText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZI6WC24V.js";
|
|
12
12
|
import {
|
|
13
13
|
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NMS5XSLX.js";
|
|
15
15
|
import {
|
|
16
16
|
layoutInlineHeader
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-42UJ23H3.js";
|
|
18
18
|
import {
|
|
19
19
|
getLegendExtent,
|
|
20
20
|
getMaxLegendReservedHeight
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JILEYZ2V.js";
|
|
22
22
|
import {
|
|
23
23
|
TITLE_FONT_SIZE,
|
|
24
24
|
TITLE_FONT_WEIGHT,
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
resolveTagColor,
|
|
32
32
|
tagAttrKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4SACN2C5.js";
|
|
34
34
|
import {
|
|
35
35
|
LEGEND_GROUP_GAP
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UOCWYLYT.js";
|
|
37
37
|
import {
|
|
38
38
|
measureText
|
|
39
39
|
} from "./chunk-KAO7JL4I.js";
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
mix,
|
|
44
44
|
shapeFill,
|
|
45
45
|
themeBaseBg
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6GXLAKUH.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveColor
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3J7O3CU6.js";
|
|
50
50
|
|
|
51
51
|
// src/bracket/renderer.ts
|
|
52
52
|
import * as d3Selection from "d3-selection";
|
|
@@ -334,7 +334,7 @@ function drawBox(g, cx, cy, name, info, sidePaint, palette, isDark, m, activeKey
|
|
|
334
334
|
const cell = g.append("g").attr("class", "dgmo-bracket-box");
|
|
335
335
|
if (m.lineNumber !== null) cell.attr("data-line-number", m.lineNumber);
|
|
336
336
|
if (activeKey && info.tagValue)
|
|
337
|
-
cell.attr(`data-tag-${activeKey}`, info.tagValue.toLowerCase());
|
|
337
|
+
cell.attr(`data-tag-${tagAttrKey(activeKey)}`, info.tagValue.toLowerCase());
|
|
338
338
|
const isTBD = name === null;
|
|
339
339
|
let fill = "none";
|
|
340
340
|
let stroke = paint.hair;
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
BODY_TERMS,
|
|
3
3
|
getFigure,
|
|
4
4
|
resolvePartKey
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H7AXCRO7.js";
|
|
6
6
|
import {
|
|
7
7
|
AUTO_TAG_COLOR_SENTINEL,
|
|
8
8
|
finalizeAutoTagColors,
|
|
9
9
|
matchTagBlockHeading,
|
|
10
10
|
stripDefaultModifier,
|
|
11
11
|
tagAttrKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4SACN2C5.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TIIZIAGS.js";
|
|
19
19
|
import {
|
|
20
20
|
emit
|
|
21
21
|
} from "./chunk-BYU54C3S.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFirstLine
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TIIZIAGS.js";
|
|
4
4
|
import {
|
|
5
5
|
parseCloudReferenceFence,
|
|
6
6
|
parseCloudReferenceUrl
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z6QFHH4D.js";
|
|
8
8
|
import {
|
|
9
9
|
formatDgmoError,
|
|
10
10
|
makeDgmoError
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-24YPR5EH.js";
|
|
10
10
|
import {
|
|
11
11
|
renderIntegratedLegend
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NMS5XSLX.js";
|
|
13
13
|
import {
|
|
14
14
|
ARROWHEAD_HEIGHT,
|
|
15
15
|
ARROWHEAD_WIDTH,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
} from "./chunk-XCKNFFKM.js";
|
|
20
20
|
import {
|
|
21
21
|
layoutInlineHeader
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-42UJ23H3.js";
|
|
23
23
|
import {
|
|
24
24
|
getLegendExtent,
|
|
25
25
|
getMaxLegendReservedHeight
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JILEYZ2V.js";
|
|
27
27
|
import {
|
|
28
28
|
TITLE_FONT_SIZE,
|
|
29
29
|
TITLE_FONT_WEIGHT,
|
|
@@ -36,19 +36,19 @@ import {
|
|
|
36
36
|
isSequenceBlock,
|
|
37
37
|
isSequenceNote,
|
|
38
38
|
isSequenceSection
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-B5PEKSRH.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveActiveTagGroup,
|
|
42
42
|
tagAttrKey
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4SACN2C5.js";
|
|
44
44
|
import {
|
|
45
45
|
fillModeFromOptions,
|
|
46
46
|
legendInlineRequested,
|
|
47
47
|
legendSuppressed
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TIIZIAGS.js";
|
|
49
49
|
import {
|
|
50
50
|
legendChromeColors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UOCWYLYT.js";
|
|
52
52
|
import {
|
|
53
53
|
measureText,
|
|
54
54
|
truncateText
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
mix,
|
|
59
59
|
shapeFill,
|
|
60
60
|
themeBaseBg
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-6GXLAKUH.js";
|
|
62
62
|
|
|
63
63
|
// src/sequence/renderer.ts
|
|
64
64
|
import * as d3Selection from "d3-selection";
|
|
@@ -2044,7 +2044,10 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
2044
2044
|
for (const [segTop, segBottom] of lifelines.get(participant.id) ?? []) {
|
|
2045
2045
|
const lifelineEl = svg.append("line").attr("x1", cx).attr("y1", segTop).attr("x2", cx).attr("y2", segBottom).attr("stroke", llColor).attr("stroke-width", 1).attr("stroke-dasharray", EDGE_DASH).attr("class", "lifeline").attr("data-participant-id", participant.id);
|
|
2046
2046
|
if (tagKey && pTagValue) {
|
|
2047
|
-
lifelineEl.attr(
|
|
2047
|
+
lifelineEl.attr(
|
|
2048
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2049
|
+
pTagValue.toLowerCase()
|
|
2050
|
+
);
|
|
2048
2051
|
}
|
|
2049
2052
|
}
|
|
2050
2053
|
});
|
|
@@ -2073,7 +2076,7 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
2073
2076
|
});
|
|
2074
2077
|
const actRect = svg.append("rect").attr("x", x).attr("y", y1).attr("width", bar.width).attr("height", height).attr("fill", actFill).attr("stroke", actBaseColor).attr("stroke-width", 1).attr("stroke-opacity", 0.5).attr("data-participant-id", act.participantId).attr("data-msg-lines", coveredLines.join(",")).attr("data-line-number", coveredLines[0] ?? "").attr("class", "activation");
|
|
2075
2078
|
if (tagKey && actTagValue) {
|
|
2076
|
-
actRect.attr(`data-tag-${tagKey}`, actTagValue.toLowerCase());
|
|
2079
|
+
actRect.attr(`data-tag-${tagAttrKey(tagKey)}`, actTagValue.toLowerCase());
|
|
2077
2080
|
}
|
|
2078
2081
|
});
|
|
2079
2082
|
for (const divider of blockFrames.flatMap((frame) => frame.dividers)) {
|
|
@@ -2147,13 +2150,19 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
2147
2150
|
svg.append("rect").attr("x", hitX).attr("y", y - 5).attr("width", sSelfCallWidth).attr("height", sSelfCallHeight + 10).attr("fill", "transparent").attr("class", "message-hit-area").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
2148
2151
|
const selfCallEl = svg.append("path").attr("d", `M ${x} ${y} H ${loopX} V ${returnY} H ${x}`).attr("fill", "none").attr("stroke", arrowColor).attr("stroke-width", 1.2).attr("marker-end", coloredMarker("call", msgTagColor)).attr("class", "message-arrow self-call").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i)).attr("data-from", step.from).attr("data-to", step.to);
|
|
2149
2152
|
if (tagKey && msgTagValue) {
|
|
2150
|
-
selfCallEl.attr(
|
|
2153
|
+
selfCallEl.attr(
|
|
2154
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2155
|
+
msgTagValue.toLowerCase()
|
|
2156
|
+
);
|
|
2151
2157
|
}
|
|
2152
2158
|
const displayLabel = stepLabels[i];
|
|
2153
2159
|
if (displayLabel) {
|
|
2154
2160
|
const labelEl = svg.append("text").attr("x", label.x).attr("y", label.y).attr("text-anchor", "start").attr("fill", arrowColor).attr("paint-order", "stroke fill").attr("stroke", palette.bg).attr("stroke-width", 4).attr("stroke-linejoin", "round").attr("font-size", 12).attr("class", "message-label").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
2155
2161
|
if (tagKey && msgTagValue) {
|
|
2156
|
-
labelEl.attr(
|
|
2162
|
+
labelEl.attr(
|
|
2163
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2164
|
+
msgTagValue.toLowerCase()
|
|
2165
|
+
);
|
|
2157
2166
|
}
|
|
2158
2167
|
labelEl.text(displayLabel);
|
|
2159
2168
|
}
|
|
@@ -2163,13 +2172,19 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
2163
2172
|
const markerRef = step.async ? coloredMarker("async", msgTagColor) : coloredMarker("call", msgTagColor);
|
|
2164
2173
|
const arrowEl = svg.append("line").attr("x1", x1).attr("y1", y).attr("x2", x2).attr("y2", y).attr("stroke", arrowColor).attr("stroke-width", 1.2).attr("marker-end", markerRef).attr("class", "message-arrow").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i)).attr("data-from", step.from).attr("data-to", step.to);
|
|
2165
2174
|
if (tagKey && msgTagValue) {
|
|
2166
|
-
arrowEl.attr(
|
|
2175
|
+
arrowEl.attr(
|
|
2176
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2177
|
+
msgTagValue.toLowerCase()
|
|
2178
|
+
);
|
|
2167
2179
|
}
|
|
2168
2180
|
const displayLabel = stepLabels[i];
|
|
2169
2181
|
if (displayLabel) {
|
|
2170
2182
|
const labelEl = svg.append("text").attr("x", label.x).attr("y", label.y).attr("text-anchor", "middle").attr("fill", arrowColor).attr("paint-order", "stroke fill").attr("stroke", palette.bg).attr("stroke-width", 4).attr("stroke-linejoin", "round").attr("font-size", MSG_LABEL_FONT_SIZE).attr("class", "message-label").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
2171
2183
|
if (tagKey && msgTagValue) {
|
|
2172
|
-
labelEl.attr(
|
|
2184
|
+
labelEl.attr(
|
|
2185
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2186
|
+
msgTagValue.toLowerCase()
|
|
2187
|
+
);
|
|
2173
2188
|
}
|
|
2174
2189
|
labelEl.text(displayLabel);
|
|
2175
2190
|
}
|
|
@@ -2180,13 +2195,19 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
2180
2195
|
svg.append("rect").attr("x", Math.min(x1, x2)).attr("y", y - HIT_H / 2).attr("width", Math.abs(x2 - x1)).attr("height", HIT_H).attr("fill", "transparent").attr("class", "message-hit-area").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
2181
2196
|
const returnEl = svg.append("line").attr("x1", x1).attr("y1", y).attr("x2", x2).attr("y2", y).attr("stroke", returnColor).attr("stroke-width", 1).attr("stroke-dasharray", EDGE_DASH).attr("marker-end", coloredMarker("return", msgTagColor)).attr("class", "return-arrow").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i)).attr("data-from", step.from).attr("data-to", step.to);
|
|
2182
2197
|
if (tagKey && msgTagValue) {
|
|
2183
|
-
returnEl.attr(
|
|
2198
|
+
returnEl.attr(
|
|
2199
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2200
|
+
msgTagValue.toLowerCase()
|
|
2201
|
+
);
|
|
2184
2202
|
}
|
|
2185
2203
|
const displayLabel = stepLabels[i];
|
|
2186
2204
|
if (displayLabel) {
|
|
2187
2205
|
const labelEl = svg.append("text").attr("x", label.x).attr("y", label.y).attr("text-anchor", "middle").attr("fill", returnColor).attr("paint-order", "stroke fill").attr("stroke", palette.bg).attr("stroke-width", 4).attr("stroke-linejoin", "round").attr("font-size", RETURN_LABEL_FONT_SIZE).attr("class", "message-label").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
2188
2206
|
if (tagKey && msgTagValue) {
|
|
2189
|
-
labelEl.attr(
|
|
2207
|
+
labelEl.attr(
|
|
2208
|
+
`data-tag-${tagAttrKey(tagKey)}`,
|
|
2209
|
+
msgTagValue.toLowerCase()
|
|
2210
|
+
);
|
|
2190
2211
|
}
|
|
2191
2212
|
labelEl.text(displayLabel);
|
|
2192
2213
|
}
|
|
@@ -2293,7 +2314,7 @@ function buildNoteMessageMap(elements) {
|
|
|
2293
2314
|
function renderParticipant(svg, participant, cx, cy, palette, isDark, color, tagAttr, fillMode, boxW = W, boxH = H, labelTextW = labelTextWidth(W), labelFontSize = LABEL_FONT_SIZE, overlaid = false) {
|
|
2294
2315
|
const g = svg.append("g").attr("transform", `translate(${cx}, ${cy})`).attr("class", "participant").attr("data-participant-id", participant.id);
|
|
2295
2316
|
if (tagAttr) {
|
|
2296
|
-
g.attr(`data-tag-${tagAttr.key}`, tagAttr.value);
|
|
2317
|
+
g.attr(`data-tag-${tagAttrKey(tagAttr.key)}`, tagAttr.value);
|
|
2297
2318
|
}
|
|
2298
2319
|
if (overlaid) return;
|
|
2299
2320
|
switch (participant.type) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4SACN2C5.js";
|
|
13
13
|
import {
|
|
14
14
|
AliasRegistry,
|
|
15
15
|
KANBAN_REGISTRY,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
splitNameAndMeta,
|
|
23
23
|
warnUnknownMetaKeys,
|
|
24
24
|
withTagAliases
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TIIZIAGS.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveColorWithDiagnostic
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3J7O3CU6.js";
|
|
29
29
|
import {
|
|
30
30
|
formatDgmoError,
|
|
31
31
|
makeDgmoError,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
keepSwimlaneToggleFocus,
|
|
10
10
|
renderIntegratedLegend,
|
|
11
11
|
wireSwimlaneToggle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NMS5XSLX.js";
|
|
13
13
|
import {
|
|
14
14
|
EDGE_DASH,
|
|
15
15
|
GRID_DASH,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
INLINE_HEADER_PAD,
|
|
20
20
|
layoutInlineHeader
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-42UJ23H3.js";
|
|
22
22
|
import {
|
|
23
23
|
controlsGroupCapsuleWidth,
|
|
24
24
|
getLegendExtent,
|
|
25
25
|
getMaxLegendReservedHeight
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JILEYZ2V.js";
|
|
27
27
|
import {
|
|
28
28
|
TITLE_FONT_SIZE,
|
|
29
29
|
TITLE_FONT_WEIGHT,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
resolveActiveTagGroup,
|
|
41
41
|
resolveTagColor,
|
|
42
42
|
tagAttrKey
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4SACN2C5.js";
|
|
44
44
|
import {
|
|
45
45
|
LEGEND_CAPSULE_PAD,
|
|
46
46
|
LEGEND_DOT_R,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
LEGEND_PILL_PAD,
|
|
56
56
|
measureLegendText,
|
|
57
57
|
truncateLegendText
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-UOCWYLYT.js";
|
|
59
59
|
import {
|
|
60
60
|
CHAR_WIDTH_RATIO,
|
|
61
61
|
measureText,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
getSeriesColors,
|
|
68
68
|
mix,
|
|
69
69
|
shapeFill
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-6GXLAKUH.js";
|
|
71
71
|
|
|
72
72
|
// src/gantt/renderer.ts
|
|
73
73
|
import * as d3Scale from "d3-scale";
|
|
@@ -474,7 +474,7 @@ function drawGantt(container, resolved, palette, isDark, options, exportDims) {
|
|
|
474
474
|
sBandRadius,
|
|
475
475
|
sBandAccentW
|
|
476
476
|
);
|
|
477
|
-
const labelG = svg.append("g").attr("class", "gantt-lane-header").attr(`data-tag-${row.tagKey}`, row.laneName.toLowerCase()).attr("data-lane", row.laneName).style("cursor", onToggleLane ? "pointer" : "default").on("click", () => {
|
|
477
|
+
const labelG = svg.append("g").attr("class", "gantt-lane-header").attr(`data-tag-${tagAttrKey(row.tagKey)}`, row.laneName.toLowerCase()).attr("data-lane", row.laneName).style("cursor", onToggleLane ? "pointer" : "default").on("click", () => {
|
|
478
478
|
if (onToggleLane) onToggleLane(row.laneName);
|
|
479
479
|
}).on("mouseenter", () => {
|
|
480
480
|
highlightLane(g, svg, row.tagKey, row.laneName);
|
|
@@ -704,7 +704,7 @@ function drawGantt(container, resolved, palette, isDark, options, exportDims) {
|
|
|
704
704
|
palette.text
|
|
705
705
|
);
|
|
706
706
|
for (const [key, value] of Object.entries(rt.effectiveMetadata)) {
|
|
707
|
-
taskLabel.attr(`data-tag-${key}`, value.toLowerCase());
|
|
707
|
+
taskLabel.attr(`data-tag-${tagAttrKey(key)}`, value.toLowerCase());
|
|
708
708
|
}
|
|
709
709
|
if (rt.isCriticalPath) {
|
|
710
710
|
taskLabel.attr("data-critical-path", "true");
|
|
@@ -763,7 +763,7 @@ function drawGantt(container, resolved, palette, isDark, options, exportDims) {
|
|
|
763
763
|
hideGanttDateIndicators(g);
|
|
764
764
|
});
|
|
765
765
|
for (const [key, value] of Object.entries(rt.effectiveMetadata)) {
|
|
766
|
-
taskG.attr(`data-tag-${key}`, value.toLowerCase());
|
|
766
|
+
taskG.attr(`data-tag-${tagAttrKey(key)}`, value.toLowerCase());
|
|
767
767
|
}
|
|
768
768
|
const showUncertainFade = rt.isUncertain && (task.progress === null || task.progress <= 80);
|
|
769
769
|
let barFill = fillColor;
|
|
@@ -1287,7 +1287,7 @@ function renderTagLegend(svg, chartG, tagGroups, activeGroupName, chartLeftMargi
|
|
|
1287
1287
|
const el = d3Selection.select(this);
|
|
1288
1288
|
el.attr(
|
|
1289
1289
|
"opacity",
|
|
1290
|
-
el.attr(`data-tag-${tagKey}`) === ev ? 1 : FADE_OPACITY
|
|
1290
|
+
el.attr(`data-tag-${tagAttrKey(tagKey)}`) === ev ? 1 : FADE_OPACITY
|
|
1291
1291
|
);
|
|
1292
1292
|
});
|
|
1293
1293
|
chartG.selectAll(".gantt-milestone").attr("opacity", FADE_OPACITY);
|
|
@@ -1296,7 +1296,7 @@ function renderTagLegend(svg, chartG, tagGroups, activeGroupName, chartLeftMargi
|
|
|
1296
1296
|
const el = d3Selection.select(this);
|
|
1297
1297
|
el.attr(
|
|
1298
1298
|
"opacity",
|
|
1299
|
-
el.attr(`data-tag-${tagKey}`) === ev ? 1 : FADE_OPACITY
|
|
1299
|
+
el.attr(`data-tag-${tagAttrKey(tagKey)}`) === ev ? 1 : FADE_OPACITY
|
|
1300
1300
|
);
|
|
1301
1301
|
});
|
|
1302
1302
|
svg.selectAll(".gantt-group-label").attr("opacity", FADE_OPACITY);
|
|
@@ -1304,7 +1304,7 @@ function renderTagLegend(svg, chartG, tagGroups, activeGroupName, chartLeftMargi
|
|
|
1304
1304
|
const el = d3Selection.select(this);
|
|
1305
1305
|
el.attr(
|
|
1306
1306
|
"opacity",
|
|
1307
|
-
el.attr(`data-tag-${tagKey}`) === ev ? 1 : FADE_OPACITY
|
|
1307
|
+
el.attr(`data-tag-${tagAttrKey(tagKey)}`) === ev ? 1 : FADE_OPACITY
|
|
1308
1308
|
);
|
|
1309
1309
|
});
|
|
1310
1310
|
chartG.selectAll(".gantt-lane-band, .gantt-lane-accent").attr("opacity", FADE_OPACITY);
|
|
@@ -1793,7 +1793,7 @@ function highlightGroup(g, svg, groupName) {
|
|
|
1793
1793
|
);
|
|
1794
1794
|
}
|
|
1795
1795
|
function highlightLane(g, svg, tagKey, laneName) {
|
|
1796
|
-
const tagAttr = `data-tag-${tagKey}`;
|
|
1796
|
+
const tagAttr = `data-tag-${tagAttrKey(tagKey)}`;
|
|
1797
1797
|
const laneValue = laneName.toLowerCase();
|
|
1798
1798
|
g.selectAll(".gantt-task").each(function() {
|
|
1799
1799
|
const el = d3Selection.select(this);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getSimpleChartLegendGroups,
|
|
12
12
|
parseChart,
|
|
13
13
|
parseExtendedChart
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H6BT45SN.js";
|
|
15
15
|
import {
|
|
16
16
|
EMPHASIS_DIM_OPACITY,
|
|
17
17
|
EMPHASIS_DIM_TEXT_OPACITY,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
initD3Chart,
|
|
26
26
|
renderChartTitle,
|
|
27
27
|
resolveExportPalette
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Q6W2K33N.js";
|
|
29
29
|
import {
|
|
30
30
|
layoutInlineHeader
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-42UJ23H3.js";
|
|
32
32
|
import {
|
|
33
33
|
computeLegendLayout
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JILEYZ2V.js";
|
|
35
35
|
import {
|
|
36
36
|
TITLE_FONT_SIZE,
|
|
37
37
|
TITLE_FONT_WEIGHT,
|
|
@@ -43,14 +43,14 @@ import {
|
|
|
43
43
|
} from "./chunk-ICLB27PZ.js";
|
|
44
44
|
import {
|
|
45
45
|
tagAttrKey
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4SACN2C5.js";
|
|
47
47
|
import {
|
|
48
48
|
LEGEND_DOT_R,
|
|
49
49
|
LEGEND_ENTRY_FONT_SIZE,
|
|
50
50
|
LEGEND_HEIGHT,
|
|
51
51
|
LEGEND_PILL_FONT_SIZE,
|
|
52
52
|
legendChromeColors
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UOCWYLYT.js";
|
|
54
54
|
import {
|
|
55
55
|
measureText,
|
|
56
56
|
truncateText
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
mix,
|
|
65
65
|
shapeFill,
|
|
66
66
|
themeBaseBg
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-6GXLAKUH.js";
|
|
68
68
|
|
|
69
69
|
// src/charts-d3/natural-size.ts
|
|
70
70
|
var UNCOUNTED_WIDTH = 720;
|
|
@@ -1600,6 +1600,35 @@ function renderSankey(svg, chart, width, height, colors, bgColor, textColor, top
|
|
|
1600
1600
|
const maxRank = Math.max(...[...node.values()].map((n) => n.rank));
|
|
1601
1601
|
const layers = Array.from({ length: maxRank + 1 }, () => []);
|
|
1602
1602
|
for (const n of node.values()) layers[n.rank].push(n);
|
|
1603
|
+
const segs = [];
|
|
1604
|
+
const chains = /* @__PURE__ */ new Map();
|
|
1605
|
+
for (const l of forwardLinks) {
|
|
1606
|
+
const t = node.get(l.target);
|
|
1607
|
+
let prev = node.get(l.source);
|
|
1608
|
+
const chain = [];
|
|
1609
|
+
for (let r = prev.rank + 1; r <= t.rank; r++) {
|
|
1610
|
+
let next = t;
|
|
1611
|
+
if (r < t.rank) {
|
|
1612
|
+
next = {
|
|
1613
|
+
name: `${l.source}\u241F${l.target}\u241F${r}`,
|
|
1614
|
+
rank: r,
|
|
1615
|
+
value: l.value,
|
|
1616
|
+
order: prev.order,
|
|
1617
|
+
x: 0,
|
|
1618
|
+
y: 0,
|
|
1619
|
+
h: 0,
|
|
1620
|
+
raw: prev.raw,
|
|
1621
|
+
virtual: true
|
|
1622
|
+
};
|
|
1623
|
+
layers[r].push(next);
|
|
1624
|
+
}
|
|
1625
|
+
const seg = { s: prev, t: next, value: l.value, sy: 0, ty: 0 };
|
|
1626
|
+
chain.push(seg);
|
|
1627
|
+
segs.push(seg);
|
|
1628
|
+
prev = next;
|
|
1629
|
+
}
|
|
1630
|
+
chains.set(l, chain);
|
|
1631
|
+
}
|
|
1603
1632
|
let plotLeft = 16;
|
|
1604
1633
|
const top = topInset + 8;
|
|
1605
1634
|
const rightPad = 16;
|
|
@@ -1657,7 +1686,7 @@ function renderSankey(svg, chart, width, height, colors, bgColor, textColor, top
|
|
|
1657
1686
|
const order = forward ? [...layers.keys()] : [...layers.keys()].reverse();
|
|
1658
1687
|
for (const r of order) {
|
|
1659
1688
|
for (const n of layers[r]) {
|
|
1660
|
-
const neigh = forward ?
|
|
1689
|
+
const neigh = forward ? segs.filter((g) => g.t === n).map((g) => g.s) : segs.filter((g) => g.s === n).map((g) => g.t);
|
|
1661
1690
|
n.order = neigh.length ? neigh.reduce((a, m) => a + center(m), 0) / neigh.length : center(n);
|
|
1662
1691
|
}
|
|
1663
1692
|
placeLayer(layers[r]);
|
|
@@ -1665,9 +1694,23 @@ function renderSankey(svg, chart, width, height, colors, bgColor, textColor, top
|
|
|
1665
1694
|
}
|
|
1666
1695
|
const outOff = /* @__PURE__ */ new Map();
|
|
1667
1696
|
const inOff = /* @__PURE__ */ new Map();
|
|
1668
|
-
for (const
|
|
1669
|
-
|
|
1670
|
-
|
|
1697
|
+
for (const layer of layers) {
|
|
1698
|
+
for (const n of layer) {
|
|
1699
|
+
outOff.set(n, n.y);
|
|
1700
|
+
inOff.set(n, n.y);
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
const slot = (n, th, off) => {
|
|
1704
|
+
const y = off.get(n);
|
|
1705
|
+
off.set(n, y + th);
|
|
1706
|
+
return y;
|
|
1707
|
+
};
|
|
1708
|
+
for (const g of [...segs].sort(
|
|
1709
|
+
(a, b) => a.s.y !== b.s.y ? a.s.y - b.s.y : a.t.y - b.t.y
|
|
1710
|
+
)) {
|
|
1711
|
+
const th = g.value * valueScale;
|
|
1712
|
+
g.sy = slot(g.s, th, outOff);
|
|
1713
|
+
g.ty = slot(g.t, th, inOff);
|
|
1671
1714
|
}
|
|
1672
1715
|
const ordered = [
|
|
1673
1716
|
...[...forwardLinks].sort((a, b) => {
|
|
@@ -1683,18 +1726,15 @@ function renderSankey(svg, chart, width, height, colors, bgColor, textColor, top
|
|
|
1683
1726
|
const s = node.get(l.source);
|
|
1684
1727
|
const t = node.get(l.target);
|
|
1685
1728
|
const th = l.value * valueScale;
|
|
1686
|
-
const sy = outOff.get(s.name);
|
|
1687
|
-
const ty = inOff.get(t.name);
|
|
1688
|
-
outOff.set(s.name, sy + th);
|
|
1689
|
-
inOff.set(t.name, ty + th);
|
|
1690
1729
|
const sx = s.x + NODE_W;
|
|
1691
1730
|
const tx = t.x;
|
|
1692
|
-
const cx0 = sx + (tx - sx) * 0.5;
|
|
1693
1731
|
const raw = l.color ?? s.raw;
|
|
1694
1732
|
const color = solid ? raw : mix(raw, bgColor, 45);
|
|
1695
1733
|
const opacity = linkDimmed(l) ? RIBBON_FILL_OPACITY * EMPHASIS_DIM_OPACITY : RIBBON_FILL_OPACITY;
|
|
1696
1734
|
let ribbon;
|
|
1697
1735
|
if (backEdges.has(l)) {
|
|
1736
|
+
const sy = slot(s, th, outOff);
|
|
1737
|
+
const ty = slot(t, th, inOff);
|
|
1698
1738
|
const lane = laneY + th / 2;
|
|
1699
1739
|
laneY += th + LOOP_GAP;
|
|
1700
1740
|
const k = th;
|
|
@@ -1705,10 +1745,20 @@ function renderSankey(svg, chart, width, height, colors, bgColor, textColor, top
|
|
|
1705
1745
|
`M${sx},${y1} C${sx + k},${y1} ${sx + k},${lane} ${sx},${lane} L${tx},${lane} C${tx - k},${lane} ${tx - k},${y2} ${tx},${y2}`
|
|
1706
1746
|
).attr("fill", "none").attr("stroke", color).attr("stroke-width", th).attr("stroke-opacity", opacity);
|
|
1707
1747
|
} else {
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1748
|
+
const chain = chains.get(l);
|
|
1749
|
+
const top2 = [];
|
|
1750
|
+
const bottom = [];
|
|
1751
|
+
chain.forEach((g, i) => {
|
|
1752
|
+
const gx = g.s.x + NODE_W;
|
|
1753
|
+
const cx = (gx + g.t.x) / 2;
|
|
1754
|
+
top2.push(
|
|
1755
|
+
`${i === 0 ? "M" : "L"}${gx},${g.sy} C${cx},${g.sy} ${cx},${g.ty} ${g.t.x},${g.ty}`
|
|
1756
|
+
);
|
|
1757
|
+
bottom.unshift(
|
|
1758
|
+
`L${g.t.x},${g.ty + th} C${cx},${g.ty + th} ${cx},${g.sy + th} ${gx},${g.sy + th}`
|
|
1759
|
+
);
|
|
1760
|
+
});
|
|
1761
|
+
ribbon = svg.append("path").attr("d", `${top2.join(" ")} ${bottom.join(" ")} Z`).attr("fill", color).attr("fill-opacity", opacity);
|
|
1712
1762
|
}
|
|
1713
1763
|
tagDatum(ribbon, {
|
|
1714
1764
|
line: l.lineNumber,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-26EVL454.js";
|
|
5
5
|
import {
|
|
6
6
|
layoutGraph
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5SSTVFPX.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-XBJJP2HN.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
renderNoteBadge,
|
|
15
15
|
renderNoteBox,
|
|
16
16
|
renderNoteConnector
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JRWUHLRP.js";
|
|
18
18
|
import {
|
|
19
19
|
fitDiagramToCanvas
|
|
20
20
|
} from "./chunk-EPDBWATV.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-24YPR5EH.js";
|
|
24
24
|
import {
|
|
25
25
|
renderIntegratedLegend
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NMS5XSLX.js";
|
|
27
27
|
import {
|
|
28
28
|
ARROWHEAD_HEIGHT,
|
|
29
29
|
ARROWHEAD_WIDTH,
|
|
@@ -33,14 +33,14 @@ import {
|
|
|
33
33
|
} from "./chunk-XCKNFFKM.js";
|
|
34
34
|
import {
|
|
35
35
|
layoutInlineHeader
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-42UJ23H3.js";
|
|
37
37
|
import {
|
|
38
38
|
serializeSvg
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-CYRB2JTN.js";
|
|
40
40
|
import {
|
|
41
41
|
getLegendExtent,
|
|
42
42
|
getMaxLegendReservedHeight
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JILEYZ2V.js";
|
|
44
44
|
import {
|
|
45
45
|
TITLE_FONT_SIZE,
|
|
46
46
|
TITLE_FONT_WEIGHT,
|
|
@@ -51,18 +51,18 @@ import {
|
|
|
51
51
|
} from "./chunk-ICLB27PZ.js";
|
|
52
52
|
import {
|
|
53
53
|
parseState
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2YAFDND3.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveActiveTagGroup,
|
|
57
57
|
resolveGroupTagColor,
|
|
58
58
|
resolveTagColor,
|
|
59
59
|
tagAttrKey
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-4SACN2C5.js";
|
|
61
61
|
import {
|
|
62
62
|
fillModeFromOptions,
|
|
63
63
|
legendInlineRequested,
|
|
64
64
|
legendSuppressed
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-TIIZIAGS.js";
|
|
66
66
|
import {
|
|
67
67
|
measureText
|
|
68
68
|
} from "./chunk-KAO7JL4I.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
mix,
|
|
72
72
|
shapeFill,
|
|
73
73
|
themeBaseBg
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-6GXLAKUH.js";
|
|
75
75
|
|
|
76
76
|
// src/graph/state-renderer.ts
|
|
77
77
|
import * as d3Selection from "d3-selection";
|
|
@@ -324,11 +324,7 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
324
324
|
const fillMode = fillModeFromOptions(graph.options ?? {});
|
|
325
325
|
const noNotes = graph.options?.["no-notes"] === "on";
|
|
326
326
|
const mutableTagGroups = [...tagGroups];
|
|
327
|
-
const nodeIntentColor = (node) => node.color ?? (activeTagGroup ? resolveTagColor(
|
|
328
|
-
node.metadata ?? {},
|
|
329
|
-
mutableTagGroups,
|
|
330
|
-
activeTagGroup
|
|
331
|
-
) : void 0);
|
|
327
|
+
const nodeIntentColor = (node) => node.color ?? (activeTagGroup ? resolveTagColor(node.metadata ?? {}, mutableTagGroups, activeTagGroup) : void 0);
|
|
332
328
|
for (const node of layout.nodes) {
|
|
333
329
|
const isCollapsedGroup = collapsedGroupIds.has(node.id);
|
|
334
330
|
const nodeG = contentG.append("g").attr("transform", `translate(${node.x}, ${node.y})`).attr("class", isCollapsedGroup ? "st-group-wrapper st-node" : "st-node").attr("data-line-number", String(node.lineNumber)).attr("data-node-id", node.id).style("cursor", "pointer");
|
|
@@ -336,7 +332,7 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
336
332
|
const tagKey = tagAttrKey(activeTagGroup);
|
|
337
333
|
const metaValue = node.metadata?.[tagKey];
|
|
338
334
|
if (metaValue) {
|
|
339
|
-
nodeG.attr(`data-tag-${tagKey}`, metaValue.toLowerCase());
|
|
335
|
+
nodeG.attr(`data-tag-${tagAttrKey(tagKey)}`, metaValue.toLowerCase());
|
|
340
336
|
}
|
|
341
337
|
}
|
|
342
338
|
if (isCollapsedGroup) {
|