@diagrammo/dgmo 0.56.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advanced.js +138 -138
- package/dist/auto.css +24 -0
- package/dist/auto.js +139 -115
- package/dist/auto.mjs +177 -104
- package/dist/block.css +24 -0
- package/dist/block.d.ts +12 -0
- package/dist/block.js +55 -26
- package/dist/chart-meta.js +21 -21
- package/dist/{charts-d3-D67V6KHE.js → charts-d3-Z6FOKUAL.js} +4 -4
- package/dist/{chunk-SOBGK35Z.js → chunk-3D6LDLIH.js} +8 -8
- package/dist/{chunk-A4DAZO3U.js → chunk-3G7BCZ4J.js} +12 -12
- package/dist/{chunk-R7ECJQTB.js → chunk-3M6MKHIQ.js} +3 -3
- package/dist/{chunk-UZ6L5VQJ.js → chunk-3NSOKT7C.js} +3 -3
- package/dist/{chunk-23THM67F.js → chunk-3ZONSZOX.js} +5 -5
- package/dist/{chunk-QDOYT6UW.js → chunk-44GBBTMU.js} +4 -4
- package/dist/{chunk-D3WTEBGT.js → chunk-46NVO5UA.js} +2 -2
- package/dist/{chunk-KIGV66SP.js → chunk-57RE4N22.js} +6 -6
- package/dist/{chunk-U7ZQTUZT.js → chunk-5LBCOFA5.js} +4 -4
- package/dist/{chunk-2JMNOEAU.js → chunk-6DR2GMDM.js} +59 -59
- package/dist/{chunk-OWLGERJL.js → chunk-6HSRT6WI.js} +6 -6
- package/dist/{chunk-HODUM6LY.js → chunk-6PRLPGJB.js} +10 -10
- package/dist/{chunk-ZMMYCERO.js → chunk-7Q35X3AL.js} +2 -2
- package/dist/{chunk-HPJITTF7.js → chunk-7YPSFQFA.js} +14 -14
- package/dist/{chunk-HKKPUUNK.js → chunk-A6XELFU6.js} +10 -10
- package/dist/{chunk-Y2L2LET6.js → chunk-ADKDIWCW.js} +4 -4
- package/dist/{chunk-NVQXIDLE.js → chunk-BIWMOFSE.js} +7 -7
- package/dist/{chunk-GG7TK3IA.js → chunk-BQLJAYVB.js} +5 -5
- package/dist/{chunk-KSPCR75O.js → chunk-CQJ5SE5T.js} +6 -6
- package/dist/{chunk-VU3DOZ6C.js → chunk-D76B4DMV.js} +4 -4
- package/dist/{chunk-GUVVQW3Y.js → chunk-FMPYKUKI.js} +6 -6
- package/dist/{chunk-3R67RRPC.js → chunk-G3L4GWLA.js} +7 -7
- package/dist/{chunk-U2BKSEKU.js → chunk-H52HJ26L.js} +2 -2
- package/dist/{chunk-JXFB3APA.js → chunk-HBRGNLF5.js} +13 -13
- package/dist/{chunk-YWPWRR7W.js → chunk-INU6ANOH.js} +2 -2
- package/dist/{chunk-5ZDHXS5N.js → chunk-J6V3SMR3.js} +9 -9
- package/dist/{chunk-ULONXAOD.js → chunk-K2GDF2ZR.js} +6 -6
- package/dist/{chunk-HOPTF3ZP.js → chunk-KH74OWHU.js} +7 -7
- package/dist/{chunk-HIMDUQT7.js → chunk-KRKU6WRS.js} +6 -6
- package/dist/{chunk-5HWPEYWB.js → chunk-LDVUPGWC.js} +2 -2
- package/dist/{chunk-SK7PCW4F.js → chunk-LSFZDBAP.js} +2 -2
- package/dist/{chunk-W2I2EXSC.js → chunk-LZX3RLRP.js} +14 -14
- package/dist/{chunk-N2KO445N.js → chunk-M3IYDSI7.js} +15 -15
- package/dist/{chunk-JE3SMHRZ.js → chunk-M65UOFJA.js} +9 -9
- package/dist/{chunk-FXVPSTDT.js → chunk-MXDT446P.js} +4 -4
- package/dist/chunk-NCT22MOD.js +93 -0
- package/dist/{chunk-FCA2UGJT.js → chunk-NIUE5VWY.js} +4 -4
- package/dist/{chunk-BR2VSKHI.js → chunk-OFEUXZPI.js} +4 -4
- package/dist/{chunk-CQOC2MD6.js → chunk-ORZQVUGW.js} +17 -16
- package/dist/{chunk-YH62K5D4.js → chunk-OYCIVSL3.js} +13 -13
- package/dist/{chunk-RBIX3HQQ.js → chunk-PKFW6GJD.js} +9 -9
- package/dist/{chunk-AIH6M5J6.js → chunk-PRKPFRC2.js} +3 -3
- package/dist/{chunk-XN4ZSACM.js → chunk-PUGUOFM6.js} +7 -7
- package/dist/{chunk-YM2ZQIVG.js → chunk-Q772PVKH.js} +9 -17
- package/dist/{chunk-RK3Y4WMV.js → chunk-QMOX5I3G.js} +13 -13
- package/dist/{chunk-2UZVMWSQ.js → chunk-RB4HOOKP.js} +4 -4
- package/dist/{chunk-AOJJSGXE.js → chunk-SADYIA5Q.js} +7 -7
- package/dist/{chunk-PECYPUJJ.js → chunk-SFVG4AIG.js} +6 -6
- package/dist/{chunk-P6XFQVYY.js → chunk-SQWWYGPT.js} +16 -16
- package/dist/{chunk-AN465MXC.js → chunk-SZCZOA2L.js} +2 -2
- package/dist/{chunk-VKN7YW4Q.js → chunk-T2VMOWAM.js} +6 -6
- package/dist/{chunk-HE57UQHL.js → chunk-TZ72UBOA.js} +4 -4
- package/dist/{chunk-C3BWDEYN.js → chunk-U3DGAE7L.js} +7 -7
- package/dist/{chunk-WK3UFCZC.js → chunk-U4FSWAOJ.js} +11 -11
- package/dist/{chunk-AMC2OGXF.js → chunk-UG4MWUXE.js} +13 -13
- package/dist/{chunk-UU6LUYUH.js → chunk-VJARCVMH.js} +2 -2
- package/dist/{chunk-YG5KQ55U.js → chunk-VS7DGDT3.js} +12 -20
- package/dist/{chunk-GDGOVO2I.js → chunk-VYCV5WKH.js} +21 -21
- package/dist/{chunk-3HDBAXF5.js → chunk-WGC42WJU.js} +8 -1
- package/dist/{chunk-YJUF2N3C.js → chunk-X3ON4M5S.js} +9 -9
- package/dist/{chunk-WFX6AUQO.js → chunk-XBTJJLAU.js} +6 -1
- package/dist/cli.cjs +137 -137
- package/dist/cloud-reference.d.ts +69 -0
- package/dist/cloud-reference.js +49 -0
- package/dist/{dgmo-router-GSWUPLP2.js → dgmo-router-PMEKTIJ7.js} +17 -17
- package/dist/{dimensions-PLECMFTR.js → dimensions-XRWIPAFO.js} +5 -5
- package/dist/element.js +140 -116
- package/dist/element.mjs +177 -104
- package/dist/{flowchart-renderer-UQVXOUW4.js → flowchart-renderer-JGLZB5P5.js} +9 -9
- package/dist/index.js +27 -27
- package/dist/{layout-UXMNKETK.js → layout-5CX27X7I.js} +6 -5
- package/dist/{layout-HIK4ZJFQ.js → layout-AO3TPZUS.js} +3 -3
- package/dist/{layout-WDXNSQQF.js → layout-AQXLQVAJ.js} +4 -4
- package/dist/{layout-A5UVXINF.js → layout-EQTOVNEE.js} +4 -4
- package/dist/{layout-2BJDECLZ.js → layout-NU5LQ4UP.js} +7 -6
- package/dist/{layout-UFZQI6SX.js → layout-RIS5VTGL.js} +7 -6
- package/dist/{layout-3XFPPFXI.js → layout-TCWNJ2OZ.js} +7 -6
- package/dist/{layout-QRVYYYZ3.js → layout-TZKPVXKJ.js} +3 -3
- package/dist/{layout-SNIEAZ2I.js → layout-WHOOLGPO.js} +4 -4
- package/dist/{layout-search-I4VNIRGT.js → layout-search-6CVR2MTZ.js} +7 -6
- package/dist/{parser-LNEAHGXF.js → parser-5WMH55UA.js} +4 -4
- package/dist/{parser-GGCDY65M.js → parser-DTXM5ROT.js} +2 -2
- package/dist/{parser-LQDEU22S.js → parser-IQLLBMBQ.js} +3 -3
- package/dist/{parser-VVTCMQWY.js → parser-LMNFVTIV.js} +3 -3
- package/dist/{parser-JWAGGYLL.js → parser-XQNM7BGD.js} +3 -3
- package/dist/{renderer-I5MAFUKX.js → renderer-2TEGR3RX.js} +6 -6
- package/dist/{renderer-5CU6GYF2.js → renderer-3WYLLPQL.js} +7 -7
- package/dist/{renderer-JNC6VJMN.js → renderer-5BFS4NBL.js} +7 -7
- package/dist/{renderer-FRBPMKPP.js → renderer-6OFPEBHG.js} +6 -6
- package/dist/{renderer-O4ECS2BI.js → renderer-AK2X3VRY.js} +9 -9
- package/dist/{renderer-TOKGYFTG.js → renderer-B6XOO6EE.js} +5 -5
- package/dist/{renderer-P7O6OUYC.js → renderer-BNEO5W3E.js} +9 -9
- package/dist/{renderer-YVCD55ZX.js → renderer-BZZKS7KQ.js} +8 -8
- package/dist/{renderer-52S6JM5R.js → renderer-EJ3FETD2.js} +8 -8
- package/dist/{renderer-DZ5N6BHW.js → renderer-FQLFE3TQ.js} +5 -5
- package/dist/{renderer-J5TL5ZX4.js → renderer-HDLM6OY6.js} +13 -13
- package/dist/{renderer-4VLQKKTV.js → renderer-I2P5FTZ2.js} +12 -12
- package/dist/{renderer-3IETIUZB.js → renderer-IAJMS5U5.js} +7 -7
- package/dist/{renderer-KUIZNLAQ.js → renderer-JHYUK5TN.js} +5 -5
- package/dist/{renderer-CL4SAUA5.js → renderer-KXMKAXPQ.js} +5 -5
- package/dist/{renderer-Q3A7572V.js → renderer-LMLSA457.js} +5 -5
- package/dist/{renderer-J5MMVCGN.js → renderer-LNOBG226.js} +7 -7
- package/dist/{renderer-WWC5VGHH.js → renderer-LRQ3OPNJ.js} +6 -6
- package/dist/{renderer-YWYX6WAI.js → renderer-LU4R3BP2.js} +3 -3
- package/dist/{renderer-OZIPP7VF.js → renderer-N4V7XVC3.js} +10 -10
- package/dist/{renderer-SYT4L7GE.js → renderer-ND7YIUHD.js} +3 -3
- package/dist/{renderer-IWNHBIZ6.js → renderer-NKVIQA3C.js} +4 -4
- package/dist/{renderer-2NU7M5PN.js → renderer-PLRNQ6T3.js} +7 -7
- package/dist/{renderer-M6AFKVLS.js → renderer-Q6TJ52B4.js} +5 -5
- package/dist/{renderer-53FU55KK.js → renderer-TIIHLRMM.js} +5 -5
- package/dist/{renderer-5G3PORFD.js → renderer-VWBNIZV3.js} +8 -8
- package/dist/{renderer-QRX7Q2YN.js → renderer-W3JK5YVD.js} +6 -6
- package/dist/{renderer-CB2DOQ2O.js → renderer-W5GF5USI.js} +5 -5
- package/dist/{renderer-MLDGFZDW.js → renderer-XKMG3SYD.js} +6 -6
- package/dist/{renderer-CRAIC4ER.js → renderer-XSZ5MUIF.js} +6 -6
- package/dist/{renderer-radial-QG644QYY.js → renderer-radial-LZAPQVM5.js} +6 -6
- package/dist/{state-renderer-NKV5B3KH.js → state-renderer-KSAKMFQ2.js} +11 -11
- package/package.json +5 -1
- package/dist/chunk-BMR4CIEO.js +0 -41
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import {
|
|
2
|
+
stripInlineMarkdown
|
|
3
|
+
} from "./chunk-WGC42WJU.js";
|
|
4
|
+
|
|
5
|
+
// src/utils/wrapped-desc.ts
|
|
6
|
+
var BULLET_PREFIX = "\u2022 ";
|
|
7
|
+
var BULLET_INDENT_CHARS = 2;
|
|
8
|
+
var HARD_BREAK = "\\";
|
|
9
|
+
function reflowDescriptionLines(lines) {
|
|
10
|
+
const blocks = [];
|
|
11
|
+
let open = null;
|
|
12
|
+
let gapPending = false;
|
|
13
|
+
let breakPending = false;
|
|
14
|
+
const openBlock = (kind, text) => {
|
|
15
|
+
const block = {
|
|
16
|
+
kind,
|
|
17
|
+
segments: [text],
|
|
18
|
+
gapBefore: gapPending && blocks.length > 0
|
|
19
|
+
};
|
|
20
|
+
blocks.push(block);
|
|
21
|
+
gapPending = false;
|
|
22
|
+
return block;
|
|
23
|
+
};
|
|
24
|
+
for (const raw of lines) {
|
|
25
|
+
const line = raw.trimEnd();
|
|
26
|
+
if (!line) {
|
|
27
|
+
open = null;
|
|
28
|
+
breakPending = false;
|
|
29
|
+
gapPending = blocks.length > 0;
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
const hard = line.endsWith(HARD_BREAK);
|
|
33
|
+
const text = hard ? line.slice(0, -1).trimEnd() : line;
|
|
34
|
+
if (!text) {
|
|
35
|
+
breakPending = hard;
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (text.startsWith(BULLET_PREFIX)) {
|
|
39
|
+
open = openBlock("bullet", text.slice(BULLET_PREFIX.length));
|
|
40
|
+
} else if (open) {
|
|
41
|
+
if (breakPending) open.segments.push(text);
|
|
42
|
+
else open.segments[open.segments.length - 1] += ` ${text}`;
|
|
43
|
+
} else {
|
|
44
|
+
open = openBlock("plain", text);
|
|
45
|
+
}
|
|
46
|
+
breakPending = hard;
|
|
47
|
+
}
|
|
48
|
+
return blocks;
|
|
49
|
+
}
|
|
50
|
+
function wrapDescriptionLines(lines, charsPerLine, lengthFn = (s) => s.length) {
|
|
51
|
+
const measure = (s) => lengthFn(stripInlineMarkdown(s));
|
|
52
|
+
const result = [];
|
|
53
|
+
for (const block of reflowDescriptionLines(lines)) {
|
|
54
|
+
if (block.gapBefore && result.length > 0)
|
|
55
|
+
result.push({ text: "", kind: "plain" });
|
|
56
|
+
if (block.kind === "plain") {
|
|
57
|
+
for (const segment of block.segments)
|
|
58
|
+
for (const w of wrapPlainLine(segment, charsPerLine, measure))
|
|
59
|
+
result.push({ text: w, kind: "plain" });
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
const bodyLimit = Math.max(8, charsPerLine - BULLET_INDENT_CHARS);
|
|
63
|
+
let first = true;
|
|
64
|
+
for (const segment of block.segments) {
|
|
65
|
+
for (const w of wrapPlainLine(segment, bodyLimit, measure)) {
|
|
66
|
+
result.push({ text: w, kind: first ? "bullet-first" : "bullet-cont" });
|
|
67
|
+
first = false;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
function wrapPlainLine(line, charsPerLine, lengthFn) {
|
|
74
|
+
const words = line.split(/\s+/);
|
|
75
|
+
const result = [];
|
|
76
|
+
let current = "";
|
|
77
|
+
for (const word of words) {
|
|
78
|
+
const test = current ? `${current} ${word}` : word;
|
|
79
|
+
if (lengthFn(test) > charsPerLine && current) {
|
|
80
|
+
result.push(current);
|
|
81
|
+
current = word;
|
|
82
|
+
} else {
|
|
83
|
+
current = test;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
if (current) result.push(current);
|
|
87
|
+
return result;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
wrapDescriptionLines
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=chunk-NCT22MOD.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
tryStripDescriptionKeyword
|
|
3
|
-
} from "./chunk-IYULMRBE.js";
|
|
4
1
|
import {
|
|
5
2
|
inferParticipantType
|
|
6
3
|
} from "./chunk-C3Z4DX3V.js";
|
|
7
4
|
import {
|
|
8
5
|
parseInArrowLabel
|
|
9
6
|
} from "./chunk-RRX4Z4TH.js";
|
|
7
|
+
import {
|
|
8
|
+
tryStripDescriptionKeyword
|
|
9
|
+
} from "./chunk-IYULMRBE.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeName
|
|
12
12
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -825,4 +825,4 @@ function validateDeploymentRefs(result, knownNames, pushWarning) {
|
|
|
825
825
|
export {
|
|
826
826
|
parseC4
|
|
827
827
|
};
|
|
828
|
-
//# sourceMappingURL=chunk-
|
|
828
|
+
//# sourceMappingURL=chunk-NIUE5VWY.js.map
|
|
@@ -38,6 +38,9 @@ import {
|
|
|
38
38
|
EMPHASIS_DIM_TEXT_OPACITY,
|
|
39
39
|
resolveEmphasis
|
|
40
40
|
} from "./chunk-2CW5ZTNH.js";
|
|
41
|
+
import {
|
|
42
|
+
tagAttrKey
|
|
43
|
+
} from "./chunk-D5FANMSG.js";
|
|
41
44
|
import {
|
|
42
45
|
LEGEND_DOT_R,
|
|
43
46
|
LEGEND_ENTRY_FONT_SIZE,
|
|
@@ -58,9 +61,6 @@ import {
|
|
|
58
61
|
shapeFill,
|
|
59
62
|
themeBaseBg
|
|
60
63
|
} from "./chunk-42IT4BG2.js";
|
|
61
|
-
import {
|
|
62
|
-
tagAttrKey
|
|
63
|
-
} from "./chunk-D5FANMSG.js";
|
|
64
64
|
|
|
65
65
|
// src/utils/legend-svg.ts
|
|
66
66
|
function esc(s) {
|
|
@@ -2061,4 +2061,4 @@ export {
|
|
|
2061
2061
|
supportsD3DataChart,
|
|
2062
2062
|
renderDataChartD3
|
|
2063
2063
|
};
|
|
2064
|
-
//# sourceMappingURL=chunk-
|
|
2064
|
+
//# sourceMappingURL=chunk-OFEUXZPI.js.map
|
|
@@ -4,17 +4,18 @@ import {
|
|
|
4
4
|
renderNoteBadge,
|
|
5
5
|
renderNoteBox,
|
|
6
6
|
renderNoteConnector
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
renderInlineText
|
|
10
|
-
} from "./chunk-3HDBAXF5.js";
|
|
7
|
+
} from "./chunk-H52HJ26L.js";
|
|
11
8
|
import {
|
|
12
9
|
EDGE_STROKE_WIDTH,
|
|
13
10
|
NODE_STROKE_WIDTH
|
|
14
11
|
} from "./chunk-3CIOJ5YJ.js";
|
|
15
12
|
import {
|
|
16
13
|
wrapDescriptionLines
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NCT22MOD.js";
|
|
15
|
+
import {
|
|
16
|
+
renderInlineText,
|
|
17
|
+
stripInlineMarkdown
|
|
18
|
+
} from "./chunk-WGC42WJU.js";
|
|
18
19
|
import {
|
|
19
20
|
ScaleContext
|
|
20
21
|
} from "./chunk-YYVTBZZC.js";
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
} from "./chunk-6VJCURWU.js";
|
|
24
25
|
import {
|
|
25
26
|
renderIntegratedLegend
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-44GBBTMU.js";
|
|
27
28
|
import {
|
|
28
29
|
getLegendExtent,
|
|
29
30
|
getMaxLegendReservedHeight
|
|
@@ -36,6 +37,14 @@ import {
|
|
|
36
37
|
import {
|
|
37
38
|
FONT_FAMILY
|
|
38
39
|
} from "./chunk-6KFWC4CO.js";
|
|
40
|
+
import {
|
|
41
|
+
resolveTagColor
|
|
42
|
+
} from "./chunk-D5FANMSG.js";
|
|
43
|
+
import {
|
|
44
|
+
fillModeFromOptions,
|
|
45
|
+
legendInlineRequested,
|
|
46
|
+
legendSuppressed
|
|
47
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
39
48
|
import {
|
|
40
49
|
CHAR_WIDTH_RATIO,
|
|
41
50
|
measureText,
|
|
@@ -49,14 +58,6 @@ import {
|
|
|
49
58
|
themeBaseBg,
|
|
50
59
|
valueRampColor
|
|
51
60
|
} from "./chunk-42IT4BG2.js";
|
|
52
|
-
import {
|
|
53
|
-
resolveTagColor
|
|
54
|
-
} from "./chunk-D5FANMSG.js";
|
|
55
|
-
import {
|
|
56
|
-
fillModeFromOptions,
|
|
57
|
-
legendInlineRequested,
|
|
58
|
-
legendSuppressed
|
|
59
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
60
61
|
import {
|
|
61
62
|
resolveColor
|
|
62
63
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -581,7 +582,7 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
|
|
|
581
582
|
maxTextWidth / (sDescFontSize * CHAR_WIDTH_RATIO)
|
|
582
583
|
);
|
|
583
584
|
const descLineH = sDescFontSize * DESC_LINE_HEIGHT;
|
|
584
|
-
const displayLen = (text) => text
|
|
585
|
+
const displayLen = (text) => stripInlineMarkdown(text).length;
|
|
585
586
|
const normalizedLines = [];
|
|
586
587
|
for (const descLine of desc) {
|
|
587
588
|
let normalized = descLine.startsWith("- ") ? "\u2022 " + descLine.slice(2) : descLine;
|
|
@@ -812,4 +813,4 @@ export {
|
|
|
812
813
|
renderBoxesAndLines,
|
|
813
814
|
renderBoxesAndLinesForExport
|
|
814
815
|
};
|
|
815
|
-
//# sourceMappingURL=chunk-
|
|
816
|
+
//# sourceMappingURL=chunk-ORZQVUGW.js.map
|
|
@@ -4,10 +4,7 @@ import {
|
|
|
4
4
|
layoutC4Containers,
|
|
5
5
|
layoutC4Context,
|
|
6
6
|
layoutC4Deployment
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
renderInlineText
|
|
10
|
-
} from "./chunk-3HDBAXF5.js";
|
|
7
|
+
} from "./chunk-PUGUOFM6.js";
|
|
11
8
|
import {
|
|
12
9
|
CARD_RADIUS,
|
|
13
10
|
EDGE_STROKE_WIDTH,
|
|
@@ -15,12 +12,15 @@ import {
|
|
|
15
12
|
META_LINE_HEIGHT,
|
|
16
13
|
NODE_STROKE_WIDTH
|
|
17
14
|
} from "./chunk-3CIOJ5YJ.js";
|
|
15
|
+
import {
|
|
16
|
+
renderInlineText
|
|
17
|
+
} from "./chunk-WGC42WJU.js";
|
|
18
18
|
import {
|
|
19
19
|
serializeSvg
|
|
20
20
|
} from "./chunk-NZ5QVASG.js";
|
|
21
21
|
import {
|
|
22
22
|
renderIntegratedLegend
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-44GBBTMU.js";
|
|
24
24
|
import {
|
|
25
25
|
TITLE_FONT_SIZE,
|
|
26
26
|
TITLE_FONT_WEIGHT
|
|
@@ -30,10 +30,16 @@ import {
|
|
|
30
30
|
} from "./chunk-6KFWC4CO.js";
|
|
31
31
|
import {
|
|
32
32
|
parseC4
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NIUE5VWY.js";
|
|
34
34
|
import {
|
|
35
35
|
preprocessDescriptionLine
|
|
36
36
|
} from "./chunk-IYULMRBE.js";
|
|
37
|
+
import {
|
|
38
|
+
tagAttrKey
|
|
39
|
+
} from "./chunk-D5FANMSG.js";
|
|
40
|
+
import {
|
|
41
|
+
fillModeFromOptions
|
|
42
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
37
43
|
import {
|
|
38
44
|
LEGEND_HEIGHT
|
|
39
45
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -46,12 +52,6 @@ import {
|
|
|
46
52
|
mix,
|
|
47
53
|
shapeFill
|
|
48
54
|
} from "./chunk-42IT4BG2.js";
|
|
49
|
-
import {
|
|
50
|
-
tagAttrKey
|
|
51
|
-
} from "./chunk-D5FANMSG.js";
|
|
52
|
-
import {
|
|
53
|
-
fillModeFromOptions
|
|
54
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
55
55
|
|
|
56
56
|
// src/c4/renderer.ts
|
|
57
57
|
import * as d3Selection from "d3-selection";
|
|
@@ -1039,4 +1039,4 @@ export {
|
|
|
1039
1039
|
renderC4Deployment,
|
|
1040
1040
|
renderC4DeploymentForExport
|
|
1041
1041
|
};
|
|
1042
|
-
//# sourceMappingURL=chunk-
|
|
1042
|
+
//# sourceMappingURL=chunk-OYCIVSL3.js.map
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
injectDefaultTagMetadata,
|
|
3
|
+
resolveTagColor,
|
|
4
|
+
tagAttrKey
|
|
5
|
+
} from "./chunk-D5FANMSG.js";
|
|
6
|
+
import {
|
|
7
|
+
legendSuppressed
|
|
8
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
1
9
|
import {
|
|
2
10
|
LEGEND_CAPSULE_PAD,
|
|
3
11
|
LEGEND_DOT_R,
|
|
@@ -15,14 +23,6 @@ import {
|
|
|
15
23
|
import {
|
|
16
24
|
measureText
|
|
17
25
|
} from "./chunk-4ASYQ347.js";
|
|
18
|
-
import {
|
|
19
|
-
injectDefaultTagMetadata,
|
|
20
|
-
resolveTagColor,
|
|
21
|
-
tagAttrKey
|
|
22
|
-
} from "./chunk-D5FANMSG.js";
|
|
23
|
-
import {
|
|
24
|
-
legendSuppressed
|
|
25
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
26
26
|
|
|
27
27
|
// src/org/layout.ts
|
|
28
28
|
import { hierarchy, tree } from "d3-hierarchy";
|
|
@@ -870,4 +870,4 @@ function layoutOrg(parsed, hiddenCounts, activeTagGroup, hiddenAttributes, expan
|
|
|
870
870
|
export {
|
|
871
871
|
layoutOrg
|
|
872
872
|
};
|
|
873
|
-
//# sourceMappingURL=chunk-
|
|
873
|
+
//# sourceMappingURL=chunk-PKFW6GJD.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
mapLegendConfig,
|
|
7
7
|
mapLegendGroups,
|
|
8
8
|
parsePathRings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5LBCOFA5.js";
|
|
10
10
|
import {
|
|
11
11
|
renderIntegratedLegend
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-44GBBTMU.js";
|
|
13
13
|
import {
|
|
14
14
|
TITLE_FONT_SIZE,
|
|
15
15
|
TITLE_FONT_WEIGHT,
|
|
@@ -781,4 +781,4 @@ export {
|
|
|
781
781
|
renderMap,
|
|
782
782
|
renderMapForExport
|
|
783
783
|
};
|
|
784
|
-
//# sourceMappingURL=chunk-
|
|
784
|
+
//# sourceMappingURL=chunk-PRKPFRC2.js.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tagAttrKey
|
|
3
|
+
} from "./chunk-D5FANMSG.js";
|
|
4
|
+
import {
|
|
5
|
+
legendSuppressed
|
|
6
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
1
7
|
import {
|
|
2
8
|
LEGEND_CAPSULE_PAD,
|
|
3
9
|
LEGEND_DOT_R,
|
|
@@ -13,12 +19,6 @@ import {
|
|
|
13
19
|
measureText,
|
|
14
20
|
wrapTextToWidth
|
|
15
21
|
} from "./chunk-4ASYQ347.js";
|
|
16
|
-
import {
|
|
17
|
-
tagAttrKey
|
|
18
|
-
} from "./chunk-D5FANMSG.js";
|
|
19
|
-
import {
|
|
20
|
-
legendSuppressed
|
|
21
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
22
22
|
|
|
23
23
|
// src/c4/layout.ts
|
|
24
24
|
import dagre from "@dagrejs/dagre";
|
|
@@ -1718,4 +1718,4 @@ export {
|
|
|
1718
1718
|
layoutC4Components,
|
|
1719
1719
|
layoutC4Deployment
|
|
1720
1720
|
};
|
|
1721
|
-
//# sourceMappingURL=chunk-
|
|
1721
|
+
//# sourceMappingURL=chunk-PUGUOFM6.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
renderInlineText
|
|
3
|
-
} from "./chunk-3HDBAXF5.js";
|
|
4
1
|
import {
|
|
5
2
|
wrapDescriptionLines
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NCT22MOD.js";
|
|
4
|
+
import {
|
|
5
|
+
renderInlineText
|
|
6
|
+
} from "./chunk-WGC42WJU.js";
|
|
7
7
|
import {
|
|
8
8
|
ScaleContext
|
|
9
9
|
} from "./chunk-YYVTBZZC.js";
|
|
@@ -15,6 +15,9 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
17
|
} from "./chunk-6KFWC4CO.js";
|
|
18
|
+
import {
|
|
19
|
+
fillModeFromOptions
|
|
20
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
18
21
|
import {
|
|
19
22
|
CHAR_WIDTH_RATIO,
|
|
20
23
|
measureText
|
|
@@ -24,9 +27,6 @@ import {
|
|
|
24
27
|
getSeriesColors,
|
|
25
28
|
shapeFill
|
|
26
29
|
} from "./chunk-42IT4BG2.js";
|
|
27
|
-
import {
|
|
28
|
-
fillModeFromOptions
|
|
29
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveColor
|
|
32
32
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -418,15 +418,7 @@ function wrapDescription(lines, maxWidth, fontSize) {
|
|
|
418
418
|
const normalized = lines.map(
|
|
419
419
|
(l) => l.startsWith("- ") ? "\u2022 " + l.slice(2) : l
|
|
420
420
|
);
|
|
421
|
-
|
|
422
|
-
for (const line of normalized) {
|
|
423
|
-
if (line === "") {
|
|
424
|
-
out.push({ text: "", kind: "plain" });
|
|
425
|
-
continue;
|
|
426
|
-
}
|
|
427
|
-
out.push(...wrapDescriptionLines([line], maxChars));
|
|
428
|
-
}
|
|
429
|
-
return out;
|
|
421
|
+
return wrapDescriptionLines(normalized, maxChars);
|
|
430
422
|
}
|
|
431
423
|
function clamp(x, lo, hi) {
|
|
432
424
|
return Math.max(lo, Math.min(hi, x));
|
|
@@ -436,4 +428,4 @@ export {
|
|
|
436
428
|
renderPyramid,
|
|
437
429
|
renderPyramidForExport
|
|
438
430
|
};
|
|
439
|
-
//# sourceMappingURL=chunk-
|
|
431
|
+
//# sourceMappingURL=chunk-Q772PVKH.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-LSFZDBAP.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-LP7EC4MI.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
renderNoteBadge,
|
|
15
15
|
renderNoteBox,
|
|
16
16
|
renderNoteConnector
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-H52HJ26L.js";
|
|
18
18
|
import {
|
|
19
19
|
EDGE_STROKE_WIDTH,
|
|
20
20
|
NODE_STROKE_WIDTH
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-NZ5QVASG.js";
|
|
31
31
|
import {
|
|
32
32
|
renderIntegratedLegend
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-44GBBTMU.js";
|
|
34
34
|
import {
|
|
35
35
|
getLegendExtent,
|
|
36
36
|
getMaxLegendReservedHeight
|
|
@@ -46,15 +46,6 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
parseState
|
|
48
48
|
} from "./chunk-APD52YJV.js";
|
|
49
|
-
import {
|
|
50
|
-
measureText
|
|
51
|
-
} from "./chunk-4ASYQ347.js";
|
|
52
|
-
import {
|
|
53
|
-
contrastText,
|
|
54
|
-
mix,
|
|
55
|
-
shapeFill,
|
|
56
|
-
themeBaseBg
|
|
57
|
-
} from "./chunk-42IT4BG2.js";
|
|
58
49
|
import {
|
|
59
50
|
resolveActiveTagGroup,
|
|
60
51
|
resolveTagColor,
|
|
@@ -65,6 +56,15 @@ import {
|
|
|
65
56
|
legendInlineRequested,
|
|
66
57
|
legendSuppressed
|
|
67
58
|
} from "./chunk-3KOPPSUQ.js";
|
|
59
|
+
import {
|
|
60
|
+
measureText
|
|
61
|
+
} from "./chunk-4ASYQ347.js";
|
|
62
|
+
import {
|
|
63
|
+
contrastText,
|
|
64
|
+
mix,
|
|
65
|
+
shapeFill,
|
|
66
|
+
themeBaseBg
|
|
67
|
+
} from "./chunk-42IT4BG2.js";
|
|
68
68
|
|
|
69
69
|
// src/graph/state-renderer.ts
|
|
70
70
|
import * as d3Selection from "d3-selection";
|
|
@@ -481,4 +481,4 @@ export {
|
|
|
481
481
|
renderState,
|
|
482
482
|
renderStateForExport
|
|
483
483
|
};
|
|
484
|
-
//# sourceMappingURL=chunk-
|
|
484
|
+
//# sourceMappingURL=chunk-QMOX5I3G.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
mix
|
|
3
|
-
} from "./chunk-42IT4BG2.js";
|
|
4
1
|
import {
|
|
5
2
|
resolveTagColor,
|
|
6
3
|
tagAttrKey
|
|
7
4
|
} from "./chunk-D5FANMSG.js";
|
|
5
|
+
import {
|
|
6
|
+
mix
|
|
7
|
+
} from "./chunk-42IT4BG2.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveColor
|
|
10
10
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
formatPct,
|
|
177
177
|
buildLegend
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-RB4HOOKP.js.map
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseInlineMarkdown,
|
|
3
3
|
safeHref
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WGC42WJU.js";
|
|
5
5
|
import {
|
|
6
6
|
ScaleContext
|
|
7
7
|
} from "./chunk-YYVTBZZC.js";
|
|
8
8
|
import {
|
|
9
9
|
renderIntegratedLegend
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-44GBBTMU.js";
|
|
11
11
|
import {
|
|
12
12
|
getMaxLegendReservedHeight
|
|
13
13
|
} from "./chunk-ES66QH6J.js";
|
|
14
14
|
import {
|
|
15
15
|
FONT_FAMILY
|
|
16
16
|
} from "./chunk-6KFWC4CO.js";
|
|
17
|
+
import {
|
|
18
|
+
fillModeFromOptions,
|
|
19
|
+
legendSuppressed
|
|
20
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
17
21
|
import {
|
|
18
22
|
measureText,
|
|
19
23
|
truncateText,
|
|
@@ -24,10 +28,6 @@ import {
|
|
|
24
28
|
mix,
|
|
25
29
|
shapeFill
|
|
26
30
|
} from "./chunk-42IT4BG2.js";
|
|
27
|
-
import {
|
|
28
|
-
fillModeFromOptions,
|
|
29
|
-
legendSuppressed
|
|
30
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
31
31
|
|
|
32
32
|
// src/tech-radar/renderer.ts
|
|
33
33
|
import * as d3Selection2 from "d3-selection";
|
|
@@ -1603,4 +1603,4 @@ export {
|
|
|
1603
1603
|
renderTechRadar,
|
|
1604
1604
|
renderTechRadarForExport
|
|
1605
1605
|
};
|
|
1606
|
-
//# sourceMappingURL=chunk-
|
|
1606
|
+
//# sourceMappingURL=chunk-SADYIA5Q.js.map
|
|
@@ -9,11 +9,6 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
FONT_FAMILY
|
|
11
11
|
} from "./chunk-6KFWC4CO.js";
|
|
12
|
-
import {
|
|
13
|
-
contrastText,
|
|
14
|
-
mix,
|
|
15
|
-
themeBaseBg
|
|
16
|
-
} from "./chunk-42IT4BG2.js";
|
|
17
12
|
import {
|
|
18
13
|
resolveTagColor,
|
|
19
14
|
tagAttrKey
|
|
@@ -21,6 +16,11 @@ import {
|
|
|
21
16
|
import {
|
|
22
17
|
fillModeFromOptions
|
|
23
18
|
} from "./chunk-3KOPPSUQ.js";
|
|
19
|
+
import {
|
|
20
|
+
contrastText,
|
|
21
|
+
mix,
|
|
22
|
+
themeBaseBg
|
|
23
|
+
} from "./chunk-42IT4BG2.js";
|
|
24
24
|
import {
|
|
25
25
|
CATEGORICAL_COLOR_ORDER,
|
|
26
26
|
resolveColor
|
|
@@ -401,4 +401,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
|
|
|
401
401
|
export {
|
|
402
402
|
renderSwimlaneForExport
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
404
|
+
//# sourceMappingURL=chunk-SFVG4AIG.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
renderInlineText
|
|
3
|
-
} from "./chunk-3HDBAXF5.js";
|
|
4
1
|
import {
|
|
5
2
|
wrapDescriptionLines
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NCT22MOD.js";
|
|
4
|
+
import {
|
|
5
|
+
renderInlineText
|
|
6
|
+
} from "./chunk-WGC42WJU.js";
|
|
7
7
|
import {
|
|
8
8
|
ScaleContext
|
|
9
9
|
} from "./chunk-YYVTBZZC.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-6VJCURWU.js";
|
|
13
13
|
import {
|
|
14
14
|
renderIntegratedLegend
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-44GBBTMU.js";
|
|
16
16
|
import {
|
|
17
17
|
getLegendExtent,
|
|
18
18
|
getMaxLegendReservedHeight
|
|
@@ -25,16 +25,6 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
FONT_FAMILY
|
|
27
27
|
} from "./chunk-6KFWC4CO.js";
|
|
28
|
-
import {
|
|
29
|
-
measureText,
|
|
30
|
-
truncateText
|
|
31
|
-
} from "./chunk-4ASYQ347.js";
|
|
32
|
-
import {
|
|
33
|
-
contrastText,
|
|
34
|
-
mix,
|
|
35
|
-
shapeFill,
|
|
36
|
-
themeBaseBg
|
|
37
|
-
} from "./chunk-42IT4BG2.js";
|
|
38
28
|
import {
|
|
39
29
|
isSequenceBlock,
|
|
40
30
|
isSequenceNote,
|
|
@@ -49,6 +39,16 @@ import {
|
|
|
49
39
|
legendInlineRequested,
|
|
50
40
|
legendSuppressed
|
|
51
41
|
} from "./chunk-3KOPPSUQ.js";
|
|
42
|
+
import {
|
|
43
|
+
measureText,
|
|
44
|
+
truncateText
|
|
45
|
+
} from "./chunk-4ASYQ347.js";
|
|
46
|
+
import {
|
|
47
|
+
contrastText,
|
|
48
|
+
mix,
|
|
49
|
+
shapeFill,
|
|
50
|
+
themeBaseBg
|
|
51
|
+
} from "./chunk-42IT4BG2.js";
|
|
52
52
|
|
|
53
53
|
// src/sequence/renderer.ts
|
|
54
54
|
import * as d3Selection from "d3-selection";
|
|
@@ -1907,4 +1907,4 @@ export {
|
|
|
1907
1907
|
renderSequenceDiagram,
|
|
1908
1908
|
buildNoteMessageMap
|
|
1909
1909
|
};
|
|
1910
|
-
//# sourceMappingURL=chunk-
|
|
1910
|
+
//# sourceMappingURL=chunk-SQWWYGPT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LDVUPGWC.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-SZCZOA2L.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-LSFZDBAP.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-LP7EC4MI.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
renderNoteBadge,
|
|
15
15
|
renderNoteBox,
|
|
16
16
|
renderNoteConnector
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-H52HJ26L.js";
|
|
18
18
|
import {
|
|
19
19
|
EDGE_STROKE_WIDTH,
|
|
20
20
|
NODE_STROKE_WIDTH
|
|
@@ -36,6 +36,9 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
parseFlowchart
|
|
38
38
|
} from "./chunk-LV5BFA24.js";
|
|
39
|
+
import {
|
|
40
|
+
fillModeFromOptions
|
|
41
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
39
42
|
import {
|
|
40
43
|
measureText
|
|
41
44
|
} from "./chunk-4ASYQ347.js";
|
|
@@ -43,9 +46,6 @@ import {
|
|
|
43
46
|
contrastText,
|
|
44
47
|
shapeFill
|
|
45
48
|
} from "./chunk-42IT4BG2.js";
|
|
46
|
-
import {
|
|
47
|
-
fillModeFromOptions
|
|
48
|
-
} from "./chunk-3KOPPSUQ.js";
|
|
49
49
|
|
|
50
50
|
// src/graph/flowchart-renderer.ts
|
|
51
51
|
import * as d3Selection from "d3-selection";
|
|
@@ -585,4 +585,4 @@ export {
|
|
|
585
585
|
renderFlowchart,
|
|
586
586
|
renderFlowchartForExport
|
|
587
587
|
};
|
|
588
|
-
//# sourceMappingURL=chunk-
|
|
588
|
+
//# sourceMappingURL=chunk-T2VMOWAM.js.map
|