yangdx
commited on
Commit
·
aaf862b
1
Parent(s):
c92508a
Update webui assets
Browse files
lightrag/api/webui/assets/{index-DpQ0dh7t.js → index-BSPcWcj5.js}
RENAMED
Binary files a/lightrag/api/webui/assets/index-DpQ0dh7t.js and b/lightrag/api/webui/assets/index-BSPcWcj5.js differ
|
|
lightrag/api/webui/assets/index-BcBS1RaQ.css
DELETED
Binary file (53 kB)
|
|
lightrag/api/webui/assets/index-Cq65VeVX.css
ADDED
Binary file (53.1 kB). View file
|
|
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
@@ -538,7 +538,7 @@ const useLightrangeGraph = () => {
|
|
538 |
// Calculate derived values inside the function
|
539 |
const range = maxDegree - minDegree || 1; // Avoid division by zero
|
540 |
const scale = Constants.maxNodeSize - Constants.minNodeSize;
|
541 |
-
|
542 |
for (const nodeId of nodesWithDiscardedEdges) {
|
543 |
if (sigmaGraph.hasNode(nodeId)) {
|
544 |
let newDegree = sigmaGraph.degree(nodeId);
|
|
|
538 |
// Calculate derived values inside the function
|
539 |
const range = maxDegree - minDegree || 1; // Avoid division by zero
|
540 |
const scale = Constants.maxNodeSize - Constants.minNodeSize;
|
541 |
+
|
542 |
for (const nodeId of nodesWithDiscardedEdges) {
|
543 |
if (sigmaGraph.hasNode(nodeId)) {
|
544 |
let newDegree = sigmaGraph.degree(nodeId);
|