Update index.ts

This commit is contained in:
YISH
2024-02-28 18:19:56 +08:00
committed by GitHub
parent 8d88608a68
commit ceebd3e11a
+1 -1
View File
@@ -298,7 +298,7 @@ export const buildFlow = async (
nodeQueue.push({ nodeId: startingNodeIds[i], depth: 0 })
exploredNode[startingNodeIds[i]] = { remainingLoop: maxLoop, lastSeenDepth: 0 }
}
const initializedNode: Set<string> = new Set()
const nonDirectedGraph = constructGraphs(reactFlowNodes, reactFlowEdges, { isReversed: true }).graph
while (nodeQueue.length) {