Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io
This commit is contained in:
commit
70ea71e40a
1 changed files with 0 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ export function cleanEdges({
|
||||||
flow: { edges, nodes },
|
flow: { edges, nodes },
|
||||||
updateEdge,
|
updateEdge,
|
||||||
}: cleanEdgesType) {
|
}: cleanEdgesType) {
|
||||||
console.log(nodes, "nodes");
|
|
||||||
let newEdges = _.cloneDeep(edges);
|
let newEdges = _.cloneDeep(edges);
|
||||||
edges.forEach((edge) => {
|
edges.forEach((edge) => {
|
||||||
// check if the source and target node still exists
|
// check if the source and target node still exists
|
||||||
|
|
@ -43,6 +42,5 @@ export function cleanEdges({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log("clean end", newEdges);
|
|
||||||
updateEdge(newEdges);
|
updateEdge(newEdges);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue