yangdx
commited on
Commit
·
69bab80
1
Parent(s):
1d099f8
Fix linting
Browse files
lightrag_webui/src/hooks/useLightragGraph.tsx
CHANGED
@@ -378,7 +378,7 @@ const useLightrangeGraph = () => {
|
|
378 |
dataPromise.then((result) => {
|
379 |
const state = useGraphStore.getState()
|
380 |
const data = result?.rawGraph;
|
381 |
-
|
382 |
// Assign colors based on entity_type *after* fetching
|
383 |
if (data && data.nodes) {
|
384 |
data.nodes.forEach(node => {
|
|
|
378 |
dataPromise.then((result) => {
|
379 |
const state = useGraphStore.getState()
|
380 |
const data = result?.rawGraph;
|
381 |
+
|
382 |
// Assign colors based on entity_type *after* fetching
|
383 |
if (data && data.nodes) {
|
384 |
data.nodes.forEach(node => {
|