11{
2+ "version" : " 0.1.0" ,
23 "nodes" : [
3- {"id" : 0 , "function" : " workflow.get_prod_and_div" },
4- {"id" : 1 , "function" : " workflow.get_sum" },
5- {"id" : 2 , "value" : 1 },
6- {"id" : 3 , "value" : 2 }
4+ {"id" : 0 , "type" : " function" , "value" : " workflow.get_prod_and_div" },
5+ {"id" : 1 , "type" : " function" , "value" : " workflow.get_sum" },
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" }
710 ],
811 "edges" : [
9- {"target" : 0 , "targetPort" : " x" , "source" : 2 , "sourcePort" : null },
10- {"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 },
1114 {"target" : 1 , "targetPort" : " x" , "source" : 0 , "sourcePort" : " prod" },
12- {"target" : 1 , "targetPort" : " y" , "source" : 0 , "sourcePort" : " div" }
15+ {"target" : 1 , "targetPort" : " y" , "source" : 0 , "sourcePort" : " div" },
16+ {"target" : 2 , "targetPort" : " x" , "source" : 1 , "sourcePort" : null },
17+ {"target" : 5 , "targetPort" : null , "source" : 2 , "sourcePort" : null }
1318 ]
14- }
19+ }
0 commit comments