|
3 | 3 | "nodes": [ |
4 | 4 | {"id": 0, "type": "function", "value": "workflow.get_prod_and_div"}, |
5 | 5 | {"id": 1, "type": "function", "value": "workflow.get_sum"}, |
6 | | - {"id": 2, "type": "input", "value": 1, "name": "x"}, |
7 | | - {"id": 3, "type": "input", "value": 2, "name": "y"}, |
8 | | - {"id": 4, "type": "output", "name": "result"} |
| 6 | + {"id": 2, "type": "function", "value": "workflow.get_square"}, |
| 7 | + {"id": 3, "type": "input", "value": 1, "name": "x"}, |
| 8 | + {"id": 4, "type": "input", "value": 2, "name": "y"}, |
| 9 | + {"id": 5, "type": "output", "name": "result"} |
9 | 10 | ], |
10 | 11 | "edges": [ |
11 | | - {"target": 0, "targetPort": "x", "source": 2, "sourcePort": null}, |
12 | | - {"target": 0, "targetPort": "y", "source": 3, "sourcePort": null}, |
| 12 | + {"target": 0, "targetPort": "x", "source": 3, "sourcePort": null}, |
| 13 | + {"target": 0, "targetPort": "y", "source": 4, "sourcePort": null}, |
13 | 14 | {"target": 1, "targetPort": "x", "source": 0, "sourcePort": "prod"}, |
14 | 15 | {"target": 1, "targetPort": "y", "source": 0, "sourcePort": "div"}, |
15 | | - {"target": 4, "targetPort": null, "source": 1, "sourcePort": null} |
| 16 | + {"target": 2, "targetPort": "x", "source": 1, "sourcePort": null}, |
| 17 | + {"target": 5, "targetPort": null, "source": 2, "sourcePort": null} |
16 | 18 | ] |
17 | 19 | } |
0 commit comments