yangdx
commited on
Commit
·
b82fcce
1
Parent(s):
b9a2f81
Added error logging for duplicate edges in rawGraph.
Browse files
lightrag/api/webui/assets/{index-DSwGiLVk.js → index-D6vUNmAf.js}
RENAMED
Binary files a/lightrag/api/webui/assets/index-DSwGiLVk.js and b/lightrag/api/webui/assets/index-D6vUNmAf.js differ
|
|
lightrag/api/webui/index.html
CHANGED
Binary files a/lightrag/api/webui/index.html and b/lightrag/api/webui/index.html differ
|
|
lightrag_webui/src/hooks/useLightragGraph.tsx
CHANGED
@@ -595,6 +595,8 @@ const useLightrangeGraph = () => {
|
|
595 |
rawGraph.edgeIdMap[newEdge.id] = rawGraph.edges.length - 1;
|
596 |
// Update dynamic edge map
|
597 |
rawGraph.edgeDynamicIdMap[newEdge.dynamicId] = rawGraph.edges.length - 1;
|
|
|
|
|
598 |
}
|
599 |
}
|
600 |
|
|
|
595 |
rawGraph.edgeIdMap[newEdge.id] = rawGraph.edges.length - 1;
|
596 |
// Update dynamic edge map
|
597 |
rawGraph.edgeDynamicIdMap[newEdge.dynamicId] = rawGraph.edges.length - 1;
|
598 |
+
} else {
|
599 |
+
console.error('Edge already exists in rawGraph:', newEdge.id);
|
600 |
}
|
601 |
}
|
602 |
|