@diagrammo/dgmo 0.64.0 → 0.65.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/LICENSE +1 -1
- package/dist/advanced.js +71 -71
- package/dist/block.js +15 -15
- package/dist/chart-meta.js +3 -3
- package/dist/{charts-d3-ZTXJWEHI.js → charts-d3-I6OE5K3B.js} +9 -9
- package/dist/{chunk-C6DMG2V6.js → chunk-27YPE7NO.js} +28 -12
- package/dist/{chunk-RBAW7VUG.js → chunk-2EPV7CLY.js} +5 -7
- package/dist/{chunk-SCJ7CAJF.js → chunk-3HOCNSPD.js} +2 -2
- package/dist/{chunk-Z2ADWRSW.js → chunk-3PSPUYT5.js} +3 -3
- package/dist/{chunk-RBBJIHNL.js → chunk-4IE42ODL.js} +11 -11
- package/dist/{chunk-SMCUX42K.js → chunk-4TM7MWU4.js} +7 -6
- package/dist/{chunk-H3HFC3SQ.js → chunk-5GM6BZO7.js} +3 -3
- package/dist/{chunk-7T3A2UK3.js → chunk-5T7K6QND.js} +15 -16
- package/dist/{chunk-NKRCPBTJ.js → chunk-6BOPYGJC.js} +6 -6
- package/dist/{chunk-37EHGTQ2.js → chunk-6E5YZR4S.js} +18 -16
- package/dist/{chunk-MHI6W6XS.js → chunk-6IUL6LER.js} +10 -7
- package/dist/{chunk-S5RWWISJ.js → chunk-7L53J53J.js} +4 -4
- package/dist/{chunk-WDJ4HAGO.js → chunk-A6CTYC7O.js} +2 -2
- package/dist/{chunk-CDMF7P5A.js → chunk-BBCKUAUR.js} +2 -2
- package/dist/{chunk-AA4M6F2P.js → chunk-BBY57XAA.js} +3 -3
- package/dist/{chunk-NKRVFQGO.js → chunk-BDI25HWH.js} +18 -6
- package/dist/{chunk-SVR3YFM3.js → chunk-C666LP3O.js} +20 -15
- package/dist/{chunk-KRTO7NRK.js → chunk-D2WHS23S.js} +2 -2
- package/dist/{chunk-LYTEVE2N.js → chunk-DBF4IM4U.js} +20 -15
- package/dist/{chunk-PCWPYOT4.js → chunk-ET4R3AU5.js} +4 -4
- package/dist/{chunk-2KOBOIB2.js → chunk-FBD5ASMB.js} +2 -2
- package/dist/{chunk-ES66QH6J.js → chunk-FG24NXKN.js} +2 -2
- package/dist/{chunk-3CIOJ5YJ.js → chunk-FJ57274M.js} +3 -1
- package/dist/{chunk-6BVIZW5N.js → chunk-FLFBY5GN.js} +14 -12
- package/dist/{chunk-XUN3MIO3.js → chunk-G64OVYUT.js} +2 -2
- package/dist/{chunk-RQL25P3U.js → chunk-G7QZF6T3.js} +9 -9
- package/dist/{chunk-IGIJZHB6.js → chunk-GC7CBX6C.js} +6 -6
- package/dist/{chunk-B6AONGTI.js → chunk-GDQN2TPX.js} +21 -14
- package/dist/{chunk-CZUSH6NI.js → chunk-GMLSYNFP.js} +10 -9
- package/dist/{chunk-R6HCNSP6.js → chunk-GOW5VO6M.js} +2 -2
- package/dist/{chunk-SPHC4RYF.js → chunk-GXOMKWQ5.js} +10 -9
- package/dist/{chunk-MQHOKBJ6.js → chunk-IJ4FUFTR.js} +5 -5
- package/dist/{chunk-V3UQSKWJ.js → chunk-IJSFEU4J.js} +9 -9
- package/dist/{chunk-LSFZDBAP.js → chunk-IKHV5IJB.js} +2 -2
- package/dist/{chunk-LMXAB4YM.js → chunk-IZ6RWMBM.js} +9 -9
- package/dist/{chunk-6VJCURWU.js → chunk-J2EXBAPZ.js} +4 -5
- package/dist/{chunk-IX6N5MCY.js → chunk-JCL4K7AK.js} +12 -11
- package/dist/{chunk-OBKM6GIJ.js → chunk-JTUDM7S4.js} +10 -10
- package/dist/{chunk-CVVICCSB.js → chunk-L65WI4HO.js} +4 -4
- package/dist/{chunk-67D4MN2H.js → chunk-LK6LTSLH.js} +2 -2
- package/dist/{chunk-KOHIF4LD.js → chunk-MBODBL7C.js} +6 -5
- package/dist/chunk-MTGGOCND.js +638 -0
- package/dist/{chunk-VJARCVMH.js → chunk-MU3CJPJF.js} +2 -2
- package/dist/{chunk-RKTIIU7Z.js → chunk-N6XI5VTA.js} +4 -4
- package/dist/{chunk-ODUT5WMC.js → chunk-NVOU7N6C.js} +2 -2
- package/dist/{chunk-T4QXHE34.js → chunk-OWUWLZJT.js} +13 -11
- package/dist/{chunk-LDVUPGWC.js → chunk-OWVDD5EC.js} +2 -2
- package/dist/{chunk-M4HYPDER.js → chunk-P5OCINCI.js} +8 -8
- package/dist/{chunk-JU2VMFYC.js → chunk-PZOFMBF3.js} +2 -2
- package/dist/{chunk-YLK3JNWP.js → chunk-QNCXONBR.js} +2 -2
- package/dist/{chunk-DB2KQ5DN.js → chunk-QRWY5QTA.js} +5 -5
- package/dist/{chunk-I2ATN25N.js → chunk-R4XM44BW.js} +25 -16
- package/dist/{chunk-DJCZWQ2A.js → chunk-RTTZIX34.js} +4 -4
- package/dist/{chunk-OMTBYLKN.js → chunk-TPKNA2U5.js} +9 -7
- package/dist/{chunk-DN5HEDE4.js → chunk-TT5B36WO.js} +16 -20
- package/dist/{chunk-SF3JAWMY.js → chunk-TWILCDUE.js} +3 -3
- package/dist/{chunk-NIZM3LAG.js → chunk-UINRIO77.js} +10 -10
- package/dist/{chunk-5H2LIQIH.js → chunk-UJXCDF4E.js} +4 -4
- package/dist/{chunk-Z5ID35YP.js → chunk-UTCPNJND.js} +2 -4
- package/dist/{chunk-U42ZEK7L.js → chunk-V4BYBIBU.js} +24 -15
- package/dist/{chunk-L4IN4OBB.js → chunk-VLI5SYXW.js} +7 -7
- package/dist/{chunk-43E26CDA.js → chunk-VS2M72PF.js} +4 -4
- package/dist/{chunk-KZ3PCDUJ.js → chunk-VV6HZQ5K.js} +2 -2
- package/dist/{chunk-Z5BTSBWW.js → chunk-WF2HDQPG.js} +4 -4
- package/dist/{chunk-TAJ2XFTT.js → chunk-XKMCL2YJ.js} +19 -16
- package/dist/{chunk-7GUYGQR4.js → chunk-XVEPB2UU.js} +4 -4
- package/dist/{chunk-YHTKDIF2.js → chunk-YGFNITPC.js} +11 -11
- package/dist/{chunk-I24O2RWT.js → chunk-YJOOIOSR.js} +84 -14
- package/dist/{chunk-KPX2OWZR.js → chunk-YKWHUPBP.js} +13 -14
- package/dist/{chunk-FRC4LDTQ.js → chunk-YMYPFX4O.js} +36 -30
- package/dist/{chunk-VOJOARA6.js → chunk-ZZXPYVS4.js} +82 -77
- package/dist/{dgmo-router-QWRF7ZKM.js → dgmo-router-464FE256.js} +4 -4
- package/dist/{dimensions-ES6O2T4H.js → dimensions-ILAVBRQ3.js} +7 -7
- package/dist/{flowchart-renderer-EXMRHFTQ.js → flowchart-renderer-6JKM2FA4.js} +7 -7
- package/dist/index.js +15 -15
- package/dist/{layout-HBWT2G23.js → layout-4LNMXLVK.js} +3 -3
- package/dist/{layout-UU4VJTOP.js → layout-62ERBWCM.js} +3 -3
- package/dist/{layout-N6X46MWG.js → layout-6SKHNQYO.js} +4 -4
- package/dist/{layout-OH4VQ3OI.js → layout-7JULRP4Y.js} +4 -4
- package/dist/{layout-QTZO6CW5.js → layout-FA37VP7V.js} +4 -4
- package/dist/layout-IN53LAE6.js +9 -0
- package/dist/{layout-H4H4OFE4.js → layout-IO6ORC5T.js} +3 -3
- package/dist/{layout-54P3DAXY.js → layout-LVMWK4QY.js} +5 -5
- package/dist/{layout-WCOEZPOI.js → layout-MNOTDWXW.js} +4 -4
- package/dist/{layout-2T2VCCTM.js → layout-RD7GDM4I.js} +5 -5
- package/dist/{layout-SKQMIXTG.js → layout-SBQTN2YM.js} +4 -4
- package/dist/{layout-5E2NQZNM.js → layout-SGYR6HBX.js} +3 -3
- package/dist/{layout-W3ZBJOIK.js → layout-WIMQIHBU.js} +5 -5
- package/dist/{layout-search-AJ6VUVUI.js → layout-search-C44CJQOB.js} +5 -5
- package/dist/{legend-constants-QQU3QYBF.js → legend-constants-RGINV5SF.js} +3 -3
- package/dist/{parser-KSIYWKYF.js → parser-CSKF2KNO.js} +8 -4
- package/dist/{parser-2BGDJJ2L.js → parser-WLL63XH7.js} +2 -2
- package/dist/{renderer-XLEYPLVL.js → renderer-2UIQVKXK.js} +8 -8
- package/dist/{renderer-KOWVTTYR.js → renderer-3GG2DEFQ.js} +7 -7
- package/dist/{renderer-XLPNUOYA.js → renderer-6NDYVZXQ.js} +10 -10
- package/dist/{renderer-2ARNFXSC.js → renderer-6ST44AVP.js} +10 -10
- package/dist/{renderer-YLM4CGBG.js → renderer-ALP46W2X.js} +8 -8
- package/dist/{renderer-NHFRVCDC.js → renderer-AOFIEF2T.js} +9 -9
- package/dist/{renderer-HLWEJQJW.js → renderer-BEVY3UP5.js} +5 -5
- package/dist/{renderer-H6AQ4UIR.js → renderer-BXPWSNTJ.js} +13 -13
- package/dist/{renderer-BYWLJDT4.js → renderer-EWTETTII.js} +8 -8
- package/dist/{renderer-KK2534AF.js → renderer-FHXAWDNI.js} +4 -4
- package/dist/{renderer-OB77AT7V.js → renderer-FI4IKF4I.js} +7 -7
- package/dist/{renderer-DMVUBKP7.js → renderer-GHYH6DLG.js} +4 -4
- package/dist/{renderer-LSBXYOID.js → renderer-GYYJ4APT.js} +10 -10
- package/dist/{renderer-M43ROWET.js → renderer-JFOHE3YB.js} +9 -9
- package/dist/{renderer-OA7FSZ4A.js → renderer-L5QGQTLV.js} +3 -3
- package/dist/{renderer-7OOC2ZO2.js → renderer-L7S6YVM6.js} +4 -4
- package/dist/{renderer-YELZR4QT.js → renderer-LCHVBTV4.js} +12 -12
- package/dist/{renderer-IN3UPTZS.js → renderer-M4DAYNWC.js} +3 -3
- package/dist/{renderer-WN47AMUM.js → renderer-NXIK3LOA.js} +8 -8
- package/dist/{renderer-QR5343AR.js → renderer-OWUXQDHM.js} +3 -3
- package/dist/{renderer-FCO42JLK.js → renderer-PJNJOCLB.js} +8 -8
- package/dist/{renderer-OYTERGAO.js → renderer-QQBUBD66.js} +9 -9
- package/dist/{renderer-PM7JPC3J.js → renderer-REFE3YFH.js} +11 -11
- package/dist/{renderer-C6KOE774.js → renderer-RL2JGVPC.js} +10 -10
- package/dist/{renderer-ZNTLBQ45.js → renderer-RVFPPKWN.js} +9 -9
- package/dist/{renderer-QEHUJHRK.js → renderer-SFQHFPC5.js} +10 -10
- package/dist/{renderer-LO4FXQHP.js → renderer-T4CMBGA5.js} +8 -8
- package/dist/{renderer-M3PQKXK2.js → renderer-TJD6A3AK.js} +13 -13
- package/dist/{renderer-2E7LQC32.js → renderer-URPIVAPI.js} +3 -3
- package/dist/{renderer-T5CUGSXP.js → renderer-WENGQEX6.js} +7 -7
- package/dist/{renderer-WR3FA3FF.js → renderer-WR6J7NKH.js} +8 -8
- package/dist/{renderer-YBEZ5V2H.js → renderer-X3V2G4UL.js} +3 -3
- package/dist/{renderer-KPEQ72FY.js → renderer-YAW4VHAI.js} +11 -11
- package/dist/{renderer-radial-XWAKJACV.js → renderer-radial-HOUGPUPW.js} +7 -7
- package/dist/{state-renderer-LIESKSBO.js → state-renderer-JJSQJZEL.js} +11 -11
- package/docs/ai-integration.md +1 -1
- package/docs/language-reference.md +5 -0
- package/gallery/fixtures/er.dgmo +1 -1
- package/package.json +5 -3
- package/dist/chunk-4ASYQ347.js +0 -185
- package/dist/layout-5XGYNYVT.js +0 -9
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-NCT22MOD.js";
|
|
4
4
|
import {
|
|
5
5
|
renderNodeCard
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5GM6BZO7.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInlineText
|
|
9
9
|
} from "./chunk-WGC42WJU.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
LABEL_FONT_SIZE,
|
|
14
14
|
NODE_STROKE_WIDTH,
|
|
15
15
|
SEPARATOR_GAP
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FJ57274M.js";
|
|
17
17
|
import {
|
|
18
18
|
formatDateLabel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TPKNA2U5.js";
|
|
20
20
|
import {
|
|
21
21
|
layoutInlineHeader
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J2EXBAPZ.js";
|
|
23
23
|
import {
|
|
24
24
|
TITLE_FONT_SIZE,
|
|
25
25
|
TITLE_FONT_WEIGHT,
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
} from "./chunk-A4GOY3PE.js";
|
|
28
28
|
import {
|
|
29
29
|
renderIntegratedLegend
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2EPV7CLY.js";
|
|
31
31
|
import {
|
|
32
32
|
getLegendExtent
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FG24NXKN.js";
|
|
34
34
|
import {
|
|
35
35
|
FONT_FAMILY
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UTCPNJND.js";
|
|
37
37
|
import {
|
|
38
38
|
CHAR_WIDTH_RATIO,
|
|
39
39
|
wrapTextToWidth
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MTGGOCND.js";
|
|
41
41
|
import {
|
|
42
42
|
parseTimelineDate
|
|
43
43
|
} from "./chunk-4GQ6I46C.js";
|
|
@@ -177,7 +177,9 @@ function renderEventLine(container, parsed, palette, isDark, onClickItem, export
|
|
|
177
177
|
);
|
|
178
178
|
const titleLayout = (label) => {
|
|
179
179
|
const lines = wrapTextToWidth(label, LABEL_FONT_SIZE, TITLE_MAX_W, {
|
|
180
|
-
hardBreak: true
|
|
180
|
+
hardBreak: true,
|
|
181
|
+
// The card title is drawn at 700.
|
|
182
|
+
bold: true
|
|
181
183
|
});
|
|
182
184
|
const headerH = Math.max(HEADER_HEIGHT, lines.length * TITLE_LINE_H + 12);
|
|
183
185
|
return { lines, headerH };
|
|
@@ -600,7 +602,7 @@ function renderEventLine(container, parsed, palette, isDark, onClickItem, export
|
|
|
600
602
|
const titleMid = headBandTop + p.headerH / 2;
|
|
601
603
|
const titleTop = titleMid - (p.titleLines.length - 1) * TITLE_LINE_H / 2;
|
|
602
604
|
for (let ti = 0; ti < p.titleLines.length; ti++) {
|
|
603
|
-
cardG.append("text").attr("x", CARD_PAD).attr("y", titleTop + ti * TITLE_LINE_H
|
|
605
|
+
cardG.append("text").attr("x", CARD_PAD).attr("y", titleTop + ti * TITLE_LINE_H).attr("dominant-baseline", "central").attr("fill", shelfText).attr("font-family", FONT_FAMILY).attr("font-size", LABEL_FONT_SIZE).attr("font-weight", 700).text(p.titleLines[ti]);
|
|
604
606
|
}
|
|
605
607
|
if (dateStr) {
|
|
606
608
|
cardG.append("text").attr("x", CARD_PAD).attr(
|
|
@@ -1157,4 +1159,4 @@ export {
|
|
|
1157
1159
|
focusEventLine,
|
|
1158
1160
|
renderEventLineForExport
|
|
1159
1161
|
};
|
|
1160
|
-
//# sourceMappingURL=chunk-
|
|
1162
|
+
//# sourceMappingURL=chunk-OWUWLZJT.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-6EK55ART.js";
|
|
4
4
|
import {
|
|
5
5
|
noteBoxSize
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MU3CJPJF.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/notes/build.ts
|
|
9
9
|
function buildPlacedNotes(anchors, noteByNode, direction, collapsedNotes) {
|
|
@@ -70,4 +70,4 @@ function buildPlacedNotes(anchors, noteByNode, direction, collapsedNotes) {
|
|
|
70
70
|
export {
|
|
71
71
|
buildPlacedNotes
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
73
|
+
//# sourceMappingURL=chunk-OWVDD5EC.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-IKHV5IJB.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-LP7EC4MI.js";
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
EDGE_STROKE_WIDTH,
|
|
20
20
|
NODE_STROKE_WIDTH
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FJ57274M.js";
|
|
22
22
|
import {
|
|
23
23
|
ScaleContext
|
|
24
24
|
} from "./chunk-YYVTBZZC.js";
|
|
25
25
|
import {
|
|
26
26
|
layoutInlineHeader
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-J2EXBAPZ.js";
|
|
28
28
|
import {
|
|
29
29
|
serializeSvg
|
|
30
30
|
} from "./chunk-RU2HHHYA.js";
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
} from "./chunk-A4GOY3PE.js";
|
|
36
36
|
import {
|
|
37
37
|
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2EPV7CLY.js";
|
|
39
39
|
import {
|
|
40
40
|
getLegendExtent,
|
|
41
41
|
getMaxLegendReservedHeight
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FG24NXKN.js";
|
|
43
43
|
import {
|
|
44
44
|
FONT_FAMILY
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UTCPNJND.js";
|
|
46
46
|
import {
|
|
47
47
|
measureText
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-MTGGOCND.js";
|
|
49
49
|
import {
|
|
50
50
|
parseState
|
|
51
51
|
} from "./chunk-SR7NGZNM.js";
|
|
@@ -481,4 +481,4 @@ export {
|
|
|
481
481
|
renderState,
|
|
482
482
|
renderStateForExport
|
|
483
483
|
};
|
|
484
|
-
//# sourceMappingURL=chunk-
|
|
484
|
+
//# sourceMappingURL=chunk-P5OCINCI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildMapProjection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6E5YZR4S.js";
|
|
4
4
|
import {
|
|
5
5
|
TITLE_FONT_SIZE,
|
|
6
6
|
TITLE_Y
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
mapContentAspect,
|
|
52
52
|
mapExportDimensions
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
54
|
+
//# sourceMappingURL=chunk-PZOFMBF3.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-A4GOY3PE.js";
|
|
6
6
|
import {
|
|
7
7
|
FONT_FAMILY
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UTCPNJND.js";
|
|
9
9
|
import {
|
|
10
10
|
getSeriesColors,
|
|
11
11
|
mix
|
|
@@ -443,4 +443,4 @@ export {
|
|
|
443
443
|
renderVersionControl,
|
|
444
444
|
renderVersionControlForExport
|
|
445
445
|
};
|
|
446
|
-
//# sourceMappingURL=chunk-
|
|
446
|
+
//# sourceMappingURL=chunk-QNCXONBR.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
mapLegendConfig,
|
|
7
7
|
mapLegendGroups,
|
|
8
8
|
parsePathRings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6E5YZR4S.js";
|
|
10
10
|
import {
|
|
11
11
|
TITLE_FONT_SIZE,
|
|
12
12
|
TITLE_FONT_WEIGHT,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
} from "./chunk-A4GOY3PE.js";
|
|
15
15
|
import {
|
|
16
16
|
renderIntegratedLegend
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2EPV7CLY.js";
|
|
18
18
|
import {
|
|
19
19
|
FONT_FAMILY
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UTCPNJND.js";
|
|
21
21
|
import {
|
|
22
22
|
measureText
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MTGGOCND.js";
|
|
24
24
|
import {
|
|
25
25
|
parseClock
|
|
26
26
|
} from "./chunk-2CMM36O7.js";
|
|
@@ -781,4 +781,4 @@ export {
|
|
|
781
781
|
renderMap,
|
|
782
782
|
renderMapForExport
|
|
783
783
|
};
|
|
784
|
-
//# sourceMappingURL=chunk-
|
|
784
|
+
//# sourceMappingURL=chunk-QRWY5QTA.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
INLINE_HEADER_PAD,
|
|
10
10
|
layoutInlineHeader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J2EXBAPZ.js";
|
|
12
12
|
import {
|
|
13
13
|
TITLE_FONT_SIZE,
|
|
14
14
|
TITLE_FONT_WEIGHT,
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
} from "./chunk-A4GOY3PE.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2EPV7CLY.js";
|
|
20
20
|
import {
|
|
21
21
|
controlsGroupCapsuleWidth,
|
|
22
22
|
getLegendExtent,
|
|
23
23
|
getMaxLegendReservedHeight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FG24NXKN.js";
|
|
25
25
|
import {
|
|
26
26
|
FONT_FAMILY
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UTCPNJND.js";
|
|
28
28
|
import {
|
|
29
29
|
LEGEND_CAPSULE_PAD,
|
|
30
30
|
LEGEND_DOT_R,
|
|
@@ -39,12 +39,12 @@ import {
|
|
|
39
39
|
LEGEND_PILL_PAD,
|
|
40
40
|
measureLegendText,
|
|
41
41
|
truncateLegendText
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3HOCNSPD.js";
|
|
43
43
|
import {
|
|
44
44
|
CHAR_WIDTH_RATIO,
|
|
45
45
|
measureText,
|
|
46
46
|
truncateText
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-MTGGOCND.js";
|
|
48
48
|
import {
|
|
49
49
|
normalizeName
|
|
50
50
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -72,8 +72,8 @@ var BOTTOM_MARGIN = 40;
|
|
|
72
72
|
var RIGHT_MARGIN = 20;
|
|
73
73
|
var LABEL_PAD = 8;
|
|
74
74
|
var LABEL_GAP = 5;
|
|
75
|
-
function computeBarLabel(label, x1, barWidth, innerWidth, textColor, onFillColor, fontSize = 10, labelPad = LABEL_PAD, labelGap = LABEL_GAP) {
|
|
76
|
-
const textWidth = measureText(label, fontSize);
|
|
75
|
+
function computeBarLabel(label, x1, barWidth, innerWidth, textColor, onFillColor, fontSize = 10, labelPad = LABEL_PAD, labelGap = LABEL_GAP, bold = false) {
|
|
76
|
+
const textWidth = measureText(label, fontSize, { bold });
|
|
77
77
|
const x2 = x1 + barWidth;
|
|
78
78
|
if (textWidth < barWidth - labelPad) {
|
|
79
79
|
return {
|
|
@@ -91,7 +91,7 @@ function computeBarLabel(label, x1, barWidth, innerWidth, textColor, onFillColor
|
|
|
91
91
|
}
|
|
92
92
|
const availWidth = x1 - labelGap;
|
|
93
93
|
if (availWidth > fontSize * CHAR_WIDTH_RATIO * 3) {
|
|
94
|
-
const truncated = truncateText(label, fontSize, availWidth);
|
|
94
|
+
const truncated = truncateText(label, fontSize, availWidth, { bold });
|
|
95
95
|
if (!truncated) return null;
|
|
96
96
|
return {
|
|
97
97
|
x: x1 - labelGap,
|
|
@@ -152,7 +152,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
152
152
|
const isTagMode = tagRows !== null;
|
|
153
153
|
const LABEL_FONT = 11;
|
|
154
154
|
const labelWidths = isTagMode ? [
|
|
155
|
-
...rows.filter((r) => r.type === "lane-header").map((r) => measureText(r.laneName, LABEL_FONT)),
|
|
155
|
+
...rows.filter((r) => r.type === "lane-header").map((r) => measureText(r.laneName, LABEL_FONT, { bold: true })),
|
|
156
156
|
...rows.filter((r) => r.type === "task").map((r) => measureText("\u25CF " + r.task.task.label, LABEL_FONT))
|
|
157
157
|
] : [
|
|
158
158
|
...resolved.tasks.map(
|
|
@@ -160,7 +160,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
160
160
|
),
|
|
161
161
|
...resolved.groups.map((g2) => {
|
|
162
162
|
const indentPx = g2.depth <= 2 ? g2.depth * 14 : 2 * 14 + (g2.depth - 2) * 8;
|
|
163
|
-
return indentPx + measureText(g2.name, LABEL_FONT);
|
|
163
|
+
return indentPx + measureText(g2.name, LABEL_FONT, { bold: true });
|
|
164
164
|
})
|
|
165
165
|
];
|
|
166
166
|
const maxLabelWidth = Math.max(
|
|
@@ -229,7 +229,10 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
229
229
|
name: tg.name,
|
|
230
230
|
entries: tg.entries
|
|
231
231
|
})),
|
|
232
|
-
position: {
|
|
232
|
+
position: {
|
|
233
|
+
placement: "top-center",
|
|
234
|
+
titleRelation: "inline-with-title"
|
|
235
|
+
},
|
|
233
236
|
mode: "preview",
|
|
234
237
|
capsulePillAddonWidth: LEGEND_ICON_W
|
|
235
238
|
},
|
|
@@ -589,7 +592,9 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
589
592
|
),
|
|
590
593
|
sFont10,
|
|
591
594
|
sLabelPad,
|
|
592
|
-
sLabelGap
|
|
595
|
+
sLabelGap,
|
|
596
|
+
// Drawn at 700 below.
|
|
597
|
+
true
|
|
593
598
|
);
|
|
594
599
|
if (summaryPlacement) {
|
|
595
600
|
summaryG.append("text").attr("x", summaryPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size", `${sFont10}px`).attr("font-weight", "bold").attr("text-anchor", summaryPlacement.anchor).attr("fill", summaryPlacement.fill).attr("pointer-events", "none").text(summaryPlacement.text);
|
|
@@ -636,7 +641,9 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
636
641
|
),
|
|
637
642
|
sFont10,
|
|
638
643
|
sLabelPad,
|
|
639
|
-
sLabelGap
|
|
644
|
+
sLabelGap,
|
|
645
|
+
// Drawn at 700 below.
|
|
646
|
+
true
|
|
640
647
|
);
|
|
641
648
|
if (expandedPlacement) {
|
|
642
649
|
groupBarG.append("text").attr("x", expandedPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size", `${sFont10}px`).attr("font-weight", "bold").attr("text-anchor", expandedPlacement.anchor).attr("fill", expandedPlacement.fill).attr("pointer-events", "none").text(expandedPlacement.text);
|
|
@@ -1456,7 +1463,9 @@ function renderErasAndMarkers(g, svg, resolved, xScale, innerHeight, palette, er
|
|
|
1456
1463
|
const markerDisplayLabel = truncateLegendText(
|
|
1457
1464
|
marker.label,
|
|
1458
1465
|
11,
|
|
1459
|
-
markerLabelMaxW
|
|
1466
|
+
markerLabelMaxW,
|
|
1467
|
+
// Drawn at 600 below. The era label sharing this helper is not.
|
|
1468
|
+
{ bold: true }
|
|
1460
1469
|
);
|
|
1461
1470
|
const markerTruncated = markerDisplayLabel !== marker.label;
|
|
1462
1471
|
const markerG = g.append("g").attr("class", "gantt-marker-group").attr("data-line-number", String(marker.lineNumber)).style("cursor", "pointer");
|
|
@@ -2143,4 +2152,4 @@ export {
|
|
|
2143
2152
|
renderGantt,
|
|
2144
2153
|
buildTagLaneRowList
|
|
2145
2154
|
};
|
|
2146
|
-
//# sourceMappingURL=chunk-
|
|
2155
|
+
//# sourceMappingURL=chunk-R4XM44BW.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
META_FONT_SIZE,
|
|
8
8
|
META_LINE_HEIGHT,
|
|
9
9
|
SEPARATOR_GAP
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FJ57274M.js";
|
|
11
11
|
import {
|
|
12
12
|
measureText
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MTGGOCND.js";
|
|
14
14
|
import {
|
|
15
15
|
buildCoupleQuotient,
|
|
16
16
|
rankClasses
|
|
@@ -86,7 +86,7 @@ function cardSize(p) {
|
|
|
86
86
|
const right = r.year ? KEY_X + measureText(r.value, META_FONT_SIZE) : valueX + measureText(r.value, META_FONT_SIZE);
|
|
87
87
|
contentRight = Math.max(contentRight, right);
|
|
88
88
|
}
|
|
89
|
-
const labelW = measureText(p.label, LABEL_FONT_SIZE);
|
|
89
|
+
const labelW = measureText(p.label, LABEL_FONT_SIZE, { bold: true });
|
|
90
90
|
const width = Math.max(
|
|
91
91
|
MIN_CARD_W,
|
|
92
92
|
labelW + CARD_TEXT_PAD * 2,
|
|
@@ -489,4 +489,4 @@ export {
|
|
|
489
489
|
focusFamily,
|
|
490
490
|
layoutFamily
|
|
491
491
|
};
|
|
492
|
-
//# sourceMappingURL=chunk-
|
|
492
|
+
//# sourceMappingURL=chunk-RTTZIX34.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
hideTooltip,
|
|
11
11
|
renderChartTitle,
|
|
12
12
|
showTooltip
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LK6LTSLH.js";
|
|
14
14
|
import {
|
|
15
15
|
renderIntegratedLegend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2EPV7CLY.js";
|
|
17
17
|
import {
|
|
18
18
|
FONT_FAMILY
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UTCPNJND.js";
|
|
20
20
|
import {
|
|
21
21
|
LEGEND_CAPSULE_PAD,
|
|
22
22
|
LEGEND_DOT_R,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
legendChromeColors,
|
|
30
30
|
measureLegendText,
|
|
31
31
|
truncateLegendText
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3HOCNSPD.js";
|
|
33
33
|
import {
|
|
34
34
|
parseTimelineDate
|
|
35
35
|
} from "./chunk-4GQ6I46C.js";
|
|
@@ -96,7 +96,7 @@ function renderEras(g, eras, scale, isVertical, innerWidth, innerHeight, onEnter
|
|
|
96
96
|
);
|
|
97
97
|
if (useReservedRow) {
|
|
98
98
|
const maxW = Math.max(0, w - 8);
|
|
99
|
-
displayLabel = truncateLegendText(era.label, 13, maxW);
|
|
99
|
+
displayLabel = truncateLegendText(era.label, 13, maxW, { bold: true });
|
|
100
100
|
truncated = displayLabel !== era.label;
|
|
101
101
|
}
|
|
102
102
|
labelEl = eraG.append("text").attr("x", x + w / 2).attr("y", labelY).attr("text-anchor", "middle").attr("fill", color).attr("font-size", "13px").attr("font-weight", "600").attr("opacity", 0.8).text(displayLabel);
|
|
@@ -164,7 +164,9 @@ function renderMarkers(g, markers, scale, isVertical, innerWidth, innerHeight, o
|
|
|
164
164
|
if (d < nearestDist) nearestDist = d;
|
|
165
165
|
}
|
|
166
166
|
const maxW = Math.max(0, nearestDist - 8);
|
|
167
|
-
displayLabel = truncateLegendText(marker.label, 11, maxW
|
|
167
|
+
displayLabel = truncateLegendText(marker.label, 11, maxW, {
|
|
168
|
+
bold: true
|
|
169
|
+
});
|
|
168
170
|
truncated = displayLabel !== marker.label;
|
|
169
171
|
}
|
|
170
172
|
const labelEl = markerG.append("text").attr("x", pos).attr("y", labelY).attr("text-anchor", "middle").attr("fill", color).attr("font-size", "11px").attr("font-weight", "600").text(displayLabel);
|
|
@@ -1670,4 +1672,4 @@ export {
|
|
|
1670
1672
|
formatDateLabel,
|
|
1671
1673
|
renderTimeline
|
|
1672
1674
|
};
|
|
1673
|
-
//# sourceMappingURL=chunk-
|
|
1675
|
+
//# sourceMappingURL=chunk-TPKNA2U5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-WGC42WJU.js";
|
|
4
4
|
import {
|
|
5
5
|
CARD_RADIUS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FJ57274M.js";
|
|
7
7
|
import {
|
|
8
8
|
ScaleContext
|
|
9
9
|
} from "./chunk-YYVTBZZC.js";
|
|
@@ -16,20 +16,20 @@ import {
|
|
|
16
16
|
} from "./chunk-A4GOY3PE.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2EPV7CLY.js";
|
|
20
20
|
import {
|
|
21
21
|
getMaxLegendReservedHeight
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FG24NXKN.js";
|
|
23
23
|
import {
|
|
24
24
|
FONT_FAMILY
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UTCPNJND.js";
|
|
26
26
|
import {
|
|
27
27
|
LEGEND_HEIGHT,
|
|
28
28
|
measureLegendText
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3HOCNSPD.js";
|
|
30
30
|
import {
|
|
31
31
|
measureText
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MTGGOCND.js";
|
|
33
33
|
import {
|
|
34
34
|
parseKanban
|
|
35
35
|
} from "./chunk-E2GEV3BI.js";
|
|
@@ -220,7 +220,9 @@ function computeLayout(parsed, _palette, collapsedColumns, hiddenMetaGroups, sDi
|
|
|
220
220
|
});
|
|
221
221
|
continue;
|
|
222
222
|
}
|
|
223
|
-
let maxCardTextWidth = measureText(col.name, sColumnHeaderFontSize
|
|
223
|
+
let maxCardTextWidth = measureText(col.name, sColumnHeaderFontSize, {
|
|
224
|
+
bold: true
|
|
225
|
+
});
|
|
224
226
|
const cardLayouts = [];
|
|
225
227
|
let cardY = sColumnHeaderHeight + sColumnPadding;
|
|
226
228
|
for (const card of col.cards) {
|
|
@@ -462,7 +464,7 @@ function renderKanban(container, parsed, palette, isDark, options) {
|
|
|
462
464
|
sel.attr("stroke", wellStroke).attr("stroke-width", 1);
|
|
463
465
|
});
|
|
464
466
|
g.append("rect").attr("x", colLayout.x).attr("y", colLayout.y).attr("width", sCollapsedColumnWidth).attr("height", sColumnHeaderHeight).attr("rx", sColumnHeaderRadius).attr("fill", thisColHeaderBg);
|
|
465
|
-
g.append("text").attr("x", colLayout.x + sCollapsedColumnWidth / 2).attr("y", colLayout.y + sColumnHeaderHeight / 2
|
|
467
|
+
g.append("text").attr("x", colLayout.x + sCollapsedColumnWidth / 2).attr("y", colLayout.y + sColumnHeaderHeight / 2).attr("dominant-baseline", "central").attr("font-size", sWipFontSize).attr("font-weight", "bold").attr("fill", col.color ? onHeaderText : palette.textMuted).attr("text-anchor", "middle").text(String(col.cards.length));
|
|
466
468
|
g.append("text").attr("x", colLayout.x + sCollapsedColumnWidth / 2).attr("y", colLayout.y + sColumnHeaderHeight + sColumnPadding).attr("font-size", sCardTitleFontSize).attr("font-weight", "bold").attr("fill", palette.text).attr("text-anchor", "middle").attr("writing-mode", "tb").text(col.name);
|
|
467
469
|
continue;
|
|
468
470
|
}
|
|
@@ -471,14 +473,11 @@ function renderKanban(container, parsed, palette, isDark, options) {
|
|
|
471
473
|
sel.attr("stroke", wellStroke).attr("stroke-width", 1);
|
|
472
474
|
});
|
|
473
475
|
g.append("rect").attr("x", colLayout.x).attr("y", colLayout.y).attr("width", colLayout.width).attr("height", sColumnHeaderHeight).attr("rx", sColumnHeaderRadius).attr("fill", thisColHeaderBg);
|
|
474
|
-
g.append("text").attr("x", colLayout.x + sColumnPadding).attr(
|
|
475
|
-
"y",
|
|
476
|
-
colLayout.y + sColumnHeaderHeight / 2 + sColumnHeaderFontSize / 2 - 2
|
|
477
|
-
).attr("font-size", sColumnHeaderFontSize).attr("font-weight", "bold").attr("fill", onHeaderText).text(col.name);
|
|
476
|
+
g.append("text").attr("x", colLayout.x + sColumnPadding).attr("y", colLayout.y + sColumnHeaderHeight / 2).attr("dominant-baseline", "central").attr("font-size", sColumnHeaderFontSize).attr("font-weight", "bold").attr("fill", onHeaderText).text(col.name);
|
|
478
477
|
{
|
|
479
478
|
const wipExceeded = col.wipLimit != null && col.cards.length > col.wipLimit;
|
|
480
479
|
const badgeText = col.wipLimit != null ? `${col.cards.length}/${col.wipLimit}` : String(col.cards.length);
|
|
481
|
-
g.append("text").attr("x", colLayout.x + colLayout.width - sColumnPadding).attr("y", colLayout.y + sColumnHeaderHeight / 2
|
|
480
|
+
g.append("text").attr("x", colLayout.x + colLayout.width - sColumnPadding).attr("y", colLayout.y + sColumnHeaderHeight / 2).attr("dominant-baseline", "central").attr("text-anchor", "end").attr("font-size", sWipFontSize).attr(
|
|
482
481
|
"fill",
|
|
483
482
|
wipExceeded ? palette.colors.red : col.color ? onHeaderText : palette.textMuted
|
|
484
483
|
).attr("font-weight", wipExceeded ? "bold" : "normal").text(badgeText);
|
|
@@ -752,15 +751,12 @@ function renderSwimlaneBoard(svg, parsed, baseLayout, swimlaneGroup, palette, is
|
|
|
752
751
|
}) : defaultColHeaderBg;
|
|
753
752
|
headerG.append("rect").attr("x", colInfo.x).attr("y", grid.startY).attr("width", colInfo.width).attr("height", sColumnHeaderHeight).attr("rx", sColumnHeaderRadius).attr("fill", colHeaderBg);
|
|
754
753
|
if (isColCollapsed) {
|
|
755
|
-
headerG.append("text").attr("x", colInfo.x + colInfo.width / 2).attr("y", grid.startY + sColumnHeaderHeight / 2
|
|
754
|
+
headerG.append("text").attr("x", colInfo.x + colInfo.width / 2).attr("y", grid.startY + sColumnHeaderHeight / 2).attr("dominant-baseline", "central").attr("font-size", sWipFontSize).attr("font-weight", "bold").attr("fill", palette.textMuted).attr("text-anchor", "middle").text(String(col.cards.length));
|
|
756
755
|
} else {
|
|
757
|
-
headerG.append("text").attr("x", colInfo.x + sColumnPadding).attr(
|
|
758
|
-
"y",
|
|
759
|
-
grid.startY + sColumnHeaderHeight / 2 + sColumnHeaderFontSize / 2 - 2
|
|
760
|
-
).attr("font-size", sColumnHeaderFontSize).attr("font-weight", "bold").attr("fill", palette.text).text(col.name);
|
|
756
|
+
headerG.append("text").attr("x", colInfo.x + sColumnPadding).attr("y", grid.startY + sColumnHeaderHeight / 2).attr("dominant-baseline", "central").attr("font-size", sColumnHeaderFontSize).attr("font-weight", "bold").attr("fill", palette.text).text(col.name);
|
|
761
757
|
const wipExceeded = col.wipLimit != null && col.cards.length > col.wipLimit;
|
|
762
758
|
const badgeText = col.wipLimit != null ? `${col.cards.length}/${col.wipLimit}` : String(col.cards.length);
|
|
763
|
-
headerG.append("text").attr("x", colInfo.x + colInfo.width - sColumnPadding).attr("y", grid.startY + sColumnHeaderHeight / 2
|
|
759
|
+
headerG.append("text").attr("x", colInfo.x + colInfo.width - sColumnPadding).attr("y", grid.startY + sColumnHeaderHeight / 2).attr("dominant-baseline", "central").attr("text-anchor", "end").attr("font-size", sWipFontSize).attr("fill", wipExceeded ? palette.colors.red : palette.textMuted).attr("font-weight", wipExceeded ? "bold" : "normal").text(badgeText);
|
|
764
760
|
}
|
|
765
761
|
}
|
|
766
762
|
for (const lane of grid.lanes) {
|
|
@@ -896,4 +892,4 @@ export {
|
|
|
896
892
|
renderKanban,
|
|
897
893
|
renderKanbanForExport
|
|
898
894
|
};
|
|
899
|
-
//# sourceMappingURL=chunk-
|
|
895
|
+
//# sourceMappingURL=chunk-TT5B36WO.js.map
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
LEGEND_PILL_FONT_SIZE,
|
|
9
9
|
LEGEND_PILL_PAD,
|
|
10
10
|
measureLegendText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3HOCNSPD.js";
|
|
12
12
|
import {
|
|
13
13
|
measureText,
|
|
14
14
|
wrapTextToWidth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MTGGOCND.js";
|
|
16
16
|
import {
|
|
17
17
|
tagAttrKey
|
|
18
18
|
} from "./chunk-MDI5FMWO.js";
|
|
@@ -1718,4 +1718,4 @@ export {
|
|
|
1718
1718
|
layoutC4Components,
|
|
1719
1719
|
layoutC4Deployment
|
|
1720
1720
|
};
|
|
1721
|
-
//# sourceMappingURL=chunk-
|
|
1721
|
+
//# sourceMappingURL=chunk-TWILCDUE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutClassDiagram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ET4R3AU5.js";
|
|
4
4
|
import {
|
|
5
5
|
NOTE_BADGE_RADIUS,
|
|
6
6
|
noteConnectorPoints,
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
extractExportSvg,
|
|
13
13
|
runInExportContainer
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VV6HZQ5K.js";
|
|
15
15
|
import {
|
|
16
16
|
EDGE_STROKE_WIDTH,
|
|
17
17
|
NODE_STROKE_WIDTH
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FJ57274M.js";
|
|
19
19
|
import {
|
|
20
20
|
ScaleContext
|
|
21
21
|
} from "./chunk-YYVTBZZC.js";
|
|
22
22
|
import {
|
|
23
23
|
layoutInlineHeader
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-J2EXBAPZ.js";
|
|
25
25
|
import {
|
|
26
26
|
TITLE_FONT_SIZE,
|
|
27
27
|
TITLE_FONT_WEIGHT,
|
|
@@ -29,19 +29,19 @@ import {
|
|
|
29
29
|
} from "./chunk-A4GOY3PE.js";
|
|
30
30
|
import {
|
|
31
31
|
renderIntegratedLegend
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2EPV7CLY.js";
|
|
33
33
|
import {
|
|
34
34
|
getLegendExtent
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FG24NXKN.js";
|
|
36
36
|
import {
|
|
37
37
|
FONT_FAMILY
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UTCPNJND.js";
|
|
39
39
|
import {
|
|
40
40
|
LEGEND_HEIGHT
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3HOCNSPD.js";
|
|
42
42
|
import {
|
|
43
43
|
measureText
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-MTGGOCND.js";
|
|
45
45
|
import {
|
|
46
46
|
parseClassDiagram
|
|
47
47
|
} from "./chunk-EK4QX7NQ.js";
|
|
@@ -448,4 +448,4 @@ export {
|
|
|
448
448
|
renderClassDiagram,
|
|
449
449
|
renderClassDiagramForExport
|
|
450
450
|
};
|
|
451
|
-
//# sourceMappingURL=chunk-
|
|
451
|
+
//# sourceMappingURL=chunk-UINRIO77.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OWVDD5EC.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
7
7
|
import {
|
|
8
8
|
measureText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MTGGOCND.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveNotes
|
|
12
12
|
} from "./chunk-7NK42OIB.js";
|
|
@@ -26,7 +26,7 @@ var SEPARATOR_HEIGHT = 1;
|
|
|
26
26
|
var HALF_MARGIN = 30;
|
|
27
27
|
var COMP_GAP = 60;
|
|
28
28
|
function computeNodeDimensions(table) {
|
|
29
|
-
let maxTextWidth = measureText(table.name, TABLE_FONT_SIZE);
|
|
29
|
+
let maxTextWidth = measureText(table.name, TABLE_FONT_SIZE, { bold: true });
|
|
30
30
|
for (const col of table.columns) {
|
|
31
31
|
let colText = col.name;
|
|
32
32
|
if (col.type) colText += `: ${col.type}`;
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-UJXCDF4E.js.map
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// src/fonts.ts
|
|
2
2
|
var FONT_FAMILY = "Inter, system-ui, Avenir, Helvetica, Arial, sans-serif";
|
|
3
|
-
var FONT_CENTRAL_DY = 0.3638;
|
|
4
3
|
|
|
5
4
|
export {
|
|
6
|
-
FONT_FAMILY
|
|
7
|
-
FONT_CENTRAL_DY
|
|
5
|
+
FONT_FAMILY
|
|
8
6
|
};
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
7
|
+
//# sourceMappingURL=chunk-UTCPNJND.js.map
|