Skip to content

Commit 8c13faf

Browse files
committed
Update readme
1 parent 6f24a8a commit 8c13faf

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ Python module. The connection of the Python functions are stored in the [workflo
3434
JSON file:
3535
```
3636
{
37-
"nodes": {
38-
"0": "simple_workflow.add_x_and_y_and_z",
39-
"1": "simple_workflow.add_x_and_y",
40-
"2": "simple_workflow.add_x_and_y",
41-
"3": "simple_workflow.add_x_and_y",
42-
"4": 1,
43-
"5": 2
44-
},
37+
"nodes": [
38+
{"id": 0, "value": "simple_workflow.add_x_and_y_and_z"},
39+
{"id": 1, "value": "simple_workflow.add_x_and_y"},
40+
{"id": 2, "value": "simple_workflow.add_x_and_y"},
41+
{"id": 3, "value": "simple_workflow.add_x_and_y"},
42+
{"id": 4, "value": 1},
43+
{"id": 5, "value": 2}
44+
],
4545
"edges": [
4646
{"target": 0, "targetPort": "x", "source": 1, "sourcePort": "x"},
4747
{"target": 1, "targetPort": "x", "source": 4, "sourcePort": null},

book/simple.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Python module. The connection of the Python functions are stored in the [workflo
1919
JSON file:
2020
```
2121
{
22-
"nodes": {
23-
"0": "simple_workflow.add_x_and_y_and_z",
24-
"1": "simple_workflow.add_x_and_y",
25-
"2": "simple_workflow.add_x_and_y",
26-
"3": "simple_workflow.add_x_and_y",
27-
"4": 1,
28-
"5": 2
29-
},
22+
"nodes": [
23+
{"id": 0, "value": "simple_workflow.add_x_and_y_and_z"},
24+
{"id": 1, "value": "simple_workflow.add_x_and_y"},
25+
{"id": 2, "value": "simple_workflow.add_x_and_y"},
26+
{"id": 3, "value": "simple_workflow.add_x_and_y"},
27+
{"id": 4, "value": 1},
28+
{"id": 5, "value": 2}
29+
],
3030
"edges": [
3131
{"target": 0, "targetPort": "x", "source": 1, "sourcePort": "x"},
3232
{"target": 1, "targetPort": "x", "source": 4, "sourcePort": null},

0 commit comments

Comments
 (0)