@diagrammo/dgmo 0.77.0 → 0.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/dist/advanced.d.ts +19 -12
- package/dist/advanced.js +124 -120
- package/dist/block.css +1 -1
- package/dist/block.d.ts +2 -2
- package/dist/block.js +45 -41
- package/dist/{chart-meta-Cf_jkApJ.d.ts → chart-meta-BKN2ORkc.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +30 -29
- package/dist/charts-d3-KEQ7XVSM.js +31 -0
- package/dist/{chunk-7IATMZSA.js → chunk-26EVL454.js} +1 -25
- package/dist/{chunk-3H4PDNP4.js → chunk-2NLBIZEW.js} +2 -2
- package/dist/{chunk-BH3BQICT.js → chunk-32VR65TL.js} +63 -36
- package/dist/{chunk-N5NQIZ56.js → chunk-36UQ77JV.js} +24 -24
- package/dist/chunk-3DPOIW3W.js +10 -0
- package/dist/{chunk-3SP6G4LN.js → chunk-3GLTQZKE.js} +2 -2
- package/dist/{chunk-DY7KDZUF.js → chunk-3OWIYK52.js} +2 -2
- package/dist/{chunk-3E4YB6TY.js → chunk-3XFOE3DQ.js} +12 -7
- package/dist/{chunk-W7UBPARG.js → chunk-3ZLQM6XN.js} +2 -2
- package/dist/{chunk-5GM6BZO7.js → chunk-4AWLEWSD.js} +5 -2
- package/dist/{chunk-SWUQJ5VR.js → chunk-4IGUEGD6.js} +80 -61
- package/dist/{chunk-QOVM5VRC.js → chunk-57GSSHBR.js} +2 -2
- package/dist/{chunk-5VMUVJO4.js → chunk-5G55TS3H.js} +2 -2
- package/dist/{chunk-U4DS2ODO.js → chunk-67I3HFSF.js} +9 -9
- package/dist/{chunk-WQXD3IIN.js → chunk-6B3M6LW6.js} +10 -8
- package/dist/{chunk-TKIPK5P6.js → chunk-6PHOZBW5.js} +4 -6
- package/dist/{chunk-5PFNUDXR.js → chunk-6VTLVU7D.js} +2 -2
- package/dist/{chunk-M5JT2AU7.js → chunk-6Z2NUJSX.js} +2 -2
- package/dist/{chunk-BWJLLNUX.js → chunk-7BNRHSSF.js} +2 -2
- package/dist/{chunk-JLODGGN2.js → chunk-7NNJXYXU.js} +2 -2
- package/dist/{chunk-FTTB64OJ.js → chunk-7SMVTA7I.js} +26 -26
- package/dist/{chunk-Z7KVOVE4.js → chunk-7WTFX6OA.js} +6 -3
- package/dist/{chunk-ZM27UI5O.js → chunk-A7Y32YD6.js} +2 -2
- package/dist/{chunk-FPRMP6YA.js → chunk-AHN2CVCH.js} +10 -7
- package/dist/{chunk-N6MZSBOL.js → chunk-AN7T6VP7.js} +2 -2
- package/dist/{chunk-F4X5NVKY.js → chunk-B6PVPAS5.js} +2 -2
- package/dist/{chunk-RV5A3EGI.js → chunk-BB2ORSTF.js} +19 -18
- package/dist/{chunk-SI3PYDL4.js → chunk-BJB4YDJP.js} +21 -21
- package/dist/{chunk-FR5EVD2X.js → chunk-BPM52K3Z.js} +38 -31
- package/dist/{chunk-TI4YUUW6.js → chunk-BSREARWG.js} +29 -28
- package/dist/{chunk-F4V67JXG.js → chunk-CTERZC4K.js} +2 -2
- package/dist/{chunk-WHWUVDYK.js → chunk-CYLSQO4L.js} +6 -6
- package/dist/{chunk-J76YDS4V.js → chunk-DCPD5SHV.js} +3 -3
- package/dist/{chunk-H7BYMIVK.js → chunk-ENDB5YSV.js} +67 -27
- package/dist/{chunk-RTTZIX34.js → chunk-EOB7XVYR.js} +2 -2
- package/dist/chunk-EPDBWATV.js +38 -0
- package/dist/{chunk-TPN7RJOM.js → chunk-FJADQOFQ.js} +3 -3
- package/dist/{chunk-MG3DE3VO.js → chunk-FLMXJMMY.js} +3 -3
- package/dist/{chunk-WGC42WJU.js → chunk-FWNJDD4U.js} +6 -2
- package/dist/{chunk-S5P5Z5Y5.js → chunk-GINNZHVN.js} +2 -2
- package/dist/{chunk-LYJ53DBK.js → chunk-GJH7ZEPH.js} +41 -36
- package/dist/{chunk-2MTM4E6M.js → chunk-GQEXY7XL.js} +68 -65
- package/dist/{chunk-XFXJXLK7.js → chunk-HHHYVTVS.js} +16 -16
- package/dist/chunk-ICLB27PZ.js +11 -0
- package/dist/{chunk-QMFIZQTB.js → chunk-IDGQB6XD.js} +6 -4
- package/dist/{chunk-R3XI2VC7.js → chunk-IDJGV6VM.js} +2 -1
- package/dist/{chunk-HDLRRY3N.js → chunk-IE47TYZT.js} +177 -118
- package/dist/{chunk-FJ57274M.js → chunk-IIEI7VK5.js} +15 -1
- package/dist/{chunk-XPBJVSRY.js → chunk-IMO46ROR.js} +38 -32
- package/dist/{chunk-VRPV6QXR.js → chunk-IZTU6WVR.js} +2 -2
- package/dist/{chunk-CIWFL2LM.js → chunk-JOD2CK2M.js} +16 -14
- package/dist/{chunk-XCFIAGT7.js → chunk-JUNTVLOU.js} +16 -15
- package/dist/{chunk-RWFMOVHG.js → chunk-KAZQX2EY.js} +2 -2
- package/dist/{chunk-NHQ7HUAS.js → chunk-KGX5LIUG.js} +10 -8
- package/dist/{chunk-Q74GP3GK.js → chunk-KO6DGOOB.js} +3 -3
- package/dist/{chunk-5ZD4DDG7.js → chunk-L26M3X7K.js} +16 -13
- package/dist/{chunk-RU2HHHYA.js → chunk-LD2JSKU3.js} +12 -2
- package/dist/{chunk-OO2L2LWV.js → chunk-LEBPWFVF.js} +50 -46
- package/dist/{chunk-MU3CJPJF.js → chunk-LGI735AJ.js} +2 -2
- package/dist/{chunk-OWVDD5EC.js → chunk-LMWXBFLA.js} +2 -2
- package/dist/{chunk-6IN4F4RH.js → chunk-M3LZCDB6.js} +40 -42
- package/dist/{chunk-YT5ICQ4R.js → chunk-MFK7LF66.js} +2 -2
- package/dist/{chunk-UH5YTZN7.js → chunk-MJYFPFZT.js} +110 -20
- package/dist/{chunk-2QRIMMIH.js → chunk-N56W4R66.js} +2 -2
- package/dist/{chunk-LXXVHLTH.js → chunk-NN5IDH2I.js} +2 -2
- package/dist/{chunk-46KVXDUJ.js → chunk-NS3KIRSW.js} +2 -2
- package/dist/{chunk-LM3HY3VG.js → chunk-P2DM7Q5U.js} +2 -2
- package/dist/{chunk-DJL5PO27.js → chunk-P4SQV3XD.js} +2 -2
- package/dist/{chunk-B52RL5VV.js → chunk-P54AX5XN.js} +9 -9
- package/dist/{chunk-MZEGUDTA.js → chunk-P64NBPSK.js} +14 -14
- package/dist/{chunk-FF7LRT5L.js → chunk-PIWUZFG7.js} +33 -25
- package/dist/{chunk-SWEKCK34.js → chunk-QAPFXLAC.js} +2 -2
- package/dist/chunk-QFIXL3OK.js +68 -0
- package/dist/{chunk-KRTLS3G6.js → chunk-QVMV4KCA.js} +2 -2
- package/dist/{chunk-76LHNLGX.js → chunk-R4YGH7DJ.js} +5 -3
- package/dist/{chunk-OZOHREFQ.js → chunk-RC3FM3FE.js} +12 -13
- package/dist/{chunk-UJBP57UJ.js → chunk-RC6GGF6X.js} +2 -2
- package/dist/{chunk-S6OXNZBM.js → chunk-RHZZVIGA.js} +3 -3
- package/dist/{chunk-MS5574I7.js → chunk-RIXWLFB4.js} +2 -2
- package/dist/{chunk-D3B6YEZK.js → chunk-RUNI4OXP.js} +18 -14
- package/dist/{chunk-ICVIJLBA.js → chunk-SFSJ6XWV.js} +2 -2
- package/dist/{chunk-QBM5BURJ.js → chunk-SNBEAO4Q.js} +8 -8
- package/dist/{chunk-DSXWJAOA.js → chunk-SXD6VY7D.js} +16 -14
- package/dist/{chunk-V4NHFY22.js → chunk-TLM3I4XF.js} +16 -16
- package/dist/{chunk-3O7ZYVJV.js → chunk-TO6TWNMF.js} +19 -15
- package/dist/{chunk-CYMYZYLI.js → chunk-U2JIFCJN.js} +18 -18
- package/dist/{chunk-SSEAULA5.js → chunk-U4ND3J6C.js} +18 -14
- package/dist/{chunk-QXMHBIQG.js → chunk-UCF6TKWV.js} +51 -48
- package/dist/{chunk-RGW26UAR.js → chunk-UDYJVX6Y.js} +9 -9
- package/dist/{chunk-7CXW6EGX.js → chunk-UQY2VLUK.js} +25 -23
- package/dist/{chunk-EUVUOPRC.js → chunk-VAA7QSZ7.js} +53 -32
- package/dist/{chunk-43AJKH2U.js → chunk-VQGQF7O7.js} +12 -10
- package/dist/{chunk-DEW62ON3.js → chunk-VSPNH7LC.js} +2 -2
- package/dist/{chunk-4YER7UCV.js → chunk-VUJQ6RU6.js} +2 -2
- package/dist/{chunk-CHOK7NCJ.js → chunk-VZD3ZV4Y.js} +26 -22
- package/dist/{chunk-NCT22MOD.js → chunk-WMIKC5XO.js} +2 -2
- package/dist/{chunk-C2WH3BMS.js → chunk-X326N4GN.js} +10 -7
- package/dist/chunk-XBJJP2HN.js +37 -0
- package/dist/{chunk-7NSNE52V.js → chunk-XCR3PDFF.js} +2 -2
- package/dist/{chunk-UBDVAHGK.js → chunk-XDPJMLOH.js} +30 -27
- package/dist/{chunk-CF3I5SOG.js → chunk-YKDZ3ZRI.js} +27 -25
- package/dist/{chunk-GLREDNBA.js → chunk-YVLTNNME.js} +12 -2
- package/dist/{chunk-6ZZKEYBS.js → chunk-ZGOBAMQ2.js} +15 -13
- package/dist/{chunk-6BVAW7KI.js → chunk-ZMCFUGKO.js} +49 -42
- package/dist/clock.js +11 -5
- package/dist/completion-registry.js +2 -2
- package/dist/countdown.js +26 -20
- package/dist/{d3-BiaJtaSw.d.ts → d3-CQT5bwpb.d.ts} +1 -1
- package/dist/{dgmo-router-BwXHZ_P3.d.ts → dgmo-router-C9CsswPZ.d.ts} +1 -1
- package/dist/{dgmo-router-A3LIHT6H.js → dgmo-router-XZNCLYTV.js} +30 -29
- package/dist/{dimensions-OFF4GRFL.js → dimensions-SIZMZ4DC.js} +8 -8
- package/dist/{flowchart-renderer-BBJUPORB.js → flowchart-renderer-FDJ4QQXE.js} +15 -14
- package/dist/index.d.ts +7 -7
- package/dist/index.js +58 -43
- package/dist/{layout-Y2V3LYV7.js → layout-5DZ2LI2R.js} +2 -2
- package/dist/{layout-ZAGUFT2G.js → layout-6I6LSBUR.js} +6 -5
- package/dist/{layout-2OJ25STS.js → layout-C2SCZV5M.js} +6 -5
- package/dist/{layout-6SKHNQYO.js → layout-CHWKNE3O.js} +3 -3
- package/dist/{layout-EM4DLMAX.js → layout-K4KML2DL.js} +3 -3
- package/dist/{layout-KQUSB45X.js → layout-S53FSD6R.js} +7 -6
- package/dist/{layout-ROORJQ4X.js → layout-TCFXB5XH.js} +7 -6
- package/dist/{layout-5ILNODTP.js → layout-XK6ZD7BU.js} +6 -5
- package/dist/{layout-B5GQVXXY.js → layout-YVY72CIG.js} +7 -6
- package/dist/{layout-VUZ3MLOI.js → layout-YY6VH5XH.js} +6 -5
- package/dist/{layout-RV2T2YTT.js → layout-ZDN252GR.js} +4 -3
- package/dist/{layout-search-UOKEMER5.js → layout-search-TSV4FURP.js} +7 -6
- package/dist/{legend-constants-PLN2YHGM.js → legend-constants-SB4PLHV5.js} +3 -3
- package/dist/{palettes-54YSI3IX.js → palettes-YIPSRYXP.js} +5 -3
- package/dist/{parser-GCVSRQPY.js → parser-2BX2EJUB.js} +3 -3
- package/dist/{parser-WVE6SKB7.js → parser-3UNIPVNY.js} +3 -3
- package/dist/{parser-5XFGK5C5.js → parser-4IHIVDJD.js} +5 -5
- package/dist/{parser-ZT3PU2HT.js → parser-62VNEQRT.js} +3 -3
- package/dist/{parser-PR3OR3LO.js → parser-6JNJHQAG.js} +3 -3
- package/dist/{parser-ZXQZZK6W.js → parser-6ZFQLLVE.js} +3 -2
- package/dist/{parser-WMJEPZDC.js → parser-BOPXE6RP.js} +3 -3
- package/dist/{parser-WWRRG2DV.js → parser-DFBQ2RID.js} +3 -3
- package/dist/{parser-2GMHFSTS.js → parser-EPKXJ2RL.js} +3 -3
- package/dist/{parser-ML3LVNDV.js → parser-G7E2BURB.js} +3 -3
- package/dist/{parser-QOIZGW7I.js → parser-GFGU5ZLQ.js} +3 -3
- package/dist/{parser-L7T7FY3H.js → parser-GKZWI5SZ.js} +3 -3
- package/dist/{parser-QYAIFXLP.js → parser-HSPODF4H.js} +3 -3
- package/dist/{parser-EQ4I3TSH.js → parser-IK3FXZ7D.js} +3 -3
- package/dist/{parser-LV7PQBUG.js → parser-LJWPKRDM.js} +3 -3
- package/dist/{parser-RDBXEVI4.js → parser-OYWUBQV4.js} +3 -3
- package/dist/{parser-6FUESG4N.js → parser-PD4TP6NM.js} +3 -3
- package/dist/{parser-E3OHNNTH.js → parser-R2JHC7LQ.js} +3 -3
- package/dist/{parser-CJNP7RKR.js → parser-RMZ6YI7H.js} +3 -3
- package/dist/{parser-TA5TYZNL.js → parser-RUJNN5PK.js} +3 -3
- package/dist/{parser-UTR5WE4O.js → parser-YWE7GHW6.js} +3 -3
- package/dist/{parser-3AOMUX5D.js → parser-Z5UK6ADF.js} +3 -3
- package/dist/{parser-YWQCC33R.js → parser-ZO5YT5SV.js} +3 -3
- package/dist/renderer-5TPUPMZ7.js +26 -0
- package/dist/{renderer-2NYQDW37.js → renderer-AIVALEQR.js} +7 -7
- package/dist/renderer-AMELXBNW.js +23 -0
- package/dist/renderer-BF7FYXG3.js +25 -0
- package/dist/renderer-CRRW7LTW.js +17 -0
- package/dist/renderer-CXU2MGSC.js +27 -0
- package/dist/renderer-DI66RLAG.js +30 -0
- package/dist/renderer-E2JTYQY5.js +39 -0
- package/dist/{renderer-Y3Y7PEUS.js → renderer-FA4BTAOL.js} +7 -7
- package/dist/{renderer-G2DPKJAN.js → renderer-FFGFTIT4.js} +15 -14
- package/dist/renderer-IVAM7Z3Y.js +27 -0
- package/dist/renderer-J6HK2KOW.js +23 -0
- package/dist/renderer-J7J3OVLQ.js +39 -0
- package/dist/{renderer-GHBF5PRH.js → renderer-JC7MK7SD.js} +6 -5
- package/dist/{renderer-VF7X66SL.js → renderer-JHQC5RGJ.js} +14 -14
- package/dist/renderer-JRITSZY3.js +28 -0
- package/dist/{renderer-ANJUDBOS.js → renderer-KD5X4RIS.js} +14 -13
- package/dist/{renderer-CVWQD442.js → renderer-KWNNWCGD.js} +6 -5
- package/dist/{renderer-FTX67CYZ.js → renderer-LGMIAG6N.js} +7 -6
- package/dist/{renderer-EDVCGIQO.js → renderer-LQN3FXAP.js} +33 -32
- package/dist/renderer-LRL4SU43.js +29 -0
- package/dist/{renderer-R5HIRN2M.js → renderer-MBL64AJI.js} +6 -6
- package/dist/renderer-NA3DTAWF.js +39 -0
- package/dist/renderer-OR5QHR7X.js +31 -0
- package/dist/renderer-SBVWHQVW.js +30 -0
- package/dist/{renderer-DNFV2IQI.js → renderer-TLOSBJKW.js} +13 -13
- package/dist/{renderer-EFQSMHID.js → renderer-UDWJRRIC.js} +11 -11
- package/dist/renderer-VHK6UAW2.js +20 -0
- package/dist/{renderer-2ANDPQWC.js → renderer-W5UG2HWT.js} +5 -5
- package/dist/renderer-WOOKJOBQ.js +25 -0
- package/dist/renderer-WYNLGZRF.js +25 -0
- package/dist/{renderer-RNFECJ5D.js → renderer-Y74Y54C3.js} +8 -8
- package/dist/renderer-ZUAXGHFC.js +28 -0
- package/dist/renderer-radial-YVUDGR7C.js +21 -0
- package/dist/{state-parser-TPA67IXM.js → state-parser-CT5HQQ7E.js} +3 -3
- package/dist/state-renderer-7O3QGNJ5.js +41 -0
- package/dist/{tag-groups-BAtkq0b_.d.ts → tag-groups-BoJg3lFV.d.ts} +0 -16
- package/dist/{themes-DpsyRSO7.d.ts → themes-CXYnNA4e.d.ts} +2 -2
- package/docs/architecture-report.md +3 -3
- package/docs/language-reference.md +122 -30
- package/docs/migration-sequence-color-to-tags.md +16 -8
- package/package.json +4 -4
- package/dist/charts-d3-HMEMHSSW.js +0 -29
- package/dist/chunk-53SEVJQM.js +0 -9
- package/dist/chunk-LP7EC4MI.js +0 -16
- package/dist/chunk-YM5RMLFO.js +0 -40
- package/dist/renderer-2LDT4TUX.js +0 -25
- package/dist/renderer-2RIIIO34.js +0 -39
- package/dist/renderer-3HFU3DTO.js +0 -25
- package/dist/renderer-4BF6ILP6.js +0 -27
- package/dist/renderer-5E2AH5TO.js +0 -38
- package/dist/renderer-62SLWRYF.js +0 -27
- package/dist/renderer-D6GJ6EVK.js +0 -30
- package/dist/renderer-GZLRX764.js +0 -24
- package/dist/renderer-H2HYLFN3.js +0 -20
- package/dist/renderer-IR5655M7.js +0 -28
- package/dist/renderer-L237AOOZ.js +0 -16
- package/dist/renderer-LSJWYGOL.js +0 -39
- package/dist/renderer-LWXDMZOV.js +0 -28
- package/dist/renderer-MYSVPERC.js +0 -22
- package/dist/renderer-OL5QSZPC.js +0 -31
- package/dist/renderer-P26HH3NA.js +0 -30
- package/dist/renderer-RPZVNCTF.js +0 -26
- package/dist/renderer-SDNWZDUY.js +0 -23
- package/dist/renderer-UKHH4UWV.js +0 -25
- package/dist/renderer-radial-QNGCGKZP.js +0 -21
- package/dist/state-renderer-ELWDRXD6.js +0 -40
package/dist/block.css
CHANGED
package/dist/block.d.ts
CHANGED
package/dist/block.js
CHANGED
|
@@ -4,92 +4,96 @@ import {
|
|
|
4
4
|
} from "./chunk-D3K4U3ZM.js";
|
|
5
5
|
import {
|
|
6
6
|
render
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IE47TYZT.js";
|
|
8
8
|
import {
|
|
9
9
|
docsLink,
|
|
10
10
|
renderErrorCard
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RC3FM3FE.js";
|
|
12
12
|
import "./chunk-EOYPX6SF.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MJYFPFZT.js";
|
|
14
14
|
import "./chunk-L65WI4HO.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-EPDBWATV.js";
|
|
16
|
+
import "./chunk-UCF6TKWV.js";
|
|
16
17
|
import "./chunk-YRYKTYMQ.js";
|
|
17
18
|
import "./chunk-24YPR5EH.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-IIEI7VK5.js";
|
|
20
|
+
import "./chunk-3XFOE3DQ.js";
|
|
21
|
+
import "./chunk-QFIXL3OK.js";
|
|
22
|
+
import "./chunk-FLMXJMMY.js";
|
|
23
|
+
import "./chunk-LD2JSKU3.js";
|
|
24
|
+
import "./chunk-VSPNH7LC.js";
|
|
25
|
+
import "./chunk-67I3HFSF.js";
|
|
26
|
+
import "./chunk-IZTU6WVR.js";
|
|
27
|
+
import "./chunk-ICLB27PZ.js";
|
|
28
|
+
import "./chunk-MFK7LF66.js";
|
|
26
29
|
import "./chunk-MTGGOCND.js";
|
|
27
30
|
import {
|
|
28
31
|
encodeDiagramUrl
|
|
29
32
|
} from "./chunk-U7VO6JAA.js";
|
|
30
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-7SMVTA7I.js";
|
|
31
34
|
import "./chunk-SH4PPRU7.js";
|
|
32
35
|
import "./chunk-A2RUBBVT.js";
|
|
33
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-6VTLVU7D.js";
|
|
34
37
|
import "./chunk-TN754B3R.js";
|
|
35
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-7NNJXYXU.js";
|
|
36
39
|
import "./chunk-M526IKKH.js";
|
|
37
40
|
import "./chunk-2CW5ZTNH.js";
|
|
38
41
|
import "./chunk-BDXC7MDK.js";
|
|
39
42
|
import "./chunk-CRLVJZWX.js";
|
|
40
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-N56W4R66.js";
|
|
41
44
|
import "./chunk-LKS56RDT.js";
|
|
42
45
|
import "./chunk-OKXWPKUC.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-VUJQ6RU6.js";
|
|
47
|
+
import "./chunk-2NLBIZEW.js";
|
|
45
48
|
import "./chunk-XSVWUOUZ.js";
|
|
46
49
|
import "./chunk-KWSBNLSC.js";
|
|
47
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-7WTFX6OA.js";
|
|
48
51
|
import {
|
|
49
52
|
monthIndex,
|
|
50
53
|
weekdayIndex
|
|
51
54
|
} from "./chunk-WFA6IULY.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-3DPOIW3W.js";
|
|
56
|
+
import "./chunk-7BNRHSSF.js";
|
|
57
|
+
import "./chunk-QVMV4KCA.js";
|
|
58
|
+
import "./chunk-B6PVPAS5.js";
|
|
55
59
|
import "./chunk-EGY3TS62.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-3ZLQM6XN.js";
|
|
61
|
+
import "./chunk-GINNZHVN.js";
|
|
58
62
|
import "./chunk-QQJUTGQH.js";
|
|
59
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-57GSSHBR.js";
|
|
60
64
|
import "./chunk-VBJCGGNF.js";
|
|
61
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-KAZQX2EY.js";
|
|
62
66
|
import "./chunk-3TYUXC7D.js";
|
|
63
67
|
import "./chunk-Y2CYNRL7.js";
|
|
64
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-RC6GGF6X.js";
|
|
65
69
|
import "./chunk-UCZBRGJN.js";
|
|
66
70
|
import "./chunk-7BMX2M3F.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-3GLTQZKE.js";
|
|
72
|
+
import "./chunk-A7Y32YD6.js";
|
|
73
|
+
import "./chunk-NS3KIRSW.js";
|
|
74
|
+
import "./chunk-FJADQOFQ.js";
|
|
71
75
|
import "./chunk-EQW6HOP4.js";
|
|
72
76
|
import {
|
|
73
77
|
scanMonthNameDates
|
|
74
78
|
} from "./chunk-DAOFNU6J.js";
|
|
75
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-XCR3PDFF.js";
|
|
76
80
|
import "./chunk-C3Z4DX3V.js";
|
|
77
81
|
import "./chunk-NWNSXHA5.js";
|
|
78
82
|
import "./chunk-7TF3QOOD.js";
|
|
79
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-6Z2NUJSX.js";
|
|
80
84
|
import "./chunk-NXMESY4J.js";
|
|
81
85
|
import "./chunk-LTTZX6RD.js";
|
|
82
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-SFSJ6XWV.js";
|
|
83
87
|
import "./chunk-76NHL5UG.js";
|
|
84
88
|
import "./chunk-E6PNTYRK.js";
|
|
85
89
|
import "./chunk-IHOFUR74.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-QAPFXLAC.js";
|
|
91
|
+
import "./chunk-NN5IDH2I.js";
|
|
88
92
|
import "./chunk-IYULMRBE.js";
|
|
89
93
|
import "./chunk-NOTA6TEI.js";
|
|
90
94
|
import "./chunk-MSVQ2YCY.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-3OWIYK52.js";
|
|
96
|
+
import "./chunk-R4YGH7DJ.js";
|
|
93
97
|
import {
|
|
94
98
|
CHART_TYPE_IDS,
|
|
95
99
|
REGISTRY_COLON_KEY_TOKENS,
|
|
@@ -101,8 +105,8 @@ import {
|
|
|
101
105
|
import "./chunk-23RWHHI5.js";
|
|
102
106
|
import {
|
|
103
107
|
resolvePaletteOrFallback
|
|
104
|
-
} from "./chunk-
|
|
105
|
-
import "./chunk-
|
|
108
|
+
} from "./chunk-IDJGV6VM.js";
|
|
109
|
+
import "./chunk-YVLTNNME.js";
|
|
106
110
|
import "./chunk-XOGQY4EC.js";
|
|
107
111
|
import "./chunk-5SI6T5A5.js";
|
|
108
112
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -837,7 +841,7 @@ html.dark .dgmo-dark {
|
|
|
837
841
|
display: inline-block;
|
|
838
842
|
margin-top: 0.6em;
|
|
839
843
|
font-size: 0.9em;
|
|
840
|
-
font-weight:
|
|
844
|
+
font-weight: bold;
|
|
841
845
|
color: inherit;
|
|
842
846
|
}
|
|
843
847
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './dgmo-router-
|
|
2
|
-
import { a as PaletteColors, T as TagGroup, D as DgmoError } from './tag-groups-
|
|
1
|
+
import './dgmo-router-C9CsswPZ.js';
|
|
2
|
+
import { a as PaletteColors, T as TagGroup, D as DgmoError } from './tag-groups-BoJg3lFV.js';
|
|
3
3
|
|
|
4
4
|
/** Convert hex (#RRGGBB or #RGB) to { h, s, l } with h in degrees, s/l as percentages. */
|
|
5
5
|
declare function hexToHSL(hex: string): {
|
package/dist/chart-meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, f as getAvailablePalettes, g as getPalette, l as parseDgmoChartType } from './dgmo-router-
|
|
2
|
-
export { A as ALL_CHART_TYPES, O as OrgNode, P as ParsedOrg, l as hexToHSLString, o as normalizePertSourceForShare, p as parseFirstLine, q as parseOrg, r as parseRaci, s as resolveOrgImports } from './chart-meta-
|
|
3
|
-
export { C as CompactViewState, h as DecodedDiagramUrl, i as EncodeDiagramUrlOptions, j as EncodeDiagramUrlResult, a as PaletteColors, l as decodeDiagramUrl, m as decodeViewState, n as encodeDiagramUrl, o as encodeViewState } from './tag-groups-
|
|
1
|
+
export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, f as getAvailablePalettes, g as getPalette, l as parseDgmoChartType } from './dgmo-router-C9CsswPZ.js';
|
|
2
|
+
export { A as ALL_CHART_TYPES, O as OrgNode, P as ParsedOrg, l as hexToHSLString, o as normalizePertSourceForShare, p as parseFirstLine, q as parseOrg, r as parseRaci, s as resolveOrgImports } from './chart-meta-BKN2ORkc.js';
|
|
3
|
+
export { C as CompactViewState, h as DecodedDiagramUrl, i as EncodeDiagramUrlOptions, j as EncodeDiagramUrlResult, a as PaletteColors, l as decodeDiagramUrl, m as decodeViewState, n as encodeDiagramUrl, o as encodeViewState } from './tag-groups-BoJg3lFV.js';
|
package/dist/chart-meta.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizePertSourceForShare,
|
|
3
3
|
resolveOrgImports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-P4SQV3XD.js";
|
|
5
5
|
import {
|
|
6
6
|
decodeDiagramUrl,
|
|
7
7
|
decodeViewState,
|
|
@@ -10,68 +10,69 @@ import {
|
|
|
10
10
|
} from "./chunk-U7VO6JAA.js";
|
|
11
11
|
import {
|
|
12
12
|
parseDgmoChartType
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7SMVTA7I.js";
|
|
14
14
|
import "./chunk-SH4PPRU7.js";
|
|
15
15
|
import "./chunk-A2RUBBVT.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6VTLVU7D.js";
|
|
17
17
|
import {
|
|
18
18
|
parseRaci
|
|
19
19
|
} from "./chunk-TN754B3R.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-7NNJXYXU.js";
|
|
21
21
|
import "./chunk-M526IKKH.js";
|
|
22
22
|
import "./chunk-2CW5ZTNH.js";
|
|
23
23
|
import "./chunk-BDXC7MDK.js";
|
|
24
24
|
import "./chunk-CRLVJZWX.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-N56W4R66.js";
|
|
26
26
|
import "./chunk-LKS56RDT.js";
|
|
27
27
|
import "./chunk-OKXWPKUC.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VUJQ6RU6.js";
|
|
29
|
+
import "./chunk-2NLBIZEW.js";
|
|
30
30
|
import "./chunk-XSVWUOUZ.js";
|
|
31
31
|
import "./chunk-KWSBNLSC.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-7WTFX6OA.js";
|
|
33
33
|
import "./chunk-WFA6IULY.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-3DPOIW3W.js";
|
|
35
|
+
import "./chunk-7BNRHSSF.js";
|
|
36
|
+
import "./chunk-QVMV4KCA.js";
|
|
37
|
+
import "./chunk-B6PVPAS5.js";
|
|
37
38
|
import "./chunk-EGY3TS62.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-3ZLQM6XN.js";
|
|
40
|
+
import "./chunk-GINNZHVN.js";
|
|
40
41
|
import "./chunk-QQJUTGQH.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-57GSSHBR.js";
|
|
42
43
|
import "./chunk-VBJCGGNF.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-KAZQX2EY.js";
|
|
44
45
|
import "./chunk-3TYUXC7D.js";
|
|
45
46
|
import "./chunk-Y2CYNRL7.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-RC6GGF6X.js";
|
|
47
48
|
import "./chunk-UCZBRGJN.js";
|
|
48
49
|
import "./chunk-7BMX2M3F.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-3GLTQZKE.js";
|
|
51
|
+
import "./chunk-A7Y32YD6.js";
|
|
52
|
+
import "./chunk-NS3KIRSW.js";
|
|
53
|
+
import "./chunk-FJADQOFQ.js";
|
|
53
54
|
import "./chunk-EQW6HOP4.js";
|
|
54
55
|
import "./chunk-DAOFNU6J.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-XCR3PDFF.js";
|
|
56
57
|
import "./chunk-C3Z4DX3V.js";
|
|
57
58
|
import "./chunk-NWNSXHA5.js";
|
|
58
59
|
import "./chunk-7TF3QOOD.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-6Z2NUJSX.js";
|
|
60
61
|
import "./chunk-NXMESY4J.js";
|
|
61
62
|
import "./chunk-LTTZX6RD.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-SFSJ6XWV.js";
|
|
63
64
|
import "./chunk-76NHL5UG.js";
|
|
64
65
|
import "./chunk-E6PNTYRK.js";
|
|
65
66
|
import "./chunk-IHOFUR74.js";
|
|
66
67
|
import {
|
|
67
68
|
parseOrg
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-QAPFXLAC.js";
|
|
70
|
+
import "./chunk-NN5IDH2I.js";
|
|
70
71
|
import "./chunk-IYULMRBE.js";
|
|
71
72
|
import "./chunk-NOTA6TEI.js";
|
|
72
73
|
import "./chunk-MSVQ2YCY.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-3OWIYK52.js";
|
|
75
|
+
import "./chunk-R4YGH7DJ.js";
|
|
75
76
|
import {
|
|
76
77
|
ALL_CHART_TYPES,
|
|
77
78
|
chartTypes,
|
|
@@ -81,10 +82,10 @@ import "./chunk-23RWHHI5.js";
|
|
|
81
82
|
import {
|
|
82
83
|
getAvailablePalettes,
|
|
83
84
|
getPalette
|
|
84
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-IDJGV6VM.js";
|
|
85
86
|
import {
|
|
86
87
|
hexToHSLString
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-YVLTNNME.js";
|
|
88
89
|
import "./chunk-XOGQY4EC.js";
|
|
89
90
|
import "./chunk-5SI6T5A5.js";
|
|
90
91
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
D3_DATA_CHART_TYPES,
|
|
3
|
+
renderDataChartD3,
|
|
4
|
+
supportsD3DataChart
|
|
5
|
+
} from "./chunk-MJYFPFZT.js";
|
|
6
|
+
import "./chunk-L65WI4HO.js";
|
|
7
|
+
import "./chunk-EPDBWATV.js";
|
|
8
|
+
import "./chunk-3XFOE3DQ.js";
|
|
9
|
+
import "./chunk-QFIXL3OK.js";
|
|
10
|
+
import "./chunk-FLMXJMMY.js";
|
|
11
|
+
import "./chunk-LD2JSKU3.js";
|
|
12
|
+
import "./chunk-VSPNH7LC.js";
|
|
13
|
+
import "./chunk-IZTU6WVR.js";
|
|
14
|
+
import "./chunk-ICLB27PZ.js";
|
|
15
|
+
import "./chunk-MFK7LF66.js";
|
|
16
|
+
import "./chunk-MTGGOCND.js";
|
|
17
|
+
import "./chunk-M526IKKH.js";
|
|
18
|
+
import "./chunk-2CW5ZTNH.js";
|
|
19
|
+
import "./chunk-R4YGH7DJ.js";
|
|
20
|
+
import "./chunk-M5OOAP65.js";
|
|
21
|
+
import "./chunk-IDJGV6VM.js";
|
|
22
|
+
import "./chunk-YVLTNNME.js";
|
|
23
|
+
import "./chunk-XOGQY4EC.js";
|
|
24
|
+
import "./chunk-5SI6T5A5.js";
|
|
25
|
+
import "./chunk-5WRI5ZAA.js";
|
|
26
|
+
export {
|
|
27
|
+
D3_DATA_CHART_TYPES,
|
|
28
|
+
renderDataChartD3,
|
|
29
|
+
supportsD3DataChart
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=charts-d3-KEQ7XVSM.js.map
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
// src/utils/fit-canvas.ts
|
|
2
|
-
function fitDiagramToCanvas(p) {
|
|
3
|
-
const scaleX = (p.width - p.padding * 2) / p.diagramW;
|
|
4
|
-
let scale;
|
|
5
|
-
let canvasHeight;
|
|
6
|
-
if (p.exportMode) {
|
|
7
|
-
scale = Math.min(p.maxScale, scaleX);
|
|
8
|
-
canvasHeight = p.titleHeight + p.diagramH * scale + p.padding * 2;
|
|
9
|
-
} else {
|
|
10
|
-
const availH = p.height - p.titleHeight;
|
|
11
|
-
const scaleY = (availH - p.padding * 2) / p.diagramH;
|
|
12
|
-
scale = Math.min(p.maxScale, scaleX, scaleY);
|
|
13
|
-
canvasHeight = p.height;
|
|
14
|
-
}
|
|
15
|
-
const scaledW = p.diagramW * scale;
|
|
16
|
-
return {
|
|
17
|
-
scale,
|
|
18
|
-
offsetX: (p.width - scaledW) / 2,
|
|
19
|
-
offsetY: p.titleHeight + p.padding,
|
|
20
|
-
canvasHeight
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
1
|
// src/graph/edge-spline.ts
|
|
25
2
|
import * as d3Shape from "d3-shape";
|
|
26
3
|
var lineGenerator = d3Shape.line().x((d) => d.x).y((d) => d.y).curve(d3Shape.curveBasis);
|
|
@@ -65,8 +42,7 @@ function selfLoopArcPath(points) {
|
|
|
65
42
|
}
|
|
66
43
|
|
|
67
44
|
export {
|
|
68
|
-
fitDiagramToCanvas,
|
|
69
45
|
edgeSplinePath,
|
|
70
46
|
selfLoopArcPath
|
|
71
47
|
};
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-26EVL454.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-R4YGH7DJ.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
@@ -342,4 +342,4 @@ function parseBlockTail(tail, aliasMap) {
|
|
|
342
342
|
export {
|
|
343
343
|
parseBlock
|
|
344
344
|
};
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-2NLBIZEW.js.map
|
|
@@ -4,38 +4,44 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
layoutInfra
|
|
6
6
|
} from "./chunk-VS2M72PF.js";
|
|
7
|
+
import {
|
|
8
|
+
appendArrowheadMarkers
|
|
9
|
+
} from "./chunk-XBJJP2HN.js";
|
|
7
10
|
import {
|
|
8
11
|
renderInlineText
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FWNJDD4U.js";
|
|
10
13
|
import {
|
|
14
|
+
ScaleContext
|
|
15
|
+
} from "./chunk-24YPR5EH.js";
|
|
16
|
+
import {
|
|
17
|
+
ARROWHEAD_HEIGHT,
|
|
18
|
+
ARROWHEAD_WIDTH,
|
|
11
19
|
COLLAPSE_BAR_HEIGHT,
|
|
12
20
|
COLLAPSE_BAR_INSET,
|
|
21
|
+
EDGE_DASH,
|
|
13
22
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
14
23
|
EDGE_STROKE_WIDTH,
|
|
15
24
|
NODE_STROKE_WIDTH
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
ScaleContext
|
|
19
|
-
} from "./chunk-24YPR5EH.js";
|
|
25
|
+
} from "./chunk-IIEI7VK5.js";
|
|
20
26
|
import {
|
|
21
27
|
layoutInlineHeader
|
|
22
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FLMXJMMY.js";
|
|
23
29
|
import {
|
|
24
30
|
TITLE_FONT_SIZE,
|
|
25
31
|
TITLE_FONT_WEIGHT,
|
|
26
32
|
TITLE_OFFSET,
|
|
27
33
|
TITLE_Y
|
|
28
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VSPNH7LC.js";
|
|
29
35
|
import {
|
|
30
36
|
renderIntegratedLegend
|
|
31
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-67I3HFSF.js";
|
|
32
38
|
import {
|
|
33
39
|
getLegendExtent,
|
|
34
40
|
getMaxLegendReservedHeight
|
|
35
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IZTU6WVR.js";
|
|
36
42
|
import {
|
|
37
43
|
FONT_FAMILY
|
|
38
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ICLB27PZ.js";
|
|
39
45
|
import {
|
|
40
46
|
LEGEND_CAPSULE_PAD,
|
|
41
47
|
LEGEND_DOT_R,
|
|
@@ -46,7 +52,7 @@ import {
|
|
|
46
52
|
LEGEND_PILL_FONT_SIZE,
|
|
47
53
|
LEGEND_PILL_PAD,
|
|
48
54
|
measureLegendText
|
|
49
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-MFK7LF66.js";
|
|
50
56
|
import {
|
|
51
57
|
CHAR_WIDTH_RATIO,
|
|
52
58
|
measureText,
|
|
@@ -54,13 +60,13 @@ import {
|
|
|
54
60
|
} from "./chunk-MTGGOCND.js";
|
|
55
61
|
import {
|
|
56
62
|
parseInfra
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-NS3KIRSW.js";
|
|
58
64
|
import {
|
|
59
65
|
preprocessDescriptionLine
|
|
60
66
|
} from "./chunk-IYULMRBE.js";
|
|
61
67
|
import {
|
|
62
68
|
tagAttrKey
|
|
63
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-R4YGH7DJ.js";
|
|
64
70
|
import {
|
|
65
71
|
legendInlineRequested,
|
|
66
72
|
legendSuppressed
|
|
@@ -69,7 +75,7 @@ import {
|
|
|
69
75
|
contrastText,
|
|
70
76
|
mix,
|
|
71
77
|
shapeFill
|
|
72
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-YVLTNNME.js";
|
|
73
79
|
import {
|
|
74
80
|
resolveColor
|
|
75
81
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -80,13 +86,19 @@ import * as d3Shape from "d3-shape";
|
|
|
80
86
|
|
|
81
87
|
// src/infra/roles.ts
|
|
82
88
|
var ROLE_RULES = [
|
|
83
|
-
{ keys: ["cache-hit"], role: { name: "Cache",
|
|
84
|
-
{ keys: ["firewall-block"], role: { name: "Firewall",
|
|
85
|
-
{
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
{ keys: ["
|
|
89
|
+
{ keys: ["cache-hit"], role: { name: "Cache", colorToken: "green" } },
|
|
90
|
+
{ keys: ["firewall-block"], role: { name: "Firewall", colorToken: "red" } },
|
|
91
|
+
{
|
|
92
|
+
keys: ["ratelimit-rps"],
|
|
93
|
+
role: { name: "Rate Limiter", colorToken: "yellow" }
|
|
94
|
+
},
|
|
95
|
+
{ keys: ["max-rps"], role: { name: "Service", colorToken: "blue" } },
|
|
96
|
+
{
|
|
97
|
+
keys: ["cb-error-threshold", "cb-latency-threshold-ms"],
|
|
98
|
+
role: { name: "Circuit Breaker", colorToken: "purple" }
|
|
99
|
+
},
|
|
100
|
+
{ keys: ["concurrency"], role: { name: "Serverless", colorToken: "cyan" } },
|
|
101
|
+
{ keys: ["buffer"], role: { name: "Queue", colorToken: "teal" } }
|
|
90
102
|
];
|
|
91
103
|
function inferRoles(properties) {
|
|
92
104
|
const propKeys = new Set(properties.map((p) => p.key));
|
|
@@ -98,7 +110,7 @@ function inferRoles(properties) {
|
|
|
98
110
|
}
|
|
99
111
|
return roles;
|
|
100
112
|
}
|
|
101
|
-
var FANOUT_ROLE = { name: "Fan-Out",
|
|
113
|
+
var FANOUT_ROLE = { name: "Fan-Out", colorToken: "orange" };
|
|
102
114
|
function collectFanoutSourceIds(edges) {
|
|
103
115
|
const ids = /* @__PURE__ */ new Set();
|
|
104
116
|
for (const e of edges) {
|
|
@@ -876,7 +888,7 @@ function renderGroups(svg, groups, palette, _isDark, sc = buildScaledConstants(S
|
|
|
876
888
|
const groupFill = mix(palette.surface, palette.bg, 40);
|
|
877
889
|
const groupStroke = palette.textMuted;
|
|
878
890
|
g.append("rect").attr("x", group.x).attr("y", group.y).attr("width", group.width).attr("height", group.height).attr("rx", 6).attr("fill", groupFill).attr("stroke", groupStroke).attr("stroke-opacity", 0.35).attr("stroke-width", 1);
|
|
879
|
-
g.append("text").attr("x", group.x + group.width / 2).attr("y", group.y + 16).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sGroupLabelFontSize).attr("font-weight", "
|
|
891
|
+
g.append("text").attr("x", group.x + group.width / 2).attr("y", group.y + 16).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sGroupLabelFontSize).attr("font-weight", "bold").attr("fill", palette.text).text(group.label);
|
|
880
892
|
const gi = typeof group.instances === "number" ? group.instances : typeof group.instances === "string" ? parseInt(String(group.instances), 10) || 0 : 0;
|
|
881
893
|
if (gi > 1) {
|
|
882
894
|
g.append("text").attr("x", group.x + group.width - 8).attr("y", group.y + 16).attr("text-anchor", "end").attr("font-family", FONT_FAMILY).attr("font-size", sc.sMetaFontSize).attr("fill", palette.textMuted).text(`${gi}x`);
|
|
@@ -887,6 +899,17 @@ function renderEdgePaths(svg, edges, nodes, groups, palette, _isDark, animate, d
|
|
|
887
899
|
const nodeMap = nodeMapWithGroups(nodes, groups);
|
|
888
900
|
const maxRps = Math.max(...edges.map((e) => e.computedRps), 1);
|
|
889
901
|
const { srcPts, tgtPts } = computePortPts(edges, nodeMap, direction);
|
|
902
|
+
const defs = svg.append("defs");
|
|
903
|
+
const edgeColors = new Set(edges.map((e) => edgeColor(e, palette)));
|
|
904
|
+
if (edgeColors.size > 0) {
|
|
905
|
+
appendArrowheadMarkers(defs, {
|
|
906
|
+
idPrefix: "infra",
|
|
907
|
+
width: ARROWHEAD_WIDTH,
|
|
908
|
+
height: ARROWHEAD_HEIGHT,
|
|
909
|
+
baseFill: palette.textMuted,
|
|
910
|
+
colors: edgeColors
|
|
911
|
+
});
|
|
912
|
+
}
|
|
890
913
|
for (const edge of edges) {
|
|
891
914
|
if (edge.points.length === 0) continue;
|
|
892
915
|
const targetNode = nodeMap.get(edge.targetId);
|
|
@@ -907,9 +930,9 @@ function renderEdgePaths(svg, edges, nodes, groups, palette, _isDark, animate, d
|
|
|
907
930
|
);
|
|
908
931
|
const pathD = buildPathD(pts, direction);
|
|
909
932
|
const edgeG = svg.append("g").attr("class", "infra-edge").attr("data-line-number", edge.lineNumber).attr("data-from", edge.sourceId).attr("data-to", edge.targetId);
|
|
910
|
-
const edgePath = edgeG.append("path").attr("d", pathD).attr("fill", "none").attr("stroke", color).attr("stroke-width", strokeW);
|
|
933
|
+
const edgePath = edgeG.append("path").attr("d", pathD).attr("fill", "none").attr("stroke", color).attr("stroke-width", strokeW).attr("marker-end", `url(#infra-arrow-${color.replace("#", "")})`);
|
|
911
934
|
if (edge.async) {
|
|
912
|
-
edgePath.attr("stroke-dasharray",
|
|
935
|
+
edgePath.attr("stroke-dasharray", EDGE_DASH);
|
|
913
936
|
}
|
|
914
937
|
if (animate && edge.computedRps > 0) {
|
|
915
938
|
const baseDur = flowDuration(edge.computedRps, maxRps);
|
|
@@ -1023,7 +1046,7 @@ function renderNodes(svg, nodes, palette, isDark, animate, expandedNodeIds, acti
|
|
|
1023
1046
|
const strokeWidth = severity !== "normal" ? sc.sOverloadStrokeWidth : sc.sNodeStrokeWidth;
|
|
1024
1047
|
g.append("rect").attr("x", x).attr("y", y).attr("width", node.width).attr("height", node.height).attr("rx", sc.sNodeBorderRadius).attr("fill", fill).attr("stroke", stroke).attr("stroke-width", strokeWidth);
|
|
1025
1048
|
const headerCenterY = y + NODE_HEADER_HEIGHT / 2 + sc.sNodeFontSize * 0.35;
|
|
1026
|
-
g.append("text").attr("x", node.x).attr("y", headerCenterY).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sNodeFontSize).attr("font-weight", "
|
|
1049
|
+
g.append("text").attr("x", node.x).attr("y", headerCenterY).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sNodeFontSize).attr("font-weight", "bold").attr("fill", textFill).text(node.label);
|
|
1027
1050
|
const isNodeCollapsed = collapsedNodes?.has(node.id) ?? false;
|
|
1028
1051
|
if (isNodeCollapsed) {
|
|
1029
1052
|
const chevronY = y + node.height - 6;
|
|
@@ -1078,7 +1101,7 @@ function renderNodes(svg, nodes, palette, isDark, animate, expandedNodeIds, acti
|
|
|
1078
1101
|
key: "RPS",
|
|
1079
1102
|
value: rpsText,
|
|
1080
1103
|
valueFill: rpsColor,
|
|
1081
|
-
fontWeight: "
|
|
1104
|
+
fontWeight: "normal",
|
|
1082
1105
|
inverted: rpsInverted,
|
|
1083
1106
|
...rpsInverted && { invertedBg: rpsColor }
|
|
1084
1107
|
});
|
|
@@ -1147,9 +1170,13 @@ function renderNodes(svg, nodes, palette, isDark, animate, expandedNodeIds, acti
|
|
|
1147
1170
|
const pillY = rowY - sc.sMetaFontSize + 1;
|
|
1148
1171
|
const pillW = node.width - pillPad * 2;
|
|
1149
1172
|
g.append("rect").attr("x", pillX).attr("y", pillY).attr("width", pillW).attr("height", pillH).attr("rx", 3).attr("fill", row.invertedBg).attr("opacity", 0.9);
|
|
1150
|
-
const pillTextColor =
|
|
1151
|
-
|
|
1152
|
-
|
|
1173
|
+
const pillTextColor = contrastText(
|
|
1174
|
+
row.invertedBg,
|
|
1175
|
+
palette.textOnFillLight,
|
|
1176
|
+
palette.textOnFillDark
|
|
1177
|
+
);
|
|
1178
|
+
g.append("text").attr("x", x + 10).attr("y", rowY).attr("font-family", FONT_FAMILY).attr("font-size", sc.sMetaFontSize).attr("font-weight", "bold").attr("fill", pillTextColor).text(`${row.key}: `);
|
|
1179
|
+
g.append("text").attr("x", valueX).attr("y", rowY).attr("font-family", FONT_FAMILY).attr("font-size", sc.sMetaFontSize).attr("font-weight", "bold").attr("fill", pillTextColor).text(row.value);
|
|
1153
1180
|
} else {
|
|
1154
1181
|
g.append("text").attr("x", x + 10).attr("y", rowY).attr("font-family", FONT_FAMILY).attr("font-size", sc.sMetaFontSize).attr("fill", textFill).text(`${row.key}: `);
|
|
1155
1182
|
g.append("text").attr("x", valueX).attr("y", rowY).attr("font-family", FONT_FAMILY).attr("font-size", sc.sMetaFontSize).attr("font-weight", row.fontWeight).attr("fill", row.valueFill).text(row.value);
|
|
@@ -1170,7 +1197,7 @@ function renderNodes(svg, nodes, palette, isDark, animate, expandedNodeIds, acti
|
|
|
1170
1197
|
const totalDotsWidth = roles.length * (sc.sRoleDotRadius * 2 + 2) - 2;
|
|
1171
1198
|
const startX = node.x - totalDotsWidth / 2 + sc.sRoleDotRadius;
|
|
1172
1199
|
for (let i = 0; i < roles.length; i++) {
|
|
1173
|
-
g.append("circle").attr("cx", startX + i * (sc.sRoleDotRadius * 2 + 2)).attr("cy", dotY).attr("r", sc.sRoleDotRadius).attr("fill", roles[i].
|
|
1200
|
+
g.append("circle").attr("cx", startX + i * (sc.sRoleDotRadius * 2 + 2)).attr("cy", dotY).attr("r", sc.sRoleDotRadius).attr("fill", palette.colors[roles[i].colorToken]);
|
|
1174
1201
|
}
|
|
1175
1202
|
}
|
|
1176
1203
|
if (isCollapsedGroup) {
|
|
@@ -1259,7 +1286,7 @@ function computeInfraLegendGroups(nodes, tagGroups, palette, edges) {
|
|
|
1259
1286
|
if (roles.length > 0) {
|
|
1260
1287
|
const entries = roles.map((r) => ({
|
|
1261
1288
|
value: r.name,
|
|
1262
|
-
color: r.
|
|
1289
|
+
color: palette.colors[r.colorToken],
|
|
1263
1290
|
key: r.name.toLowerCase().replace(/\s+/g, "-")
|
|
1264
1291
|
}));
|
|
1265
1292
|
const pillWidth = measureLegendText("Capabilities", LEGEND_PILL_FONT_SIZE) + LEGEND_PILL_PAD;
|
|
@@ -1381,7 +1408,7 @@ function renderLegend(rootSvg, legendGroups, totalWidth, legendY, palette, isDar
|
|
|
1381
1408
|
const badgeY = (LEGEND_HEIGHT - badgeH) / 2;
|
|
1382
1409
|
const speedG = playbackEl.append("g").attr("data-playback-action", "set-speed").attr("data-playback-value", String(s)).style("cursor", "pointer");
|
|
1383
1410
|
speedG.append("rect").attr("x", entryX).attr("y", badgeY).attr("width", slotW).attr("height", badgeH).attr("rx", badgeH / 2).attr("fill", isSpeedActive ? palette.primary : "transparent");
|
|
1384
|
-
speedG.append("text").attr("x", entryX + slotW / 2).attr("y", entryY).attr("dominant-baseline", "central").attr("font-family", FONT_FAMILY).attr("font-size", LEGEND_ENTRY_FONT_SIZE).attr("font-weight", isSpeedActive ? "
|
|
1411
|
+
speedG.append("text").attr("x", entryX + slotW / 2).attr("y", entryY).attr("dominant-baseline", "central").attr("font-family", FONT_FAMILY).attr("font-size", LEGEND_ENTRY_FONT_SIZE).attr("font-weight", isSpeedActive ? "bold" : "normal").attr("fill", isSpeedActive ? palette.bg : palette.textMuted).attr("text-anchor", "middle").text(label);
|
|
1385
1412
|
entryX += slotW + SPEED_BADGE_GAP;
|
|
1386
1413
|
}
|
|
1387
1414
|
}
|
|
@@ -1472,7 +1499,7 @@ function renderInfra(container, layout, palette, isDark, title, titleLineNumber,
|
|
|
1472
1499
|
}
|
|
1473
1500
|
@keyframes infra-pulse-cb {
|
|
1474
1501
|
0%, 49% { stroke-dasharray: none; }
|
|
1475
|
-
50%, 100% { stroke-dasharray:
|
|
1502
|
+
50%, 100% { stroke-dasharray: ${EDGE_DASH}; }
|
|
1476
1503
|
}
|
|
1477
1504
|
.infra-node-warning > rect:first-of-type {
|
|
1478
1505
|
animation: infra-pulse-warning ${NODE_PULSE_SPEED}s ease-in-out infinite;
|
|
@@ -1481,7 +1508,7 @@ function renderInfra(container, layout, palette, isDark, title, titleLineNumber,
|
|
|
1481
1508
|
animation: infra-pulse-overload ${NODE_PULSE_OVERLOAD}s ease-in-out infinite;
|
|
1482
1509
|
}
|
|
1483
1510
|
.infra-node-cb-open > rect:first-of-type {
|
|
1484
|
-
stroke-dasharray:
|
|
1511
|
+
stroke-dasharray: ${EDGE_DASH};
|
|
1485
1512
|
animation: infra-pulse-cb 1s step-end infinite;
|
|
1486
1513
|
}
|
|
1487
1514
|
@keyframes infra-edge-throb {
|
|
@@ -1613,4 +1640,4 @@ export {
|
|
|
1613
1640
|
renderInfra,
|
|
1614
1641
|
parseAndLayoutInfra
|
|
1615
1642
|
};
|
|
1616
|
-
//# sourceMappingURL=chunk-
|
|
1643
|
+
//# sourceMappingURL=chunk-32VR65TL.js.map
|