@diagrammo/dgmo 0.50.2 → 0.52.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/.cursorrules +15 -19
- package/.github/copilot-instructions.md +15 -19
- package/.windsurfrules +15 -19
- package/SKILL.md +15 -19
- package/dist/advanced.d.ts +155 -65
- package/dist/advanced.js +231 -189
- package/dist/{analyzer-UYKBXAKR.js → analyzer-BJ54GIFB.js} +3 -3
- package/dist/auto.css +31 -8
- package/dist/auto.d.ts +6 -0
- package/dist/auto.js +171 -133
- package/dist/auto.mjs +3062 -1478
- package/dist/block.css +28 -8
- package/dist/block.js +138 -72
- package/dist/charts-d3-MXEP6BNP.js +26 -0
- package/dist/{chunk-3YPY3OXD.js → chunk-3HF5YEFJ.js} +17 -7
- package/dist/{chunk-4MJ7M6YL.js → chunk-3HGU63UY.js} +14 -13
- package/dist/chunk-3LK5DNED.js +35 -0
- package/dist/{chunk-3Y2DRD7S.js → chunk-3QD7VP3U.js} +9 -4
- package/dist/{chunk-6BFZKBGD.js → chunk-3YRPZ7ZZ.js} +2 -2
- package/dist/{chunk-WW32K72E.js → chunk-44VCIPHF.js} +25 -21
- package/dist/{chunk-TN35C5KM.js → chunk-4AQRFDXL.js} +2 -2
- package/dist/{chunk-HHXOONLX.js → chunk-4B5YISOR.js} +38 -1
- package/dist/{chunk-PGEGPSCZ.js → chunk-4IHAV6O7.js} +2 -2
- package/dist/{chunk-7L3R6I3U.js → chunk-4UNQ6X24.js} +10 -7
- package/dist/{chunk-O7NUCTFU.js → chunk-4YFKQ5WT.js} +7 -4
- package/dist/{chunk-5WFIYXQ6.js → chunk-5223KXFD.js} +122 -242
- package/dist/{chunk-PFHVU7UA.js → chunk-5BHJZH62.js} +3 -3
- package/dist/{chunk-QYTPPDAO.js → chunk-5HILBT7X.js} +2 -2
- package/dist/{chunk-GKC3HILQ.js → chunk-5NGAO4QK.js} +27 -4
- package/dist/{chunk-IAEC4KLA.js → chunk-5QKQSSPO.js} +2 -2
- package/dist/{chunk-DSWVNQVS.js → chunk-5RP7JRVP.js} +4 -59
- package/dist/{chunk-MCZ5LBZD.js → chunk-5SEVICBT.js} +8 -8
- package/dist/{chunk-GBE54KY6.js → chunk-6EJITS44.js} +8 -5
- package/dist/{chunk-BBGDM4NQ.js → chunk-6HQH6JZE.js} +35 -16
- package/dist/{chunk-66NVRO4K.js → chunk-6LBQ7ELG.js} +17 -18
- package/dist/{chunk-4XK3FLFB.js → chunk-6NYWYNBI.js} +3 -3
- package/dist/{chunk-VBYSIOOY.js → chunk-75G3Q4DK.js} +3 -3
- package/dist/{chunk-3NODSS6A.js → chunk-77FGAVZC.js} +13 -10
- package/dist/{chunk-6IAA2QQ2.js → chunk-7BIZCTAX.js} +2 -2
- package/dist/{chunk-TWQUYVP3.js → chunk-7DF4J4RL.js} +4 -4
- package/dist/{chunk-66RUL3XF.js → chunk-7KINELPI.js} +111 -49
- package/dist/{chunk-L3UHP6TD.js → chunk-7L4UJOY6.js} +1 -2
- package/dist/{chunk-QJP6PG7F.js → chunk-7QE3XMRK.js} +19 -18
- package/dist/{chunk-P7CE7LXL.js → chunk-AAXZDUOV.js} +18 -17
- package/dist/{chunk-SXRTRMEE.js → chunk-AL672HNE.js} +3 -3
- package/dist/chunk-APKUAJ2L.js +220 -0
- package/dist/{chunk-SCHXJTZL.js → chunk-ARGMQ3H4.js} +2 -2
- package/dist/{chunk-HEVYAHLW.js → chunk-AUIM2NVH.js} +5 -5
- package/dist/{chunk-3LH5CLP4.js → chunk-BKVOYV6I.js} +143 -6
- package/dist/{chunk-RZ6YKEUJ.js → chunk-BPIZNB5O.js} +17 -15
- package/dist/{chunk-QROYX7TT.js → chunk-BPY242XU.js} +6 -4
- package/dist/{chunk-OTAL43EH.js → chunk-BRENJ2BQ.js} +39 -3
- package/dist/{chunk-FA6K3FWM.js → chunk-CCNDLW7Z.js} +44 -22
- package/dist/{chunk-2KGXHFYK.js → chunk-CIRFIL4M.js} +49 -29
- package/dist/chunk-DAOFNU6J.js +283 -0
- package/dist/{chunk-QJJZSROI.js → chunk-DYWQFQJP.js} +48 -38
- package/dist/{chunk-XEGTMVYY.js → chunk-EMLPOL77.js} +15 -8
- package/dist/{chunk-NWED7CYO.js → chunk-FHGVORFO.js} +29 -25
- package/dist/{chunk-U2HGPLZS.js → chunk-FQ7HTV52.js} +17 -2
- package/dist/{chunk-H73FP42Q.js → chunk-FQMUHRVC.js} +70 -31
- package/dist/{chunk-BTUTZMPT.js → chunk-FT3ZYWET.js} +108 -42
- package/dist/{chunk-T5SHNNGP.js → chunk-FUPF2UYQ.js} +92 -34
- package/dist/{chunk-3XPUDB7B.js → chunk-FY5MSZAP.js} +279 -39
- package/dist/{chunk-M5RXSRO2.js → chunk-GCYTI3DE.js} +42 -33
- package/dist/{chunk-DN66GPY5.js → chunk-GJFAMOGK.js} +24 -3
- package/dist/{chunk-F2L5GCQ4.js → chunk-GU46PPT3.js} +3 -3
- package/dist/{chunk-6IUAK7RZ.js → chunk-H6PI3KJT.js} +2 -2
- package/dist/{chunk-ONA5KPV3.js → chunk-H7KENAZO.js} +18 -14
- package/dist/{chunk-SQLNBA64.js → chunk-HBPDFCQY.js} +3 -3
- package/dist/{chunk-SCQ5VPUF.js → chunk-HFMYN6N2.js} +2 -2
- package/dist/{chunk-FJUNPCYI.js → chunk-HHKO6SKY.js} +2 -2
- package/dist/{chunk-DZXYF2F5.js → chunk-HQQNCY7W.js} +21 -8
- package/dist/{chunk-7TV5Y53Y.js → chunk-HWX6ZHF3.js} +3 -3
- package/dist/{chunk-3P2DKJCG.js → chunk-ICPJPQ5C.js} +2 -2
- package/dist/{chunk-VUJGMJE6.js → chunk-IM6PDDCE.js} +4 -4
- package/dist/{chunk-JJUOHGX2.js → chunk-INE5YJBZ.js} +13 -8
- package/dist/{chunk-HTMN2Z6U.js → chunk-J6QROYDA.js} +58 -11
- package/dist/{chunk-NX4EQS3U.js → chunk-J76PIKAT.js} +2 -2
- package/dist/{chunk-SVTI362O.js → chunk-J7KJR3R6.js} +129 -109
- package/dist/{chunk-JEUJOX5X.js → chunk-J7TLCB2Q.js} +2 -2
- package/dist/{chunk-O7WP4ZD4.js → chunk-JED6ZDEE.js} +2 -2
- package/dist/{chunk-J6K7RP6P.js → chunk-JRCOYRRH.js} +19 -7
- package/dist/{chunk-7QKLIMRZ.js → chunk-K2I2XOZD.js} +46 -51
- package/dist/{chunk-EAMEADTV.js → chunk-K4EOKJA6.js} +96 -24
- package/dist/{chunk-5OWVC2A6.js → chunk-KGVZ5VGH.js} +13 -10
- package/dist/{chunk-DFTFPYUD.js → chunk-LBMS4AW6.js} +22 -21
- package/dist/{chunk-VVW3F3MD.js → chunk-LGT3PZCJ.js} +27 -19
- package/dist/{chunk-OMNGQPEZ.js → chunk-LTXOLDUZ.js} +9 -6
- package/dist/{chunk-Q4V4XQWV.js → chunk-MUE65OTD.js} +5 -4
- package/dist/{chunk-5GJYGP5Z.js → chunk-MUVJ57EP.js} +14 -18
- package/dist/{chunk-CLD2OKV7.js → chunk-MX2EY5Y7.js} +2 -2
- package/dist/{chunk-OTQKUHRS.js → chunk-NNS4E7CW.js} +6 -4
- package/dist/{chunk-NNAAJVBU.js → chunk-NR5HCAUD.js} +1 -1
- package/dist/{chunk-KFZYNWWO.js → chunk-ONU3U4GL.js} +4 -4
- package/dist/{chunk-YNRDWYZP.js → chunk-OQKP2X3D.js} +170 -51
- package/dist/{chunk-AHGF2YYA.js → chunk-OTOHI4JO.js} +2 -2
- package/dist/{chunk-EOFPYPAU.js → chunk-P3NRSSUU.js} +51 -11
- package/dist/{chunk-QXKWYZNR.js → chunk-PRI2OD4E.js} +10 -3
- package/dist/{chunk-U6EQI3U6.js → chunk-QBZYACOG.js} +3 -3
- package/dist/{chunk-C2CVAM3U.js → chunk-QGATPIPX.js} +170 -91
- package/dist/{chunk-PZFVK3IH.js → chunk-QHXCAEMX.js} +8 -5
- package/dist/{chunk-BH3UYK36.js → chunk-QJMKPUYK.js} +15 -5
- package/dist/{chunk-HQCHYB5F.js → chunk-QOOUC2J5.js} +2 -2
- package/dist/{chunk-Z6XJQ6KO.js → chunk-QVENJMNX.js} +2 -2
- package/dist/{chunk-IUMPEA64.js → chunk-QZX5S6R3.js} +4 -4
- package/dist/{chunk-I7F2A35O.js → chunk-R3YSD62R.js} +25 -47
- package/dist/{chunk-NU3XLTGP.js → chunk-REJAIQ5S.js} +4 -4
- package/dist/{chunk-2C56LEML.js → chunk-ROOE4R4Y.js} +8 -5
- package/dist/{chunk-XHVV4NVW.js → chunk-RT7ACF77.js} +12 -2
- package/dist/{chunk-I2WKW7C7.js → chunk-SMRFPVLQ.js} +3 -3
- package/dist/{chunk-VDOOQZUD.js → chunk-SWSIKFEB.js} +4 -4
- package/dist/{chunk-HLJVEAOF.js → chunk-T4A4TSTJ.js} +19 -45
- package/dist/{chunk-KHEYDLMT.js → chunk-TJVLKNGR.js} +20 -10
- package/dist/{chunk-GL5UZ6NY.js → chunk-TPFKKXCB.js} +3 -3
- package/dist/{chunk-X6EZPSW6.js → chunk-TTIM6YTT.js} +31 -21
- package/dist/{chunk-BCYVE3N5.js → chunk-TYS6CSS5.js} +2 -2
- package/dist/{chunk-T4VOVZT5.js → chunk-UBLHQTLV.js} +15 -14
- package/dist/{chunk-3LKM6FMW.js → chunk-UNURMIQO.js} +2 -2
- package/dist/{chunk-TSA237IM.js → chunk-VILVLS7P.js} +5 -3
- package/dist/{chunk-HGN652MU.js → chunk-VL2O2F3W.js} +2 -2
- package/dist/{chunk-3XGZF2QJ.js → chunk-VQOCMUWI.js} +39 -28
- package/dist/{chunk-P6T66CCZ.js → chunk-WBM7ZNDI.js} +3 -2
- package/dist/{chunk-CMCR5WBW.js → chunk-WBRZJOEC.js} +3 -3
- package/dist/{chunk-5LWQH6QV.js → chunk-WCT3NYCV.js} +1 -1
- package/dist/{chunk-C4GQDB5L.js → chunk-WRNFDFPU.js} +2 -2
- package/dist/{chunk-6HJBFVLO.js → chunk-XD6ZYURY.js} +9 -4
- package/dist/{chunk-C63UWAKM.js → chunk-Y2ZE3MSG.js} +2 -2
- package/dist/{chunk-7UEMZREK.js → chunk-YAA6IID3.js} +2 -2
- package/dist/{chunk-F7BFXWNQ.js → chunk-YIBAWQGJ.js} +7 -4
- package/dist/{chunk-PH5X4GIP.js → chunk-YTMTPUH4.js} +8 -5
- package/dist/{chunk-3UIKSPFB.js → chunk-Z5QVYKR7.js} +11 -3
- package/dist/{chunk-KQ57MHRO.js → chunk-ZEF5M5MB.js} +155 -87
- package/dist/{chunk-LE4MYMLI.js → chunk-ZJV7GYR4.js} +6 -6
- package/dist/{chunk-XJLKLU4D.js → chunk-ZNWAYU6N.js} +11 -7
- package/dist/cli.cjs +165 -148
- package/dist/clock.js +105 -25
- package/dist/countdown.js +208 -82
- package/dist/dgmo-router-X7ZGAPIE.js +86 -0
- package/dist/dimensions-45H6JQEY.js +22 -0
- package/dist/editor.js +17 -2
- package/dist/element.d.ts +6 -0
- package/dist/element.js +172 -134
- package/dist/element.mjs +3026 -1463
- package/dist/{flowchart-parser-OE4WHLTF.js → flowchart-parser-UKELHBSB.js} +4 -4
- package/dist/{flowchart-renderer-GPCSMTOR.js → flowchart-renderer-MNCDS7MV.js} +10 -10
- package/dist/highlight.d.ts +21 -1
- package/dist/highlight.js +106 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +59 -57
- package/dist/{layout-FWODLIMP.js → layout-2L3WMRYU.js} +6 -6
- package/dist/{layout-7SKMFYHL.js → layout-46N4JJYK.js} +5 -5
- package/dist/{layout-7H4H46CS.js → layout-7QXCNOVS.js} +3 -3
- package/dist/layout-A4XWNVID.js +14 -0
- package/dist/{layout-46366KBT.js → layout-A5UHRWVH.js} +3 -3
- package/dist/{layout-NXG63LWH.js → layout-AM2JWW3X.js} +4 -4
- package/dist/{layout-DC4TVXER.js → layout-EE6GE46Y.js} +5 -5
- package/dist/{layout-FGQWRYYW.js → layout-F4WO357A.js} +3 -3
- package/dist/layout-G23F7LDH.js +9 -0
- package/dist/{layout-QNUQLEHU.js → layout-GM4UGR7B.js} +5 -4
- package/dist/{layout-7MZ5NF2N.js → layout-GQQJXNYH.js} +5 -5
- package/dist/{layout-5BG6DFCU.js → layout-IIE2S5FK.js} +6 -6
- package/dist/{layout-34CLNICW.js → layout-OAC4PEAC.js} +5 -5
- package/dist/layout-VMCRX66I.js +14 -0
- package/dist/{layout-PUQCB6AN.js → layout-ZDOSXL5G.js} +7 -7
- package/dist/{layout-search-QS44PI5R.js → layout-search-55FU6HD3.js} +6 -157
- package/dist/map-data/gazetteer.json +1 -1
- package/dist/{palettes-PRJ2RI6D.js → palettes-UDLZ2SA4.js} +2 -2
- package/dist/{parser-D5VILGN2.js → parser-2ECN6JA2.js} +4 -4
- package/dist/{parser-LWKKBNSA.js → parser-4WTIHM5J.js} +3 -3
- package/dist/{parser-DFFEDKHH.js → parser-5H2BTSJQ.js} +3 -3
- package/dist/{parser-4NO6VZ6S.js → parser-75KVXUNS.js} +4 -4
- package/dist/{parser-VKOJM7KS.js → parser-774AC53T.js} +4 -4
- package/dist/{parser-IBWNAPY4.js → parser-BE4YCSRU.js} +3 -3
- package/dist/{parser-4AI5ZN5F.js → parser-CNGUQUQI.js} +3 -3
- package/dist/{parser-36HVKU5U.js → parser-DEUUSQIN.js} +7 -6
- package/dist/{parser-H3XEPFPV.js → parser-DQAFLUJB.js} +4 -4
- package/dist/{parser-5OXGPNBF.js → parser-EYCKNKQA.js} +5 -5
- package/dist/{parser-TGQZJ5OT.js → parser-FXISIU6A.js} +4 -4
- package/dist/{parser-JJR52VAT.js → parser-GTB4XC7P.js} +5 -5
- package/dist/{parser-AGVYTQXV.js → parser-GVEPAUSD.js} +4 -4
- package/dist/{parser-WAV5JRPT.js → parser-HSQGTY4G.js} +4 -4
- package/dist/{parser-YS7TOS2K.js → parser-HVKRINUS.js} +3 -3
- package/dist/{parser-W4PQUGX3.js → parser-J5MIEYO4.js} +5 -5
- package/dist/parser-KMZIXLDZ.js +13 -0
- package/dist/{parser-HYRTF3DO.js → parser-LJHXWSXU.js} +3 -3
- package/dist/{parser-KCR2WS3V.js → parser-PT3W72G5.js} +4 -4
- package/dist/{parser-CVMEDULU.js → parser-SBJQDPHL.js} +4 -4
- package/dist/{parser-RZPVAQVX.js → parser-SUWWWCMX.js} +4 -3
- package/dist/{parser-TXND652E.js → parser-SXDRNZOA.js} +4 -4
- package/dist/parser-UMILOW3M.js +14 -0
- package/dist/{parser-RV4M6AS2.js → parser-UP3AZ367.js} +4 -4
- package/dist/{parser-IJBMRXMC.js → parser-WHPRV3X5.js} +5 -5
- package/dist/{parser-MPCE5JBG.js → parser-WX3UODSJ.js} +4 -4
- package/dist/{parser-K3XXLMUW.js → parser-XCIEN3KN.js} +4 -4
- package/dist/{parser-AXKBDGNO.js → parser-XIRTUMVN.js} +5 -5
- package/dist/{parser-B5FVS7O6.js → parser-YKCGIG45.js} +3 -3
- package/dist/{parser-PSA4UBSP.js → parser-YKYMQG3B.js} +4 -4
- package/dist/{parser-MTOMTWTD.js → parser-ZGM2OJ6Y.js} +6 -5
- package/dist/{parser-CSFUN3CT.js → parser-ZL5QUFVH.js} +5 -4
- package/dist/pert.d.ts +2 -2
- package/dist/{renderer-PPIHO5FI.js → renderer-3F7OS2AX.js} +14 -13
- package/dist/{renderer-SBS3YWU5.js → renderer-4QB4K7Q3.js} +9 -9
- package/dist/{renderer-GHPZMFU2.js → renderer-5DAKMIU2.js} +3 -3
- package/dist/{renderer-R2WNIC2C.js → renderer-5H4SY7YY.js} +9 -9
- package/dist/{renderer-DAXMXIKD.js → renderer-5PIQPFOX.js} +5 -4
- package/dist/{renderer-45PSOL3E.js → renderer-6MU37QF5.js} +6 -6
- package/dist/renderer-AQVMWJ4M.js +27 -0
- package/dist/{renderer-A5VE5BCI.js → renderer-BDDW6K7N.js} +9 -9
- package/dist/{renderer-AUW2BE6G.js → renderer-BNB3VIDY.js} +10 -10
- package/dist/{renderer-4ITCHBT7.js → renderer-CQY6ATOS.js} +6 -6
- package/dist/{renderer-6OKF44KS.js → renderer-CVW75CXL.js} +15 -15
- package/dist/{renderer-7RH2SI3B.js → renderer-DT4XRFEP.js} +5 -4
- package/dist/{renderer-B5TBNZJE.js → renderer-ERHBSTQT.js} +9 -9
- package/dist/{renderer-HVCU2C3Z.js → renderer-HSHHVYWF.js} +5 -4
- package/dist/renderer-IDPVUFNB.js +28 -0
- package/dist/renderer-ILX6BGKR.js +21 -0
- package/dist/renderer-JP663HKG.js +22 -0
- package/dist/{renderer-KS7YZJE2.js → renderer-KNFTTOBL.js} +11 -11
- package/dist/{renderer-2AZ5HJFK.js → renderer-MVUZBESR.js} +5 -5
- package/dist/{renderer-QAOBLRXV.js → renderer-N4EBR2FV.js} +11 -11
- package/dist/{renderer-P5ROYQGU.js → renderer-NHO46CT2.js} +4 -4
- package/dist/{renderer-NGXZTRK6.js → renderer-NO2QJ5LZ.js} +10 -10
- package/dist/{renderer-FPE3J5VZ.js → renderer-OGFV5RXX.js} +12 -12
- package/dist/{renderer-ODUUOPVT.js → renderer-PDLESJMS.js} +15 -15
- package/dist/renderer-T4MTNINC.js +24 -0
- package/dist/renderer-TOUGFGTM.js +24 -0
- package/dist/{renderer-BSR2O2H6.js → renderer-U3KPD43Y.js} +14 -13
- package/dist/{renderer-JCCHNECZ.js → renderer-X334IJU2.js} +10 -10
- package/dist/{renderer-5DSEWF74.js → renderer-Y5OAMOCR.js} +9 -9
- package/dist/{renderer-5KVCNMOJ.js → renderer-YONAKAJU.js} +5 -3
- package/dist/{renderer-7SD6MSBS.js → renderer-YWMI6Y2U.js} +12 -12
- package/dist/{renderer-2QPMJ2DA.js → renderer-ZWIH4WDW.js} +10 -10
- package/dist/renderer-radial-7CGZMVMS.js +21 -0
- package/dist/{resolver-FHBCO3PL.js → resolver-EMTGNR3D.js} +4 -3
- package/dist/{state-parser-3REXRK3R.js → state-parser-BATWAID2.js} +4 -4
- package/dist/{state-renderer-XYLNRWXR.js → state-renderer-3FKZJ3LP.js} +10 -10
- package/dist/{themes-PdPR1-hC.d.ts → themes-32xj5ZTW.d.ts} +27 -0
- package/docs/ai-integration.md +15 -19
- package/docs/language-reference.md +106 -21
- package/gallery/fixtures/clock.dgmo +3 -3
- package/gallery/fixtures/countdown-tz.dgmo +5 -0
- package/package.json +1 -1
- package/dist/charts-d3-MUW3LTML.js +0 -26
- package/dist/dgmo-router-CE2G67FV.js +0 -84
- package/dist/dimensions-OTBKC5M6.js +0 -22
- package/dist/layout-6RDJHS6E.js +0 -9
- package/dist/layout-J36454XU.js +0 -14
- package/dist/layout-LD6XTLD6.js +0 -14
- package/dist/parser-4WQQQXCG.js +0 -13
- package/dist/parser-O4HIUN6G.js +0 -13
- package/dist/renderer-CYB4LK3G.js +0 -22
- package/dist/renderer-FF24KZCI.js +0 -24
- package/dist/renderer-FYSVXL7M.js +0 -28
- package/dist/renderer-HDCCZURL.js +0 -24
- package/dist/renderer-PSMMZCKH.js +0 -21
- package/dist/renderer-UYMQQCJK.js +0 -24
- package/dist/renderer-radial-F7X5F2VU.js +0 -21
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
layoutC4Containers,
|
|
5
5
|
layoutC4Context,
|
|
6
6
|
layoutC4Deployment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ONU3U4GL.js";
|
|
8
8
|
import {
|
|
9
9
|
renderInlineText
|
|
10
10
|
} from "./chunk-3HDBAXF5.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-3CIOJ5YJ.js";
|
|
18
18
|
import {
|
|
19
19
|
renderIntegratedLegend
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AUIM2NVH.js";
|
|
21
21
|
import {
|
|
22
22
|
TITLE_FONT_SIZE,
|
|
23
23
|
TITLE_FONT_WEIGHT
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
} from "./chunk-6KFWC4CO.js";
|
|
28
28
|
import {
|
|
29
29
|
LEGEND_HEIGHT
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QOOUC2J5.js";
|
|
31
31
|
import {
|
|
32
32
|
measureText,
|
|
33
33
|
wrapTextToWidth
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WCT3NYCV.js";
|
|
35
35
|
import {
|
|
36
36
|
parseC4
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BPY242XU.js";
|
|
38
38
|
import {
|
|
39
39
|
preprocessDescriptionLine
|
|
40
40
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -42,10 +42,13 @@ import {
|
|
|
42
42
|
contrastText,
|
|
43
43
|
mix,
|
|
44
44
|
shapeFill
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
46
46
|
import {
|
|
47
47
|
tagAttrKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HHKO6SKY.js";
|
|
49
|
+
import {
|
|
50
|
+
fillModeFromOptions
|
|
51
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
49
52
|
|
|
50
53
|
// src/c4/renderer.ts
|
|
51
54
|
import * as d3Selection from "d3-selection";
|
|
@@ -87,11 +90,9 @@ function typeColor(type, palette, nodeColor) {
|
|
|
87
90
|
return palette.colors.teal;
|
|
88
91
|
}
|
|
89
92
|
}
|
|
90
|
-
function nodeFill(palette, isDark, type, nodeColor,
|
|
93
|
+
function nodeFill(palette, isDark, type, nodeColor, fillMode) {
|
|
91
94
|
const color = typeColor(type, palette, nodeColor);
|
|
92
|
-
return shapeFill(palette, color, isDark, {
|
|
93
|
-
...solid !== void 0 && { solid }
|
|
94
|
-
});
|
|
95
|
+
return shapeFill(palette, color, isDark, { mode: fillMode });
|
|
95
96
|
}
|
|
96
97
|
function nodeStroke(palette, type, nodeColor) {
|
|
97
98
|
return typeColor(type, palette, nodeColor);
|
|
@@ -229,8 +230,8 @@ function renderC4Context(container, parsed, layout, palette, isDark, onClickItem
|
|
|
229
230
|
}
|
|
230
231
|
const w = node.width;
|
|
231
232
|
const h = node.height;
|
|
232
|
-
const
|
|
233
|
-
const fill = nodeFill(palette, isDark, node.type, node.color,
|
|
233
|
+
const fillMode = fillModeFromOptions(parsed.options);
|
|
234
|
+
const fill = nodeFill(palette, isDark, node.type, node.color, fillMode);
|
|
234
235
|
const stroke = nodeStroke(palette, node.type, node.color);
|
|
235
236
|
const onFillText = contrastText(
|
|
236
237
|
fill,
|
|
@@ -259,7 +260,7 @@ function renderC4Context(container, parsed, layout, palette, isDark, onClickItem
|
|
|
259
260
|
nodeG.append("text").attr("x", 0).attr("y", yPos + NAME_FONT_SIZE / 2).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("fill", onFillText).attr("font-size", NAME_FONT_SIZE).attr("font-weight", "bold").text(node.name);
|
|
260
261
|
}
|
|
261
262
|
yPos += NAME_HEIGHT;
|
|
262
|
-
nodeG.append("line").attr("x1", -w / 2 + CARD_H_PAD / 2).attr("y1", yPos).attr("x2", w / 2 - CARD_H_PAD / 2).attr("y2", yPos).attr("stroke", solid ? onFillText : stroke).attr("stroke-width", 0.5).attr("stroke-opacity", 0.4);
|
|
263
|
+
nodeG.append("line").attr("x1", -w / 2 + CARD_H_PAD / 2).attr("y1", yPos).attr("x2", w / 2 - CARD_H_PAD / 2).attr("y2", yPos).attr("stroke", fillMode === "solid" ? onFillText : stroke).attr("stroke-width", 0.5).attr("stroke-opacity", 0.4);
|
|
263
264
|
yPos += DIVIDER_GAP;
|
|
264
265
|
if (node.description) {
|
|
265
266
|
const contentWidth = w - CARD_H_PAD * 2;
|
|
@@ -282,7 +283,7 @@ function renderC4Context(container, parsed, layout, palette, isDark, onClickItem
|
|
|
282
283
|
if (node.drillable) {
|
|
283
284
|
const clipId = `clip-drill-${node.id.replace(/\s+/g, "-")}`;
|
|
284
285
|
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);
|
|
285
|
-
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 - DRILL_BAR_HEIGHT).attr("width", w).attr("height", DRILL_BAR_HEIGHT).attr("fill", solid ? onFillText : stroke).attr("clip-path", `url(#${clipId})`).attr("class", "c4-drill-bar");
|
|
286
|
+
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 - DRILL_BAR_HEIGHT).attr("width", w).attr("height", DRILL_BAR_HEIGHT).attr("fill", fillMode === "solid" ? onFillText : stroke).attr("clip-path", `url(#${clipId})`).attr("class", "c4-drill-bar");
|
|
286
287
|
}
|
|
287
288
|
}
|
|
288
289
|
if (hasLegend) {
|
|
@@ -791,8 +792,8 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
791
792
|
}
|
|
792
793
|
const w = node.width;
|
|
793
794
|
const h = node.height;
|
|
794
|
-
const
|
|
795
|
-
const fill = nodeFill(palette, isDark, node.type, node.color,
|
|
795
|
+
const fillMode = fillModeFromOptions(parsed.options);
|
|
796
|
+
const fill = nodeFill(palette, isDark, node.type, node.color, fillMode);
|
|
796
797
|
const stroke = nodeStroke(palette, node.type, node.color);
|
|
797
798
|
const onFillText = contrastText(
|
|
798
799
|
fill,
|
|
@@ -860,7 +861,7 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
860
861
|
}
|
|
861
862
|
const metaEntries = collectCardMetadata(node.metadata);
|
|
862
863
|
if (metaEntries.length > 0) {
|
|
863
|
-
nodeG.append("line").attr("x1", -w / 2 + CARD_H_PAD / 2).attr("y1", yPos).attr("x2", w / 2 - CARD_H_PAD / 2).attr("y2", yPos).attr("stroke", solid ? onFillText : stroke).attr("stroke-width", 0.5).attr("stroke-opacity", 0.4);
|
|
864
|
+
nodeG.append("line").attr("x1", -w / 2 + CARD_H_PAD / 2).attr("y1", yPos).attr("x2", w / 2 - CARD_H_PAD / 2).attr("y2", yPos).attr("stroke", fillMode === "solid" ? onFillText : stroke).attr("stroke-width", 0.5).attr("stroke-opacity", 0.4);
|
|
864
865
|
yPos += DIVIDER_GAP;
|
|
865
866
|
const maxKeyWidth = Math.max(
|
|
866
867
|
...metaEntries.map((e) => measureText(`${e.key}: `, META_FONT_SIZE))
|
|
@@ -873,7 +874,7 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
873
874
|
}
|
|
874
875
|
}
|
|
875
876
|
} else {
|
|
876
|
-
nodeG.append("line").attr("x1", -w / 2 + CARD_H_PAD / 2).attr("y1", yPos).attr("x2", w / 2 - CARD_H_PAD / 2).attr("y2", yPos).attr("stroke", solid ? onFillText : stroke).attr("stroke-width", 0.5).attr("stroke-opacity", 0.4);
|
|
877
|
+
nodeG.append("line").attr("x1", -w / 2 + CARD_H_PAD / 2).attr("y1", yPos).attr("x2", w / 2 - CARD_H_PAD / 2).attr("y2", yPos).attr("stroke", fillMode === "solid" ? onFillText : stroke).attr("stroke-width", 0.5).attr("stroke-opacity", 0.4);
|
|
877
878
|
yPos += DIVIDER_GAP;
|
|
878
879
|
if (node.description) {
|
|
879
880
|
const contentWidth = w - CARD_H_PAD * 2;
|
|
@@ -897,7 +898,7 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
897
898
|
if (node.drillable) {
|
|
898
899
|
const clipId = `clip-drill-${node.id.replace(/\s+/g, "-")}`;
|
|
899
900
|
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);
|
|
900
|
-
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 - DRILL_BAR_HEIGHT).attr("width", w).attr("height", DRILL_BAR_HEIGHT).attr("fill", solid ? onFillText : stroke).attr("clip-path", `url(#${clipId})`).attr("class", "c4-drill-bar");
|
|
901
|
+
nodeG.append("rect").attr("x", -w / 2).attr("y", h / 2 - DRILL_BAR_HEIGHT).attr("width", w).attr("height", DRILL_BAR_HEIGHT).attr("fill", fillMode === "solid" ? onFillText : stroke).attr("clip-path", `url(#${clipId})`).attr("class", "c4-drill-bar");
|
|
901
902
|
}
|
|
902
903
|
}
|
|
903
904
|
if (hasLegend) {
|
|
@@ -1035,4 +1036,4 @@ export {
|
|
|
1035
1036
|
renderC4Deployment,
|
|
1036
1037
|
renderC4DeploymentForExport
|
|
1037
1038
|
};
|
|
1038
|
-
//# sourceMappingURL=chunk-
|
|
1039
|
+
//# sourceMappingURL=chunk-LBMS4AW6.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
analyzePert
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J76PIKAT.js";
|
|
4
4
|
import {
|
|
5
5
|
computeNodeSizing,
|
|
6
6
|
layoutPert
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GU46PPT3.js";
|
|
8
8
|
import {
|
|
9
9
|
COLLAPSE_BAR_HEIGHT,
|
|
10
10
|
CONTAINER_HEADER_HEIGHT,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YYVTBZZC.js";
|
|
19
19
|
import {
|
|
20
20
|
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AUIM2NVH.js";
|
|
22
22
|
import {
|
|
23
23
|
CAPTION_BOX_PADDING_X,
|
|
24
24
|
CAPTION_BOX_PADDING_Y,
|
|
@@ -35,32 +35,32 @@ import {
|
|
|
35
35
|
} from "./chunk-6KFWC4CO.js";
|
|
36
36
|
import {
|
|
37
37
|
LEGEND_HEIGHT
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QOOUC2J5.js";
|
|
39
39
|
import {
|
|
40
40
|
measureText,
|
|
41
41
|
truncateText,
|
|
42
42
|
wrapTextToWidth
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WCT3NYCV.js";
|
|
44
44
|
import {
|
|
45
45
|
parsePert
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-K4EOKJA6.js";
|
|
47
47
|
import {
|
|
48
48
|
addCalendarDays,
|
|
49
49
|
formatDuration,
|
|
50
50
|
formatScheduleValue,
|
|
51
51
|
formatSlackValue,
|
|
52
52
|
formatSprintCell
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7L4UJOY6.js";
|
|
54
54
|
import {
|
|
55
55
|
contrastText,
|
|
56
56
|
mix,
|
|
57
57
|
shapeFill,
|
|
58
58
|
themeBaseBg
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveActiveTagGroup,
|
|
62
62
|
resolveTagColor
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HHKO6SKY.js";
|
|
64
64
|
|
|
65
65
|
// src/pert/renderer.ts
|
|
66
66
|
import * as d3Selection from "d3-selection";
|
|
@@ -506,7 +506,10 @@ function paintAnalysisRowMode(svg, resolved, palette, isDark, state, captionBull
|
|
|
506
506
|
isDark
|
|
507
507
|
};
|
|
508
508
|
if (w.kind === "tornado") {
|
|
509
|
-
renderTornadoBlock(svg, state.tornadoRows,
|
|
509
|
+
renderTornadoBlock(svg, state.tornadoRows, {
|
|
510
|
+
...args,
|
|
511
|
+
fillMode: resolved.options.fillMode
|
|
512
|
+
});
|
|
510
513
|
} else {
|
|
511
514
|
const scurveTitle = !state.summaryRendered && captionBullets.length > 0 ? (
|
|
512
515
|
// In-bounds by length check.
|
|
@@ -625,7 +628,10 @@ function paintAnalysisStackMode(svg, resolved, palette, isDark, state, captionBu
|
|
|
625
628
|
};
|
|
626
629
|
switch (item.kind) {
|
|
627
630
|
case "tornado":
|
|
628
|
-
renderTornadoBlock(svg, state.tornadoRows,
|
|
631
|
+
renderTornadoBlock(svg, state.tornadoRows, {
|
|
632
|
+
...args,
|
|
633
|
+
fillMode: resolved.options.fillMode
|
|
634
|
+
});
|
|
629
635
|
break;
|
|
630
636
|
case "scurve": {
|
|
631
637
|
const scurveTitle = !state.summaryRendered && captionBullets.length > 0 ? (
|
|
@@ -731,7 +737,7 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
731
737
|
if (layout.groups.length === 0) return;
|
|
732
738
|
const layer = root.append("g").attr("class", "pert-groups");
|
|
733
739
|
const unit = resolved.options.timeUnit;
|
|
734
|
-
const
|
|
740
|
+
const fillMode = resolved.options.fillMode;
|
|
735
741
|
const containerFill = mix(palette.surface, palette.bg, 40);
|
|
736
742
|
const containerStroke = palette.textMuted;
|
|
737
743
|
const mcOn = resolved.monteCarloResult !== null;
|
|
@@ -784,7 +790,9 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
784
790
|
"?"
|
|
785
791
|
);
|
|
786
792
|
const cardBaseColor = bandColor(memberBand, palette, palette.primary);
|
|
787
|
-
const cardFill = shapeFill(palette, cardBaseColor, isDark, {
|
|
793
|
+
const cardFill = shapeFill(palette, cardBaseColor, isDark, {
|
|
794
|
+
mode: fillMode
|
|
795
|
+
});
|
|
788
796
|
const cardLabelColor = contrastText(
|
|
789
797
|
cardFill,
|
|
790
798
|
palette.textOnFillLight,
|
|
@@ -912,7 +920,7 @@ function renderNodes(root, _defs, resolved, layout, palette, isDark, sizing, onC
|
|
|
912
920
|
const unit = resolved.options.timeUnit;
|
|
913
921
|
const sprintMode = resolved.options.sprintMode;
|
|
914
922
|
const sprintNumber = resolved.options.sprintNumber ?? 1;
|
|
915
|
-
const
|
|
923
|
+
const fillMode = resolved.options.fillMode;
|
|
916
924
|
const activeTagGroup = resolveActiveTagGroup(
|
|
917
925
|
resolved.tagGroups,
|
|
918
926
|
resolved.options.activeTag,
|
|
@@ -967,7 +975,7 @@ function renderNodes(root, _defs, resolved, layout, palette, isDark, sizing, onC
|
|
|
967
975
|
);
|
|
968
976
|
}
|
|
969
977
|
const baseColor = bandColor(band, palette, palette.primary);
|
|
970
|
-
const fill = shapeFill(palette, baseColor, isDark, {
|
|
978
|
+
const fill = shapeFill(palette, baseColor, isDark, { mode: fillMode });
|
|
971
979
|
const labelColor = contrastText(
|
|
972
980
|
fill,
|
|
973
981
|
palette.textOnFillLight,
|
|
@@ -979,7 +987,7 @@ function renderNodes(root, _defs, resolved, layout, palette, isDark, sizing, onC
|
|
|
979
987
|
activeTagGroup
|
|
980
988
|
);
|
|
981
989
|
const hasTagColor = tagColor !== void 0 && tagColor !== "#999999";
|
|
982
|
-
const tagBandFill = hasTagColor ? shapeFill(palette, tagColor, isDark, {
|
|
990
|
+
const tagBandFill = hasTagColor ? shapeFill(palette, tagColor, isDark, { mode: fillMode }) : void 0;
|
|
983
991
|
const tagLabelColor = hasTagColor ? contrastText(
|
|
984
992
|
tagBandFill,
|
|
985
993
|
palette.textOnFillLight,
|
|
@@ -1435,7 +1443,7 @@ function tornadoBoxHeightFor(rows) {
|
|
|
1435
1443
|
return rows.length * TORNADO_ROW_HEIGHT + 2 * CAPTION_BOX_PADDING_Y + CAPTION_HEADER_BAND_HEIGHT;
|
|
1436
1444
|
}
|
|
1437
1445
|
function renderTornadoBlock(svg, rows, args) {
|
|
1438
|
-
const { x, y, width, height, palette, isDark } = args;
|
|
1446
|
+
const { x, y, width, height, palette, isDark, fillMode } = args;
|
|
1439
1447
|
const { fill, stroke: chromeStroke } = analysisBlockChrome(palette, isDark);
|
|
1440
1448
|
const labelColor = contrastText(
|
|
1441
1449
|
fill,
|
|
@@ -1478,7 +1486,7 @@ function renderTornadoBlock(svg, rows, args) {
|
|
|
1478
1486
|
const rowY = firstRowY + i * TORNADO_ROW_HEIGHT;
|
|
1479
1487
|
const labelY = rowY + TORNADO_ROW_HEIGHT / 2 + TORNADO_BAR_FONT_SIZE / 2 - 2;
|
|
1480
1488
|
const barColor = bandColor(row.band, palette, palette.primary);
|
|
1481
|
-
const barFill = shapeFill(palette, barColor, isDark);
|
|
1489
|
+
const barFill = fillMode === "outline" ? shapeFill(palette, barColor, isDark, { mode: "outline" }) : shapeFill(palette, barColor, isDark);
|
|
1482
1490
|
const lowW = row.lowSwing * pixelsPerUnit;
|
|
1483
1491
|
const highW = row.highSwing * pixelsPerUnit;
|
|
1484
1492
|
const rowG = block.append("g").attr("class", "pert-tornado-row").attr("data-activity-id", row.id).attr("data-tornado-swing", String(row.lowSwing + row.highSwing));
|
|
@@ -1815,4 +1823,4 @@ export {
|
|
|
1815
1823
|
measurePertAnalysisBlock,
|
|
1816
1824
|
renderPertAnalysisBlock
|
|
1817
1825
|
};
|
|
1818
|
-
//# sourceMappingURL=chunk-
|
|
1826
|
+
//# sourceMappingURL=chunk-LGT3PZCJ.js.map
|
|
@@ -4,12 +4,13 @@ import {
|
|
|
4
4
|
matchTagBlockHeading,
|
|
5
5
|
stripDefaultModifier,
|
|
6
6
|
tagAttrKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HHKO6SKY.js";
|
|
8
8
|
import {
|
|
9
|
+
FILL_FAMILY_TOKENS,
|
|
9
10
|
extractColor,
|
|
10
11
|
measureIndent,
|
|
11
12
|
parseFirstLine
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
13
14
|
import {
|
|
14
15
|
emit
|
|
15
16
|
} from "./chunk-CXK4DZH3.js";
|
|
@@ -296,8 +297,10 @@ function parseSwimlane(content, palette) {
|
|
|
296
297
|
continue;
|
|
297
298
|
}
|
|
298
299
|
if (indent === 0) currentTagGroup = null;
|
|
299
|
-
if (indent === 0 &&
|
|
300
|
-
options[
|
|
300
|
+
if (indent === 0 && FILL_FAMILY_TOKENS.has(trimmed.toLowerCase())) {
|
|
301
|
+
for (const t of FILL_FAMILY_TOKENS) delete options[t];
|
|
302
|
+
if (trimmed.toLowerCase() !== "fill-tint")
|
|
303
|
+
options[trimmed.toLowerCase()] = "on";
|
|
301
304
|
continue;
|
|
302
305
|
}
|
|
303
306
|
if (indent === 0 && /^direction\s+/i.test(trimmed)) {
|
|
@@ -523,7 +526,7 @@ function parseSwimlane(content, palette) {
|
|
|
523
526
|
if (!trimmed) continue;
|
|
524
527
|
const indent = measureIndent(raw);
|
|
525
528
|
if (indent === 0 && /^direction\s+/i.test(trimmed)) continue;
|
|
526
|
-
if (indent === 0 &&
|
|
529
|
+
if (indent === 0 && FILL_FAMILY_TOKENS.has(trimmed.toLowerCase())) continue;
|
|
527
530
|
if (matchTagBlockHeading(trimmed) && indent === 0) {
|
|
528
531
|
inTagBlock = true;
|
|
529
532
|
continue;
|
|
@@ -682,4 +685,4 @@ export {
|
|
|
682
685
|
SWIMLANE_DIAGNOSTICS,
|
|
683
686
|
parseSwimlane
|
|
684
687
|
};
|
|
685
|
-
//# sourceMappingURL=chunk-
|
|
688
|
+
//# sourceMappingURL=chunk-LTXOLDUZ.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractColor,
|
|
3
|
+
fillModeFromOptions,
|
|
3
4
|
measureIndent,
|
|
4
5
|
parseFirstLine,
|
|
5
6
|
tryParseSharedOption
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
7
8
|
import {
|
|
8
9
|
makeDgmoError,
|
|
9
10
|
makeFail
|
|
@@ -19,7 +20,7 @@ function parseGoal(content, palette) {
|
|
|
19
20
|
const options = {
|
|
20
21
|
noPercent: false,
|
|
21
22
|
noValue: false,
|
|
22
|
-
|
|
23
|
+
fillMode: void 0,
|
|
23
24
|
noTitle: false,
|
|
24
25
|
noAutoColor: false,
|
|
25
26
|
noNote: false
|
|
@@ -113,7 +114,7 @@ function parseGoal(content, palette) {
|
|
|
113
114
|
continue;
|
|
114
115
|
}
|
|
115
116
|
if (tryParseSharedOption(trimmed, sharedOpts)) {
|
|
116
|
-
|
|
117
|
+
options.fillMode = fillModeFromOptions(sharedOpts);
|
|
117
118
|
if (sharedOpts["no-title"] === "on") options.noTitle = true;
|
|
118
119
|
continue;
|
|
119
120
|
}
|
|
@@ -155,4 +156,4 @@ function parseGoal(content, palette) {
|
|
|
155
156
|
export {
|
|
156
157
|
parseGoal
|
|
157
158
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-MUE65OTD.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-A44USUV7.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutInfra
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y2ZE3MSG.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInlineText
|
|
9
9
|
} from "./chunk-3HDBAXF5.js";
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
} from "./chunk-YYVTBZZC.js";
|
|
19
19
|
import {
|
|
20
20
|
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AUIM2NVH.js";
|
|
22
22
|
import {
|
|
23
23
|
getMaxLegendReservedHeight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YAA6IID3.js";
|
|
25
25
|
import {
|
|
26
26
|
TITLE_FONT_SIZE,
|
|
27
27
|
TITLE_FONT_WEIGHT,
|
|
@@ -41,15 +41,15 @@ import {
|
|
|
41
41
|
LEGEND_PILL_FONT_SIZE,
|
|
42
42
|
LEGEND_PILL_PAD,
|
|
43
43
|
measureLegendText
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QOOUC2J5.js";
|
|
45
45
|
import {
|
|
46
46
|
CHAR_WIDTH_RATIO,
|
|
47
47
|
measureText,
|
|
48
48
|
truncateText
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WCT3NYCV.js";
|
|
50
50
|
import {
|
|
51
51
|
parseInfra
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IM6PDDCE.js";
|
|
53
53
|
import {
|
|
54
54
|
preprocessDescriptionLine
|
|
55
55
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
contrastText,
|
|
58
58
|
mix,
|
|
59
59
|
shapeFill
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
61
61
|
import {
|
|
62
62
|
tagAttrKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HHKO6SKY.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveColor
|
|
66
66
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -813,10 +813,10 @@ function worstNodeSeverity(node, slo) {
|
|
|
813
813
|
}
|
|
814
814
|
return worst;
|
|
815
815
|
}
|
|
816
|
-
function nodeColor(_node, palette, isDark, severity,
|
|
816
|
+
function nodeColor(_node, palette, isDark, severity, fillMode) {
|
|
817
817
|
if (severity === "overloaded") {
|
|
818
818
|
const fill = shapeFill(palette, COLOR_OVERLOADED, isDark, {
|
|
819
|
-
|
|
819
|
+
mode: fillMode
|
|
820
820
|
});
|
|
821
821
|
return {
|
|
822
822
|
fill,
|
|
@@ -829,9 +829,7 @@ function nodeColor(_node, palette, isDark, severity, solid) {
|
|
|
829
829
|
};
|
|
830
830
|
}
|
|
831
831
|
if (severity === "warning") {
|
|
832
|
-
const fill = shapeFill(palette, COLOR_WARNING, isDark, {
|
|
833
|
-
...solid !== void 0 && { solid }
|
|
834
|
-
});
|
|
832
|
+
const fill = shapeFill(palette, COLOR_WARNING, isDark, { mode: fillMode });
|
|
835
833
|
return {
|
|
836
834
|
fill,
|
|
837
835
|
stroke: COLOR_WARNING,
|
|
@@ -843,9 +841,7 @@ function nodeColor(_node, palette, isDark, severity, solid) {
|
|
|
843
841
|
};
|
|
844
842
|
}
|
|
845
843
|
if (severity === "healthy") {
|
|
846
|
-
const fill = shapeFill(palette, COLOR_HEALTHY, isDark, {
|
|
847
|
-
...solid !== void 0 && { solid }
|
|
848
|
-
});
|
|
844
|
+
const fill = shapeFill(palette, COLOR_HEALTHY, isDark, { mode: fillMode });
|
|
849
845
|
return {
|
|
850
846
|
fill,
|
|
851
847
|
stroke: COLOR_HEALTHY,
|
|
@@ -970,7 +966,7 @@ function renderNodes(svg, nodes, palette, isDark, animate, expandedNodeIds, acti
|
|
|
970
966
|
for (const node of nodes) {
|
|
971
967
|
const slo = !node.isEdge && diagramOptions ? resolveNodeSlo(node, diagramOptions) : null;
|
|
972
968
|
const severity = worstNodeSeverity(node, slo);
|
|
973
|
-
const nodeColors = nodeColor(node, palette, isDark, severity,
|
|
969
|
+
const nodeColors = nodeColor(node, palette, isDark, severity, void 0);
|
|
974
970
|
const textFill = nodeColors.textFill;
|
|
975
971
|
let { fill, stroke } = nodeColors;
|
|
976
972
|
if (activeGroup && tagGroups && !node.isEdge) {
|
|
@@ -1561,4 +1557,4 @@ export {
|
|
|
1561
1557
|
renderInfra,
|
|
1562
1558
|
parseAndLayoutInfra
|
|
1563
1559
|
};
|
|
1564
|
-
//# sourceMappingURL=chunk-
|
|
1560
|
+
//# sourceMappingURL=chunk-MUVJ57EP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
acyclicOrient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WRNFDFPU.js";
|
|
4
4
|
|
|
5
5
|
// src/swimlane/layout.ts
|
|
6
6
|
var MARGIN = 30;
|
|
@@ -419,4 +419,4 @@ function layoutSwimlane(parsed) {
|
|
|
419
419
|
export {
|
|
420
420
|
layoutSwimlane
|
|
421
421
|
};
|
|
422
|
-
//# sourceMappingURL=chunk-
|
|
422
|
+
//# sourceMappingURL=chunk-MX2EY5Y7.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
tagAttrKey,
|
|
8
8
|
validateTagGroupNames,
|
|
9
9
|
validateTagValues
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHKO6SKY.js";
|
|
11
11
|
import {
|
|
12
12
|
normalizeName
|
|
13
13
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
splitNameAndMeta,
|
|
21
21
|
warnUnknownMetaKeys,
|
|
22
22
|
withTagAliases
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
24
24
|
import {
|
|
25
25
|
formatDgmoError,
|
|
26
26
|
makeDgmoError,
|
|
@@ -40,7 +40,9 @@ var KNOWN_OPTIONS = /* @__PURE__ */ new Set([
|
|
|
40
40
|
var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
|
|
41
41
|
"show-sub-node-count",
|
|
42
42
|
"direction-tb",
|
|
43
|
-
"
|
|
43
|
+
"fill-tint",
|
|
44
|
+
"fill-solid",
|
|
45
|
+
"fill-outline",
|
|
44
46
|
"no-title"
|
|
45
47
|
]);
|
|
46
48
|
function looksLikeOrg(content) {
|
|
@@ -351,4 +353,4 @@ export {
|
|
|
351
353
|
looksLikeOrg,
|
|
352
354
|
parseOrg
|
|
353
355
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
356
|
+
//# sourceMappingURL=chunk-NNS4E7CW.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
LEGEND_PILL_FONT_SIZE,
|
|
9
9
|
LEGEND_PILL_PAD,
|
|
10
10
|
measureLegendText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QOOUC2J5.js";
|
|
12
12
|
import {
|
|
13
13
|
measureText,
|
|
14
14
|
wrapTextToWidth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WCT3NYCV.js";
|
|
16
16
|
import {
|
|
17
17
|
tagAttrKey
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HHKO6SKY.js";
|
|
19
19
|
|
|
20
20
|
// src/c4/layout.ts
|
|
21
21
|
import dagre from "@dagrejs/dagre";
|
|
@@ -1682,4 +1682,4 @@ export {
|
|
|
1682
1682
|
layoutC4Components,
|
|
1683
1683
|
layoutC4Deployment
|
|
1684
1684
|
};
|
|
1685
|
-
//# sourceMappingURL=chunk-
|
|
1685
|
+
//# sourceMappingURL=chunk-ONU3U4GL.js.map
|