update at 2026-02-14 11:53:36

This commit is contained in:
douboer@gmail.com
2026-02-14 11:53:36 +08:00
parent a72691449c
commit e1b588e289

View File

@@ -690,7 +690,7 @@ function buildSankeySvgText(links, width, height, renderOptions) {
0.35
)}" stroke-width="${formatSvgNumber(
segment.linkHeight
)}" stroke-linecap="round" />`
)}" stroke-linecap="butt" />`
);
});
@@ -1391,7 +1391,7 @@ Page({
layout.linkSegments.forEach((segment) => {
ctx.setStrokeStyle(toRgbaColor(getNodeColor(segment.sourceIndex, themeColors), 0.35));
ctx.setLineWidth(segment.linkHeight);
ctx.setLineCap('round');
ctx.setLineCap('butt');
ctx.beginPath();
ctx.moveTo(segment.startX, segment.sy);
ctx.bezierCurveTo(