@diagrammo/dgmo 0.48.1 → 0.49.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 +8 -3
- package/.github/copilot-instructions.md +8 -3
- package/.windsurfrules +8 -3
- package/SKILL.md +8 -3
- package/dist/advanced.d.ts +444 -1
- package/dist/advanced.js +208 -146
- package/dist/auto.css +74 -5
- package/dist/auto.js +213 -107
- package/dist/auto.mjs +6906 -831
- package/dist/block.css +74 -5
- package/dist/block.d.ts +13 -5
- package/dist/block.js +148 -62
- package/dist/{charts-d3-QOZHKTCT.js → charts-d3-EW3YQTEA.js} +9 -8
- package/dist/chunk-26RVGM44.js +331 -0
- package/dist/{chunk-44CM72SQ.js → chunk-2WMBWZY2.js} +3 -3
- package/dist/{chunk-L66GEFB6.js → chunk-35BBZDFE.js} +4 -4
- package/dist/{chunk-4GRI7MEB.js → chunk-3BIAFYD2.js} +6 -6
- package/dist/chunk-3NFJWFNP.js +1474 -0
- package/dist/{chunk-76OWZ3BA.js → chunk-4BD7EVPK.js} +2 -2
- package/dist/{chunk-MITI6NOL.js → chunk-4FIV4K4Z.js} +9 -9
- package/dist/chunk-4HVNZ7WF.js +574 -0
- package/dist/{chunk-X5LCYCL5.js → chunk-4NQ3IKUM.js} +2 -2
- package/dist/{chunk-PWIHZ6NJ.js → chunk-4UDKKGHH.js} +4 -4
- package/dist/{chunk-6NYWYNBI.js → chunk-4XK3FLFB.js} +3 -3
- package/dist/chunk-4YNP6O47.js +607 -0
- package/dist/{chunk-3MQQNXPD.js → chunk-5FGDJIJX.js} +3 -3
- package/dist/{chunk-WCT3NYCV.js → chunk-5LWQH6QV.js} +1 -1
- package/dist/chunk-5XCM7UUW.js +261 -0
- package/dist/{chunk-RYEGFMUO.js → chunk-5ZZLLBFK.js} +2 -2
- package/dist/{chunk-EB6FPQUP.js → chunk-65RTDUZH.js} +3 -3
- package/dist/chunk-6CLKNXVP.js +664 -0
- package/dist/{chunk-H6PI3KJT.js → chunk-6IUAK7RZ.js} +2 -2
- package/dist/{chunk-ZGR7ULFJ.js → chunk-6SA7FJE4.js} +31 -19
- package/dist/{chunk-LIOHW36Z.js → chunk-6VE3VLWM.js} +3 -3
- package/dist/{chunk-AN2MOO5T.js → chunk-7OVSJI2V.js} +3 -3
- package/dist/{chunk-YAA6IID3.js → chunk-7UEMZREK.js} +2 -2
- package/dist/{chunk-FCIIHT24.js → chunk-7VLUGEMJ.js} +7 -7
- package/dist/{chunk-VOKGH627.js → chunk-AHGF2YYA.js} +13 -3
- package/dist/{chunk-3R5POCTZ.js → chunk-AJ2PEY7J.js} +6 -6
- package/dist/{chunk-PBHE5UG6.js → chunk-ALRHIR6I.js} +46 -12
- package/dist/{chunk-7JEGTRLD.js → chunk-B57V3DWN.js} +3 -3
- package/dist/{chunk-ILKORZ3H.js → chunk-BCT5G2VN.js} +7 -7
- package/dist/{chunk-TYS6CSS5.js → chunk-BCYVE3N5.js} +2 -2
- package/dist/{chunk-ZBWMSD5N.js → chunk-BGJV5ATD.js} +4 -4
- package/dist/{chunk-G2H74XJZ.js → chunk-BPIJLRYE.js} +8 -8
- package/dist/{chunk-YGJTDXVR.js → chunk-C4GQDB5L.js} +2 -2
- package/dist/{chunk-Y2ZE3MSG.js → chunk-C63UWAKM.js} +2 -2
- package/dist/{chunk-QEBUY5NY.js → chunk-CEHZOPGM.js} +4 -4
- package/dist/{chunk-725LDASD.js → chunk-CLD2OKV7.js} +2 -2
- package/dist/{chunk-5QXL4NYS.js → chunk-CLR4A2N2.js} +10 -5
- package/dist/{chunk-WBRZJOEC.js → chunk-CMCR5WBW.js} +3 -3
- package/dist/{chunk-SML67VPV.js → chunk-D5AVQCDN.js} +3 -3
- package/dist/{chunk-2LACINWN.js → chunk-DDTJ5N7Q.js} +9 -9
- package/dist/{chunk-FITOLXSX.js → chunk-EOFPYPAU.js} +26 -2
- package/dist/{chunk-B65G5DNL.js → chunk-EYN7VFKL.js} +3 -3
- package/dist/{chunk-4OHACBGX.js → chunk-F2L5GCQ4.js} +2 -2
- package/dist/{chunk-RVMRZAPB.js → chunk-F743CM2N.js} +3 -3
- package/dist/{chunk-3JLKYGBQ.js → chunk-F7BFXWNQ.js} +2 -2
- package/dist/{chunk-WCSOJFU3.js → chunk-FMKTYMP4.js} +3 -3
- package/dist/{chunk-RTLBSQ3G.js → chunk-FUCAB3KQ.js} +3 -3
- package/dist/{chunk-SGZYXELT.js → chunk-GB3YZTAM.js} +9 -6
- package/dist/{chunk-QLCCJEJI.js → chunk-HBVD67XG.js} +2 -2
- package/dist/{chunk-PBAHEPLQ.js → chunk-HGN652MU.js} +7 -6
- package/dist/{chunk-3SMGIJDD.js → chunk-HHXOONLX.js} +13 -1
- package/dist/{chunk-QOOUC2J5.js → chunk-HQCHYB5F.js} +2 -2
- package/dist/chunk-IAEC4KLA.js +492 -0
- package/dist/{chunk-J5FIXQRT.js → chunk-IBC35BTK.js} +4 -4
- package/dist/{chunk-NURGB5Z4.js → chunk-IFK3GIUW.js} +2 -2
- package/dist/{chunk-FANX6UJR.js → chunk-IHLSHCPZ.js} +11 -11
- package/dist/{chunk-GMR5MFHJ.js → chunk-IUK7AGD4.js} +2 -2
- package/dist/chunk-IVKC4GID.js +32 -0
- package/dist/{chunk-OJR3MQYV.js → chunk-JFPY3UJ7.js} +296 -57
- package/dist/{chunk-5MLYVTYM.js → chunk-K6HNAY5V.js} +2 -2
- package/dist/{chunk-P235SVAH.js → chunk-KQAEKMIX.js} +2 -2
- package/dist/{chunk-7DTWEFUE.js → chunk-KUBBJ2CD.js} +10 -10
- package/dist/{chunk-BUVJFRPY.js → chunk-KV6Y2HE6.js} +4 -4
- package/dist/{chunk-OURHMODR.js → chunk-LG4TWW4U.js} +13 -13
- package/dist/{chunk-XAKEUMEJ.js → chunk-LVHPTBO3.js} +3 -3
- package/dist/{chunk-ERLBPDGU.js → chunk-MJCG5K2O.js} +2 -2
- package/dist/{chunk-THXCFRTU.js → chunk-N4J5KGWG.js} +12 -12
- package/dist/{chunk-MZSBFAPJ.js → chunk-NVT6C2VE.js} +9 -9
- package/dist/{chunk-AELOBFW5.js → chunk-O5MQPK7E.js} +3 -3
- package/dist/{chunk-JM4LEPY3.js → chunk-O7NUCTFU.js} +2 -2
- package/dist/{chunk-JED6ZDEE.js → chunk-O7WP4ZD4.js} +2 -2
- package/dist/{chunk-ZO27FGJS.js → chunk-PH5X4GIP.js} +2 -2
- package/dist/{chunk-B7JUCQUA.js → chunk-PU3AUQPA.js} +4 -4
- package/dist/{chunk-A4VFQH5G.js → chunk-PZFVK3IH.js} +52 -7
- package/dist/chunk-QQJUTGQH.js +135 -0
- package/dist/{chunk-HSH73DP6.js → chunk-RI4NIMFP.js} +99 -39
- package/dist/{chunk-33LCUH4H.js → chunk-RTERS6S5.js} +3 -3
- package/dist/{chunk-T3UBLACL.js → chunk-SCQ5VPUF.js} +19 -5
- package/dist/chunk-SGHSY3LU.js +377 -0
- package/dist/{chunk-SRTU6HMQ.js → chunk-SJEGO2QL.js} +8 -8
- package/dist/chunk-SQDFK5ZQ.js +273 -0
- package/dist/{chunk-UC7TFHUM.js → chunk-SVDWQGX2.js} +296 -121
- package/dist/{chunk-Z5CGSFJB.js → chunk-T7IKPCMI.js} +4 -4
- package/dist/chunk-TC3YWBFO.js +233 -0
- package/dist/{chunk-EVCVDTXE.js → chunk-TLKMTQYL.js} +3 -3
- package/dist/{chunk-IJZFN3HM.js → chunk-TWQUYVP3.js} +4 -4
- package/dist/{chunk-IZMRON6C.js → chunk-UVCXZEGU.js} +2 -2
- package/dist/{chunk-CKNVO24D.js → chunk-UWDO3O52.js} +2 -2
- package/dist/{chunk-RJE5JTVK.js → chunk-VC3TR4NL.js} +7 -7
- package/dist/{chunk-CI2G3OEB.js → chunk-X2CH42BN.js} +9 -9
- package/dist/{chunk-6HO5ZTXK.js → chunk-XCC2RENT.js} +2 -2
- package/dist/chunk-XHVV4NVW.js +51 -0
- package/dist/{chunk-ZJEL4H2R.js → chunk-XJ7J6WOO.js} +9 -9
- package/dist/{chunk-ULOEATBZ.js → chunk-XKTN7CZF.js} +106 -29
- package/dist/{chunk-IPWPWM6R.js → chunk-YM2BSPYW.js} +111 -10
- package/dist/{chunk-BUPDIHML.js → chunk-YRVLP7UU.js} +3 -3
- package/dist/{chunk-T2OE3YQB.js → chunk-YTN572Q2.js} +3 -3
- package/dist/{chunk-WVAJFAIA.js → chunk-YYX3SU6H.js} +3 -3
- package/dist/{chunk-MO5YHHMQ.js → chunk-ZDUQGL3N.js} +2 -2
- package/dist/{chunk-Y3J7VR52.js → chunk-ZNQX6QWH.js} +30 -2
- package/dist/{chunk-UWN33VNX.js → chunk-ZREZOIGS.js} +8 -8
- package/dist/{chunk-6SM5NJQH.js → chunk-ZTLWVRNS.js} +4 -4
- package/dist/{chunk-RUNNI6VE.js → chunk-ZXL6MB4R.js} +3 -3
- package/dist/cli.cjs +159 -122
- package/dist/dgmo-router-ODKPEJ3P.js +79 -0
- package/dist/dimensions-WSIJXT5Q.js +22 -0
- package/dist/editor.js +4 -1
- package/dist/element.js +214 -108
- package/dist/element.mjs +6906 -831
- package/dist/{flowchart-parser-ZNSKIBVR.js → flowchart-parser-IVZN7CQN.js} +4 -4
- package/dist/{flowchart-renderer-SNDSII4D.js → flowchart-renderer-GMI2U3DD.js} +9 -9
- package/dist/highlight.js +7 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +193 -232
- package/dist/{layout-HRBZPFCN.js → layout-34CLNICW.js} +5 -5
- package/dist/{layout-5RA6QWR6.js → layout-4Z5JM7PT.js} +6 -6
- package/dist/layout-6RDJHS6E.js +9 -0
- package/dist/{layout-7QXCNOVS.js → layout-7H4H46CS.js} +3 -3
- package/dist/{layout-46N4JJYK.js → layout-7SKMFYHL.js} +5 -5
- package/dist/{layout-HWDSRX5E.js → layout-D42XE4RE.js} +6 -6
- package/dist/{layout-EE6GE46Y.js → layout-DC4TVXER.js} +5 -5
- package/dist/layout-FGQWRYYW.js +14 -0
- package/dist/layout-GZ2CWONU.js +14 -0
- package/dist/layout-HQMBPJVS.js +10 -0
- package/dist/{layout-UM5F4DJB.js → layout-K2ZN3Q42.js} +5 -5
- package/dist/{layout-S2QBYSK2.js → layout-NXG63LWH.js} +3 -3
- package/dist/{layout-N76NR4ZO.js → layout-PUQCB6AN.js} +7 -7
- package/dist/{layout-HYZPWAK5.js → layout-QNUQLEHU.js} +3 -3
- package/dist/layout-S3EK4IYO.js +14 -0
- package/dist/{layout-search-OYV77HHS.js → layout-search-QS44PI5R.js} +6 -6
- package/dist/{parser-KNSQSKQO.js → parser-4BKIFG2C.js} +5 -5
- package/dist/{parser-OV7NOBW6.js → parser-4ROBKVUR.js} +4 -4
- package/dist/parser-667RGSUW.js +13 -0
- package/dist/{parser-IXSZZQHY.js → parser-BL7Z72EY.js} +4 -4
- package/dist/{parser-AQETEVRW.js → parser-CLMFZWCC.js} +4 -4
- package/dist/{parser-XKRP7QKP.js → parser-D6ONJQFR.js} +3 -3
- package/dist/{parser-2EWECDSA.js → parser-DERPY5KC.js} +4 -4
- package/dist/{parser-4OGOBJJ4.js → parser-GFSOPDB7.js} +4 -4
- package/dist/{parser-2MFP2H2E.js → parser-HVJFTOXL.js} +3 -3
- package/dist/{parser-VQP2UJ6W.js → parser-IKZFTLOJ.js} +3 -3
- package/dist/parser-J3P2D6IP.js +13 -0
- package/dist/{parser-PQ3POX45.js → parser-JD7OQ2E6.js} +4 -4
- package/dist/{parser-O5J4VBII.js → parser-K647FRI4.js} +3 -3
- package/dist/{parser-NGU3ETO6.js → parser-KPMN5KKE.js} +4 -4
- package/dist/{parser-4FL2CMDG.js → parser-MBJSBTL5.js} +4 -4
- package/dist/{parser-TFZFBVWN.js → parser-MCJWF5G3.js} +3 -3
- package/dist/{parser-NRAI6O25.js → parser-MRBPXXIV.js} +4 -4
- package/dist/{parser-6BTRLKRZ.js → parser-OBQG655V.js} +4 -4
- package/dist/{parser-3STE62GB.js → parser-QJYS7KQQ.js} +4 -4
- package/dist/{parser-XDVELHRK.js → parser-SMBJO3XN.js} +4 -4
- package/dist/{parser-TRTHDFPP.js → parser-TITK4YW6.js} +5 -5
- package/dist/{parser-I6KXEYFK.js → parser-TNYX5S7E.js} +4 -4
- package/dist/{parser-Y6WTBU76.js → parser-UBGPTIZD.js} +3 -3
- package/dist/parser-UGA23PYK.js +14 -0
- package/dist/{parser-N5O4IHUN.js → parser-WISPH7LW.js} +4 -4
- package/dist/{parser-CFZD5IBL.js → parser-XWUDFJ7P.js} +4 -4
- package/dist/parser-ZKF5K2H2.js +15 -0
- package/dist/{parser-ZSDPZYQP.js → parser-ZYC3XGNS.js} +4 -4
- package/dist/{renderer-AWWAF6XD.js → renderer-4IUPINAE.js} +10 -10
- package/dist/renderer-6L3NBEY5.js +24 -0
- package/dist/{renderer-ZRNG54CW.js → renderer-6T3KK4S3.js} +11 -11
- package/dist/{renderer-KQB7UGDS.js → renderer-7RH2SI3B.js} +3 -3
- package/dist/{renderer-6EEZHMH4.js → renderer-A5VFZQQK.js} +9 -9
- package/dist/{renderer-5MYBMBYO.js → renderer-BB5PREMY.js} +5 -5
- package/dist/{renderer-BYCNMBF7.js → renderer-CGW7QPNA.js} +10 -10
- package/dist/{renderer-QIWVHWZO.js → renderer-DAXMXIKD.js} +3 -3
- package/dist/{renderer-7MVLWWQD.js → renderer-DKESNMU5.js} +9 -9
- package/dist/{renderer-ZTR3DER3.js → renderer-HVCU2C3Z.js} +3 -3
- package/dist/{renderer-VACVQYML.js → renderer-LWGJFT3D.js} +8 -8
- package/dist/{renderer-PGX2TKVS.js → renderer-MFJ7HY2H.js} +8 -8
- package/dist/{renderer-B2OMQIQG.js → renderer-MJDDU27W.js} +15 -15
- package/dist/{renderer-4JHRUBE6.js → renderer-QL5KO6SK.js} +10 -10
- package/dist/{renderer-W4M6QLIJ.js → renderer-QNHUXCRL.js} +14 -14
- package/dist/{renderer-ZGNTUWC4.js → renderer-ROV756WT.js} +8 -8
- package/dist/{renderer-YY2OSF6E.js → renderer-SQ3JUAI7.js} +9 -9
- package/dist/renderer-THD6V5TL.js +22 -0
- package/dist/{renderer-5NDVNDAZ.js → renderer-TPIBXNOS.js} +9 -9
- package/dist/{renderer-RPOA5YPZ.js → renderer-TYXRHMRI.js} +13 -13
- package/dist/{renderer-N43WR5GV.js → renderer-UZF3JROD.js} +11 -11
- package/dist/{renderer-6W5462RB.js → renderer-V3JEMWMM.js} +9 -9
- package/dist/{renderer-JGBKUCZD.js → renderer-VFUVRNLK.js} +4 -4
- package/dist/{renderer-Z7I3W2PP.js → renderer-VICQ4WNY.js} +8 -8
- package/dist/renderer-W5RMOURB.js +21 -0
- package/dist/renderer-XEKIRPI6.js +23 -0
- package/dist/{renderer-CLJHQPBJ.js → renderer-YHXPN3GF.js} +12 -12
- package/dist/renderer-radial-MHO2VDXN.js +21 -0
- package/dist/{resolver-NOAA7ID7.js → resolver-FHBCO3PL.js} +3 -3
- package/dist/{state-parser-Z2V23ATR.js → state-parser-RX3GXOIB.js} +4 -4
- package/dist/{state-renderer-B4DQBM6M.js → state-renderer-AJUKGNWU.js} +9 -9
- package/docs/ai-integration.md +8 -3
- package/docs/language-reference.md +179 -5
- package/gallery/fixtures/family.dgmo +23 -0
- package/gallery/fixtures/sketch.dgmo +22 -0
- package/package.json +1 -1
- package/dist/chunk-ODZVHU3R.js +0 -153
- package/dist/dgmo-router-X35VLZLM.js +0 -73
- package/dist/dimensions-J3FHIMJ6.js +0 -22
- package/dist/layout-5T6RH5M6.js +0 -14
- package/dist/layout-G23F7LDH.js +0 -9
- package/dist/layout-OB3RI63S.js +0 -14
- package/dist/parser-JAL2HD4I.js +0 -13
- package/dist/renderer-SMIBCRVB.js +0 -24
- package/dist/renderer-radial-C32GPJQ7.js +0 -21
|
@@ -1,12 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderNodeCard
|
|
3
|
+
} from "./chunk-AHGF2YYA.js";
|
|
1
4
|
import {
|
|
2
5
|
renderInlineText
|
|
3
6
|
} from "./chunk-3HDBAXF5.js";
|
|
4
|
-
import {
|
|
5
|
-
wrapDescriptionLines
|
|
6
|
-
} from "./chunk-BMR4CIEO.js";
|
|
7
|
-
import {
|
|
8
|
-
renderNodeCard
|
|
9
|
-
} from "./chunk-VOKGH627.js";
|
|
10
7
|
import {
|
|
11
8
|
CARD_RADIUS,
|
|
12
9
|
HEADER_HEIGHT,
|
|
@@ -14,12 +11,15 @@ import {
|
|
|
14
11
|
NODE_STROKE_WIDTH,
|
|
15
12
|
SEPARATOR_GAP
|
|
16
13
|
} from "./chunk-3CIOJ5YJ.js";
|
|
14
|
+
import {
|
|
15
|
+
wrapDescriptionLines
|
|
16
|
+
} from "./chunk-BMR4CIEO.js";
|
|
17
17
|
import {
|
|
18
18
|
formatDateLabel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZREZOIGS.js";
|
|
20
20
|
import {
|
|
21
21
|
renderIntegratedLegend
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4UDKKGHH.js";
|
|
23
23
|
import {
|
|
24
24
|
TITLE_FONT_SIZE,
|
|
25
25
|
TITLE_FONT_WEIGHT,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-6KFWC4CO.js";
|
|
31
31
|
import {
|
|
32
32
|
CHAR_WIDTH_RATIO
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5LWQH6QV.js";
|
|
34
34
|
import {
|
|
35
35
|
contrastText,
|
|
36
36
|
getSeriesColors,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
resolveActiveTagGroup,
|
|
43
43
|
resolveTagColor
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-HBVD67XG.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveColor
|
|
47
47
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -152,7 +152,9 @@ function renderEventLine(container, parsed, palette, isDark, onClickItem, export
|
|
|
152
152
|
if (slot.kind === "event") {
|
|
153
153
|
const event = slot.event;
|
|
154
154
|
const solid2 = eventColor(event);
|
|
155
|
-
const cardFill2 = shapeFill(palette, solid2, isDark, {
|
|
155
|
+
const cardFill2 = shapeFill(palette, solid2, isDark, {
|
|
156
|
+
solid: parsed.options.solidFill
|
|
157
|
+
});
|
|
156
158
|
const titleColor2 = contrastText(
|
|
157
159
|
cardFill2,
|
|
158
160
|
palette.textOnFillLight,
|
|
@@ -415,9 +417,9 @@ function renderEventLine(container, parsed, palette, isDark, onClickItem, export
|
|
|
415
417
|
const BOT_PAD = 14;
|
|
416
418
|
const spineY2 = topUsed + TOP_PAD + aboveExt;
|
|
417
419
|
const eraBaseY2 = eraSide === "above" ? spineY2 - (contentAbove + 14) : spineY2 + (contentBelow + 14);
|
|
418
|
-
const
|
|
419
|
-
const totalH2 = exportMode ?
|
|
420
|
-
return { contentW: contentW2, contentH, totalH: totalH2, spineY: spineY2, eraBaseY: eraBaseY2, laneNear: laneNear2 };
|
|
420
|
+
const contentH2 = spineY2 + belowExt + BOT_PAD;
|
|
421
|
+
const totalH2 = exportMode ? contentH2 : Math.max(heightHint, contentH2);
|
|
422
|
+
return { contentW: contentW2, contentH: contentH2, totalH: totalH2, spineY: spineY2, eraBaseY: eraBaseY2, laneNear: laneNear2 };
|
|
421
423
|
};
|
|
422
424
|
const envStretch = Number(
|
|
423
425
|
globalThis.process?.env?.["DGMO_EVT_STRETCH"]
|
|
@@ -450,8 +452,11 @@ function renderEventLine(container, parsed, palette, isDark, onClickItem, export
|
|
|
450
452
|
}
|
|
451
453
|
}
|
|
452
454
|
}
|
|
453
|
-
const { contentW, totalH, spineY, eraBaseY, laneNear } = layout;
|
|
455
|
+
const { contentW, contentH, totalH, spineY, eraBaseY, laneNear } = layout;
|
|
454
456
|
const svg = d3Selection.select(container).append("svg").attr("width", contentW).attr("height", totalH).attr("viewBox", `0 0 ${contentW} ${totalH}`).attr("preserveAspectRatio", "xMidYMin meet").attr("xmlns", "http://www.w3.org/2000/svg").style("font-family", FONT_FAMILY);
|
|
457
|
+
if (!exportMode && totalH > contentH) {
|
|
458
|
+
svg.attr("data-content-height", Math.ceil(contentH));
|
|
459
|
+
}
|
|
455
460
|
if (!exportMode) svg.append("style").text(HOVER_CSS);
|
|
456
461
|
if (showTitle) {
|
|
457
462
|
const t = svg.append("text").attr("class", "chart-title").attr("x", contentW / 2).attr("y", TITLE_Y).attr("text-anchor", "middle").attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", TITLE_FONT_SIZE).attr("font-weight", TITLE_FONT_WEIGHT).attr("data-line-number", parsed.titleLineNumber ?? 1).text(parsed.title);
|
|
@@ -536,15 +541,22 @@ function renderEventLine(container, parsed, palette, isDark, onClickItem, export
|
|
|
536
541
|
const shelfH = HEADER_HEIGHT + dateH;
|
|
537
542
|
const clipId = `dgmo-evt-shelf-${shelfClipSeq++}`;
|
|
538
543
|
cardG.append("clipPath").attr("id", clipId).append("rect").attr("x", 0).attr("y", shelfTop).attr("width", CARD_W).attr("height", shelfH).attr("rx", SHELF_EDGE);
|
|
539
|
-
cardG.append("rect").attr("x", 0).attr("y", shelfTop).attr("width", CARD_W).attr("height", shelfH).attr("clip-path", `url(#${clipId})`).attr(
|
|
544
|
+
cardG.append("rect").attr("x", 0).attr("y", shelfTop).attr("width", CARD_W).attr("height", shelfH).attr("clip-path", `url(#${clipId})`).attr(
|
|
545
|
+
"fill",
|
|
546
|
+
parsed.options.solidFill ? p.color : mix(p.color, themeBaseBg(palette, isDark), SHELF_TINT)
|
|
547
|
+
);
|
|
540
548
|
const edgeY = titleNearTop ? shelfTop : shelfTop + shelfH - SHELF_EDGE;
|
|
541
549
|
cardG.append("rect").attr("x", 0).attr("y", edgeY).attr("width", CARD_W).attr("height", SHELF_EDGE).attr("clip-path", `url(#${clipId})`).attr("fill", p.color).attr("fill-opacity", p.future ? 0.4 : 1);
|
|
542
|
-
|
|
550
|
+
const shelfText = parsed.options.solidFill ? contrastText(p.color, palette.textOnFillLight, palette.textOnFillDark) : p.color;
|
|
551
|
+
cardG.append("text").attr("x", CARD_PAD).attr("y", headBandTop + HEADER_HEIGHT / 2 + LABEL_FONT_SIZE / 2 - 2).attr("fill", shelfText).attr("font-family", FONT_FAMILY).attr("font-size", LABEL_FONT_SIZE).attr("font-weight", 700).text(p.label);
|
|
543
552
|
if (dateStr) {
|
|
544
553
|
cardG.append("text").attr("x", CARD_PAD).attr(
|
|
545
554
|
"y",
|
|
546
555
|
(titleNearTop ? HEADER_HEIGHT : headBandTop - dateH) + DATE_SUBTITLE_FONT + 2
|
|
547
|
-
).attr(
|
|
556
|
+
).attr(
|
|
557
|
+
"fill",
|
|
558
|
+
parsed.options.solidFill ? mix(shelfText, p.color, 25) : mix(palette.text, palette.bg, 55)
|
|
559
|
+
).attr("font-family", FONT_FAMILY).attr("font-size", DATE_SUBTITLE_FONT).attr("font-weight", 600).text(dateStr);
|
|
548
560
|
}
|
|
549
561
|
if (p.lines.length > 0) {
|
|
550
562
|
const startBaseline = titleNearTop ? CARD_BODY_TOP + dateH + DESC_FONT : CARD_PAD + DESC_FONT;
|
|
@@ -975,4 +987,4 @@ export {
|
|
|
975
987
|
focusEventLine,
|
|
976
988
|
renderEventLineForExport
|
|
977
989
|
};
|
|
978
|
-
//# sourceMappingURL=chunk-
|
|
990
|
+
//# sourceMappingURL=chunk-6SA7FJE4.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-I46X5VUA.js";
|
|
4
4
|
import {
|
|
5
5
|
tryCollectNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K6HNAY5V.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveNotes
|
|
9
9
|
} from "./chunk-FMDSF3OV.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
measureIndent,
|
|
21
21
|
parseFirstLine,
|
|
22
22
|
tryParseSharedOption
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZNQX6QWH.js";
|
|
24
24
|
import {
|
|
25
25
|
NAME_DIAGNOSTIC_CODES,
|
|
26
26
|
emit,
|
|
@@ -466,4 +466,4 @@ export {
|
|
|
466
466
|
looksLikeFlowchart,
|
|
467
467
|
extractSymbols
|
|
468
468
|
};
|
|
469
|
-
//# sourceMappingURL=chunk-
|
|
469
|
+
//# sourceMappingURL=chunk-6VE3VLWM.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames,
|
|
12
12
|
validateTagValues
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HBVD67XG.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeName
|
|
16
16
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
tryParseSharedOption,
|
|
26
26
|
warnUnknownMetaKeys,
|
|
27
27
|
withTagAliases
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZNQX6QWH.js";
|
|
29
29
|
import {
|
|
30
30
|
formatDgmoError,
|
|
31
31
|
makeDgmoError,
|
|
@@ -519,4 +519,4 @@ export {
|
|
|
519
519
|
looksLikeSitemap,
|
|
520
520
|
parseSitemap
|
|
521
521
|
};
|
|
522
|
-
//# sourceMappingURL=chunk-
|
|
522
|
+
//# sourceMappingURL=chunk-7OVSJI2V.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
LEGEND_TOGGLE_DOT_R,
|
|
14
14
|
measureLegendText,
|
|
15
15
|
truncateLegendText
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HQCHYB5F.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/number-format.ts
|
|
19
19
|
function compactNumber(n) {
|
|
@@ -545,4 +545,4 @@ export {
|
|
|
545
545
|
getLegendReservedHeight,
|
|
546
546
|
getMaxLegendReservedHeight
|
|
547
547
|
};
|
|
548
|
-
//# sourceMappingURL=chunk-
|
|
548
|
+
//# sourceMappingURL=chunk-7UEMZREK.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
formatPct,
|
|
6
6
|
resolveCellColor,
|
|
7
7
|
resolveColorMode
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UVCXZEGU.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4UDKKGHH.js";
|
|
12
12
|
import {
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7UEMZREK.js";
|
|
15
15
|
import {
|
|
16
16
|
TITLE_FONT_SIZE,
|
|
17
17
|
TITLE_FONT_WEIGHT,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
} from "./chunk-6KFWC4CO.js";
|
|
23
23
|
import {
|
|
24
24
|
LEGEND_GROUP_GAP
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HQCHYB5F.js";
|
|
26
26
|
import {
|
|
27
27
|
measureText
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5LWQH6QV.js";
|
|
29
29
|
import {
|
|
30
30
|
contrastText,
|
|
31
31
|
getSeriesColors,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-P6T66CCZ.js";
|
|
34
34
|
import {
|
|
35
35
|
tagAttrKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HBVD67XG.js";
|
|
37
37
|
|
|
38
38
|
// src/treemap/renderer.ts
|
|
39
39
|
import * as d3Selection from "d3-selection";
|
|
@@ -381,4 +381,4 @@ export {
|
|
|
381
381
|
renderTreemapForExport,
|
|
382
382
|
renderTreemap
|
|
383
383
|
};
|
|
384
|
-
//# sourceMappingURL=chunk-
|
|
384
|
+
//# sourceMappingURL=chunk-7VLUGEMJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
measureText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5LWQH6QV.js";
|
|
4
4
|
|
|
5
5
|
// src/utils/card.ts
|
|
6
6
|
function renderNodeCard(container, opts) {
|
|
@@ -8,7 +8,17 @@ function renderNodeCard(container, opts) {
|
|
|
8
8
|
if (opts.dashed) {
|
|
9
9
|
rect.attr("stroke-dasharray", "6 3");
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
const labelLines = opts.labelLines;
|
|
12
|
+
if (labelLines && labelLines.length > 1) {
|
|
13
|
+
const lineH = opts.labelFontSize * 1.2;
|
|
14
|
+
const midY = opts.headerHeight / 2;
|
|
15
|
+
const startY = midY - (labelLines.length - 1) * lineH / 2;
|
|
16
|
+
for (let li = 0; li < labelLines.length; li++) {
|
|
17
|
+
container.append("text").attr("x", opts.width / 2).attr("y", startY + li * lineH).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("fill", opts.labelColor).attr("font-size", opts.labelFontSize).attr("font-weight", "bold").text(labelLines[li]);
|
|
18
|
+
}
|
|
19
|
+
} else {
|
|
20
|
+
container.append("text").attr("x", opts.width / 2).attr("y", opts.headerHeight / 2 + opts.labelFontSize / 2 - 2).attr("text-anchor", "middle").attr("fill", opts.labelColor).attr("font-size", opts.labelFontSize).attr("font-weight", "bold").text(labelLines?.[0] ?? opts.label);
|
|
21
|
+
}
|
|
12
22
|
const meta = opts.meta;
|
|
13
23
|
if (!meta || meta.rows.length === 0) return;
|
|
14
24
|
container.append("line").attr("x1", 0).attr("y1", opts.headerHeight).attr("x2", opts.width).attr("y2", opts.headerHeight).attr("stroke", meta.separatorColor).attr("stroke-opacity", 0.3).attr("stroke-width", 1);
|
|
@@ -34,4 +44,4 @@ export {
|
|
|
34
44
|
renderNodeCard,
|
|
35
45
|
renderCollapseBar
|
|
36
46
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
47
|
+
//# sourceMappingURL=chunk-AHGF2YYA.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
wrapDescriptionLines
|
|
6
6
|
} from "./chunk-BMR4CIEO.js";
|
|
7
|
-
import {
|
|
8
|
-
renderIntegratedLegend
|
|
9
|
-
} from "./chunk-PWIHZ6NJ.js";
|
|
10
7
|
import {
|
|
11
8
|
ScaleContext
|
|
12
9
|
} from "./chunk-YYVTBZZC.js";
|
|
10
|
+
import {
|
|
11
|
+
renderIntegratedLegend
|
|
12
|
+
} from "./chunk-4UDKKGHH.js";
|
|
13
13
|
import {
|
|
14
14
|
TITLE_FONT_SIZE,
|
|
15
15
|
TITLE_FONT_WEIGHT,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
} from "./chunk-6KFWC4CO.js";
|
|
21
21
|
import {
|
|
22
22
|
LEGEND_HEIGHT
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HQCHYB5F.js";
|
|
24
24
|
import {
|
|
25
25
|
measureText,
|
|
26
26
|
wrapTextToWidth
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5LWQH6QV.js";
|
|
28
28
|
import {
|
|
29
29
|
contrastText,
|
|
30
30
|
shapeFill
|
|
@@ -964,4 +964,4 @@ export {
|
|
|
964
964
|
renderCycle,
|
|
965
965
|
renderCycleForExport
|
|
966
966
|
};
|
|
967
|
-
//# sourceMappingURL=chunk-
|
|
967
|
+
//# sourceMappingURL=chunk-AJ2PEY7J.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-C63UWAKM.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInlineText
|
|
9
9
|
} from "./chunk-3HDBAXF5.js";
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
EDGE_STROKE_WIDTH,
|
|
14
14
|
NODE_STROKE_WIDTH
|
|
15
15
|
} from "./chunk-3CIOJ5YJ.js";
|
|
16
|
-
import {
|
|
17
|
-
renderIntegratedLegend
|
|
18
|
-
} from "./chunk-PWIHZ6NJ.js";
|
|
19
16
|
import {
|
|
20
17
|
ScaleContext
|
|
21
18
|
} from "./chunk-YYVTBZZC.js";
|
|
19
|
+
import {
|
|
20
|
+
renderIntegratedLegend
|
|
21
|
+
} from "./chunk-4UDKKGHH.js";
|
|
22
22
|
import {
|
|
23
23
|
getMaxLegendReservedHeight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7UEMZREK.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-HQCHYB5F.js";
|
|
45
45
|
import {
|
|
46
46
|
CHAR_WIDTH_RATIO,
|
|
47
47
|
measureText,
|
|
48
48
|
truncateText
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-5LWQH6QV.js";
|
|
50
50
|
import {
|
|
51
51
|
parseInfra
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-RTERS6S5.js";
|
|
53
53
|
import {
|
|
54
54
|
preprocessDescriptionLine
|
|
55
55
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./chunk-P6T66CCZ.js";
|
|
61
61
|
import {
|
|
62
62
|
tagAttrKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HBVD67XG.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveColor
|
|
66
66
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -189,6 +189,40 @@ function buildPathD(pts, direction) {
|
|
|
189
189
|
}
|
|
190
190
|
return gen(pts) ?? "";
|
|
191
191
|
}
|
|
192
|
+
var GROUP_PSEUDO_NODE_DEFAULTS = {
|
|
193
|
+
computedRps: 0,
|
|
194
|
+
overloaded: false,
|
|
195
|
+
rateLimited: false,
|
|
196
|
+
isEdge: false,
|
|
197
|
+
computedLatencyMs: 0,
|
|
198
|
+
computedLatencyPercentiles: { p50: 0, p90: 0, p99: 0 },
|
|
199
|
+
computedUptime: 1,
|
|
200
|
+
computedAvailability: 1,
|
|
201
|
+
computedAvailabilityPercentiles: { p50: 1, p90: 1, p99: 1 },
|
|
202
|
+
computedCbState: "closed",
|
|
203
|
+
computedInstances: 1,
|
|
204
|
+
computedConcurrentInvocations: 0,
|
|
205
|
+
properties: [],
|
|
206
|
+
tags: {}
|
|
207
|
+
};
|
|
208
|
+
function nodeMapWithGroups(nodes, groups) {
|
|
209
|
+
const map = new Map(nodes.map((n) => [n.id, n]));
|
|
210
|
+
for (const g of groups) {
|
|
211
|
+
if (map.has(g.id)) continue;
|
|
212
|
+
map.set(g.id, {
|
|
213
|
+
...GROUP_PSEUDO_NODE_DEFAULTS,
|
|
214
|
+
id: g.id,
|
|
215
|
+
label: g.label,
|
|
216
|
+
x: g.x + g.width / 2,
|
|
217
|
+
y: g.y + g.height / 2,
|
|
218
|
+
width: g.width,
|
|
219
|
+
height: g.height,
|
|
220
|
+
groupId: g.id,
|
|
221
|
+
lineNumber: g.lineNumber
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
return map;
|
|
225
|
+
}
|
|
192
226
|
function computePortPts(edges, nodeMap, direction) {
|
|
193
227
|
const srcPts = /* @__PURE__ */ new Map();
|
|
194
228
|
const tgtPts = /* @__PURE__ */ new Map();
|
|
@@ -845,7 +879,7 @@ function renderGroups(svg, groups, palette, _isDark, sc = buildScaledConstants(S
|
|
|
845
879
|
}
|
|
846
880
|
}
|
|
847
881
|
function renderEdgePaths(svg, edges, nodes, groups, palette, _isDark, animate, direction, speedMultiplier = 1, sc = buildScaledConstants(ScaleContext.identity())) {
|
|
848
|
-
const nodeMap =
|
|
882
|
+
const nodeMap = nodeMapWithGroups(nodes, groups);
|
|
849
883
|
const maxRps = Math.max(...edges.map((e) => e.computedRps), 1);
|
|
850
884
|
const { srcPts, tgtPts } = computePortPts(edges, nodeMap, direction);
|
|
851
885
|
for (const edge of edges) {
|
|
@@ -886,7 +920,7 @@ function renderEdgePaths(svg, edges, nodes, groups, palette, _isDark, animate, d
|
|
|
886
920
|
}
|
|
887
921
|
}
|
|
888
922
|
function renderEdgeLabels(svg, edges, nodes, groups, palette, _isDark, animate, direction, sc = buildScaledConstants(ScaleContext.identity())) {
|
|
889
|
-
const nodeMap =
|
|
923
|
+
const nodeMap = nodeMapWithGroups(nodes, groups);
|
|
890
924
|
const { srcPts, tgtPts } = computePortPts(edges, nodeMap, direction);
|
|
891
925
|
for (const edge of edges) {
|
|
892
926
|
if (edge.points.length === 0) continue;
|
|
@@ -1527,4 +1561,4 @@ export {
|
|
|
1527
1561
|
renderInfra,
|
|
1528
1562
|
parseAndLayoutInfra
|
|
1529
1563
|
};
|
|
1530
|
-
//# sourceMappingURL=chunk-
|
|
1564
|
+
//# sourceMappingURL=chunk-ALRHIR6I.js.map
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HBVD67XG.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
measureIndent,
|
|
16
16
|
parseFirstLine
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZNQX6QWH.js";
|
|
18
18
|
import {
|
|
19
19
|
formatDgmoError,
|
|
20
20
|
makeDgmoError,
|
|
@@ -335,4 +335,4 @@ function parseBlockTail(tail, aliasMap) {
|
|
|
335
335
|
export {
|
|
336
336
|
parseBlock
|
|
337
337
|
};
|
|
338
|
-
//# sourceMappingURL=chunk-
|
|
338
|
+
//# sourceMappingURL=chunk-B57V3DWN.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
layoutC4Containers,
|
|
5
5
|
layoutC4Context,
|
|
6
6
|
layoutC4Deployment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CEHZOPGM.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-4UDKKGHH.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-HQCHYB5F.js";
|
|
31
31
|
import {
|
|
32
32
|
measureText,
|
|
33
33
|
wrapTextToWidth
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5LWQH6QV.js";
|
|
35
35
|
import {
|
|
36
36
|
parseC4
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-EYN7VFKL.js";
|
|
38
38
|
import {
|
|
39
39
|
preprocessDescriptionLine
|
|
40
40
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-P6T66CCZ.js";
|
|
46
46
|
import {
|
|
47
47
|
tagAttrKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HBVD67XG.js";
|
|
49
49
|
|
|
50
50
|
// src/c4/renderer.ts
|
|
51
51
|
import * as d3Selection from "d3-selection";
|
|
@@ -1035,4 +1035,4 @@ export {
|
|
|
1035
1035
|
renderC4Deployment,
|
|
1036
1036
|
renderC4DeploymentForExport
|
|
1037
1037
|
};
|
|
1038
|
-
//# sourceMappingURL=chunk-
|
|
1038
|
+
//# sourceMappingURL=chunk-BCT5G2VN.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-BMR4CIEO.js";
|
|
13
13
|
import {
|
|
14
14
|
measureText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5LWQH6QV.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/note-box/metrics.ts
|
|
18
18
|
function normalizeBulletLine(line) {
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
wrapNoteBody,
|
|
50
50
|
noteBoxSize
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-BCYVE3N5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-PDKUANDZ.js";
|
|
5
5
|
import {
|
|
6
6
|
layoutGraph
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SCQ5VPUF.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-LP7EC4MI.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-6KFWC4CO.js";
|
|
33
33
|
import {
|
|
34
34
|
measureText
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5LWQH6QV.js";
|
|
36
36
|
import {
|
|
37
37
|
contrastText,
|
|
38
38
|
mix,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-P6T66CCZ.js";
|
|
42
42
|
import {
|
|
43
43
|
parseState
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-5FGDJIJX.js";
|
|
45
45
|
|
|
46
46
|
// src/graph/state-renderer.ts
|
|
47
47
|
import * as d3Selection from "d3-selection";
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
renderState,
|
|
376
376
|
renderStateForExport
|
|
377
377
|
};
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-BGJV5ATD.js.map
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
MONTH_ABBR,
|
|
3
3
|
computeTimeTicks
|
|
4
4
|
} from "./chunk-YRYKTYMQ.js";
|
|
5
|
-
import {
|
|
6
|
-
renderIntegratedLegend
|
|
7
|
-
} from "./chunk-PWIHZ6NJ.js";
|
|
8
5
|
import {
|
|
9
6
|
ScaleContext
|
|
10
7
|
} from "./chunk-YYVTBZZC.js";
|
|
8
|
+
import {
|
|
9
|
+
renderIntegratedLegend
|
|
10
|
+
} from "./chunk-4UDKKGHH.js";
|
|
11
11
|
import {
|
|
12
12
|
controlsGroupCapsuleWidth,
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7UEMZREK.js";
|
|
15
15
|
import {
|
|
16
16
|
TITLE_FONT_SIZE,
|
|
17
17
|
TITLE_FONT_WEIGHT,
|
|
@@ -34,12 +34,12 @@ import {
|
|
|
34
34
|
LEGEND_PILL_PAD,
|
|
35
35
|
measureLegendText,
|
|
36
36
|
truncateLegendText
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HQCHYB5F.js";
|
|
38
38
|
import {
|
|
39
39
|
CHAR_WIDTH_RATIO,
|
|
40
40
|
measureText,
|
|
41
41
|
truncateText
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5LWQH6QV.js";
|
|
43
43
|
import {
|
|
44
44
|
contrastText,
|
|
45
45
|
getSeriesColors,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveActiveTagGroup,
|
|
51
51
|
resolveTagColor,
|
|
52
52
|
tagAttrKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-HBVD67XG.js";
|
|
54
54
|
import {
|
|
55
55
|
normalizeName
|
|
56
56
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -2101,4 +2101,4 @@ export {
|
|
|
2101
2101
|
renderGantt,
|
|
2102
2102
|
buildTagLaneRowList
|
|
2103
2103
|
};
|
|
2104
|
-
//# sourceMappingURL=chunk-
|
|
2104
|
+
//# sourceMappingURL=chunk-BPIJLRYE.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NODE_HEIGHT,
|
|
3
3
|
NODE_WIDTH
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TWQUYVP3.js";
|
|
5
5
|
|
|
6
6
|
// src/boxes-and-lines/layout-grouped.ts
|
|
7
7
|
var NODESEP = 50;
|
|
@@ -689,4 +689,4 @@ export {
|
|
|
689
689
|
acyclicOrient,
|
|
690
690
|
groupedTierCandidates
|
|
691
691
|
};
|
|
692
|
-
//# sourceMappingURL=chunk-
|
|
692
|
+
//# sourceMappingURL=chunk-C4GQDB5L.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CHAR_WIDTH_RATIO,
|
|
3
3
|
measureText,
|
|
4
4
|
truncateText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5LWQH6QV.js";
|
|
6
6
|
|
|
7
7
|
// src/infra/layout.ts
|
|
8
8
|
import dagre from "@dagrejs/dagre";
|
|
@@ -587,4 +587,4 @@ export {
|
|
|
587
587
|
fixEdgeWaypoints,
|
|
588
588
|
layoutInfra
|
|
589
589
|
};
|
|
590
|
-
//# sourceMappingURL=chunk-
|
|
590
|
+
//# sourceMappingURL=chunk-C63UWAKM.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-HQCHYB5F.js";
|
|
12
12
|
import {
|
|
13
13
|
measureText,
|
|
14
14
|
wrapTextToWidth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5LWQH6QV.js";
|
|
16
16
|
import {
|
|
17
17
|
tagAttrKey
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HBVD67XG.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-CEHZOPGM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
acyclicOrient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C4GQDB5L.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-CLD2OKV7.js.map
|