Update webui assets

This commit is contained in:
yangdx
2025-03-22 11:40:52 +08:00
parent 133bc40735
commit 86709a5e8e
5 changed files with 137 additions and 145 deletions

View File

@@ -538,7 +538,7 @@ const useLightrangeGraph = () => {
// Calculate derived values inside the function
const range = maxDegree - minDegree || 1; // Avoid division by zero
const scale = Constants.maxNodeSize - Constants.minNodeSize;
for (const nodeId of nodesWithDiscardedEdges) {
if (sigmaGraph.hasNode(nodeId)) {
let newDegree = sigmaGraph.degree(nodeId);