Skip to content

Commit 499d550

Browse files
committed
Propagate data forward in case of evaluate and output nodes
1 parent 345af8e commit 499d550

File tree

1 file changed

+3
-0
lines changed
  • src/components/molecules/flow/graph

1 file changed

+3
-0
lines changed

src/components/molecules/flow/graph/Graph.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class Graph {
7070
useCanvasStore.getState().setOutputNode(node.id, prevNodeOutputData);
7171
result = {
7272
status: 'Success',
73+
data: prevNodeOutputData,
7374
};
7475
}
7576

@@ -79,12 +80,14 @@ class Graph {
7980
this.logs.push('Result: true');
8081
result = {
8182
status: 'Success',
83+
data: prevNodeOutputData,
8284
output: true,
8385
};
8486
} else {
8587
this.logs.push('Result: false');
8688
result = {
8789
status: 'Success',
90+
data: prevNodeOutputData,
8891
output: false,
8992
};
9093
}

0 commit comments

Comments
 (0)