diff --git a/webui/app.js b/webui/app.js
index 8296dfa..57bf1bb 100644
--- a/webui/app.js
+++ b/webui/app.js
@@ -1280,6 +1280,21 @@ function renderTimeline(containerId, timeline) {
svg.setAttribute("height", String(H));
svg.classList.add("timelineSvg");
+ // SVG glow filter(feGaussianBlur + feMerge)让折线带霓虹光晕
+ const NS_FILTER = "http://www.w3.org/2000/svg";
+ const defs = document.createElementNS(NS_FILTER, "defs");
+ const filterId = (containerId || "timeline") + "Glow";
+ defs.innerHTML = `
+
+
+
+
+
+
+
+ `;
+ svg.appendChild(defs);
+
const axis = document.createElementNS("http://www.w3.org/2000/svg", "path");
axis.setAttribute("d", `M ${padL} ${H - padB} L ${W - padR} ${H - padB}`);
axis.setAttribute("stroke", "var(--border)");
@@ -1353,11 +1368,12 @@ function renderTimeline(containerId, timeline) {
p.setAttribute("d", d);
p.setAttribute("fill", "none");
p.setAttribute("stroke", TIMELINE_STROKES[k]?.stroke || "var(--primary)");
- p.setAttribute("stroke-width", "1.5");
+ p.setAttribute("stroke-width", "1.8");
p.setAttribute("stroke-opacity", String(TIMELINE_STROKES[k]?.opacity ?? 1));
if (TIMELINE_STROKES[k]?.dash) p.setAttribute("stroke-dasharray", TIMELINE_STROKES[k].dash);
p.setAttribute("stroke-linecap", "round");
p.setAttribute("stroke-linejoin", "round");
+ p.setAttribute("filter", `url(#${filterId})`);
svg.appendChild(p);
}
diff --git a/webui/index.html b/webui/index.html
index cce6240..d246e7e 100644
--- a/webui/index.html
+++ b/webui/index.html
@@ -19,7 +19,7 @@
} catch (e) {}
})();
-
+
@@ -1274,6 +1274,6 @@
-
+