diff --git a/lightrag_webui/src/hooks/useLightragGraph.tsx b/lightrag_webui/src/hooks/useLightragGraph.tsx index 124e837d..a52a7391 100644 --- a/lightrag_webui/src/hooks/useLightragGraph.tsx +++ b/lightrag_webui/src/hooks/useLightragGraph.tsx @@ -343,7 +343,7 @@ const fetchGraph = async (label: string, maxDepth: number, maxNodes: number) => console.error(`Source node ${edge.source} is undefined`) continue } - + const targetNode = rawData.nodes[target] if (!targetNode) { console.error(`Target node ${edge.target} is undefined`)