From 71bb5642e3a3fcef1914c6af73cfa312a4dbd764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20MANSUY?= Date: Thu, 4 Dec 2025 19:18:14 +0800 Subject: [PATCH] cherry-pick d550f1c5 --- lightrag_webui/src/components/graph/GraphControl.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag_webui/src/components/graph/GraphControl.tsx b/lightrag_webui/src/components/graph/GraphControl.tsx index a1477217..daa55b50 100644 --- a/lightrag_webui/src/components/graph/GraphControl.tsx +++ b/lightrag_webui/src/components/graph/GraphControl.tsx @@ -303,8 +303,8 @@ const GraphControl = ({ disableHoverEffect }: { disableHoverEffect?: boolean }) if (!disableHoverEffect) { const _focusedNode = focusedNode || selectedNode // Choose edge highlight color based on theme - const edgeHighlightColor = isDarkTheme - ? Constants.edgeColorHighlightedDarkTheme + const edgeHighlightColor = isDarkTheme + ? Constants.edgeColorHighlightedDarkTheme : Constants.edgeColorHighlightedLightTheme if (_focusedNode && graph.hasNode(_focusedNode)) {