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)) {