mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 07:01:04 +03:00
Update index.ts
This commit is contained in:
@@ -298,7 +298,7 @@ export const buildFlow = async (
|
|||||||
nodeQueue.push({ nodeId: startingNodeIds[i], depth: 0 })
|
nodeQueue.push({ nodeId: startingNodeIds[i], depth: 0 })
|
||||||
exploredNode[startingNodeIds[i]] = { remainingLoop: maxLoop, lastSeenDepth: 0 }
|
exploredNode[startingNodeIds[i]] = { remainingLoop: maxLoop, lastSeenDepth: 0 }
|
||||||
}
|
}
|
||||||
|
|
||||||
const initializedNode: Set<string> = new Set()
|
const initializedNode: Set<string> = new Set()
|
||||||
const nonDirectedGraph = constructGraphs(reactFlowNodes, reactFlowEdges, { isReversed: true }).graph
|
const nonDirectedGraph = constructGraphs(reactFlowNodes, reactFlowEdges, { isReversed: true }).graph
|
||||||
while (nodeQueue.length) {
|
while (nodeQueue.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user