update at 2026-02-14 11:53:36
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user