diff --git a/lightrag_webui/src/hooks/useLightragGraph.tsx b/lightrag_webui/src/hooks/useLightragGraph.tsx index 280d844d..39521fff 100644 --- a/lightrag_webui/src/hooks/useLightragGraph.tsx +++ b/lightrag_webui/src/hooks/useLightragGraph.tsx @@ -378,7 +378,7 @@ const useLightrangeGraph = () => { dataPromise.then((result) => { const state = useGraphStore.getState() const data = result?.rawGraph; - + // Assign colors based on entity_type *after* fetching if (data && data.nodes) { data.nodes.forEach(node => {