-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexample_workflow.nbm
More file actions
89 lines (89 loc) · 1.69 KB
/
example_workflow.nbm
File metadata and controls
89 lines (89 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"nodes": [
{
"id": "trigger-1",
"type": "trigger",
"label": "Start Workflow",
"description": "Triggers when app starts",
"x": 100,
"y": 300,
"width": 200,
"height": 80,
"inputs": [],
"outputs": ["action-1"]
},
{
"id": "action-1",
"type": "action",
"label": "Process Data",
"description": "Analyze input",
"x": 400,
"y": 300,
"width": 200,
"height": 80,
"inputs": ["trigger-1"],
"outputs": ["condition-1"]
},
{
"id": "condition-1",
"type": "condition",
"label": "Check Status",
"description": "Is data valid?",
"x": 700,
"y": 300,
"width": 200,
"height": 80,
"inputs": ["action-1"],
"outputs": ["output-valid", "output-invalid"]
},
{
"id": "output-valid",
"type": "output",
"label": "Valid Output",
"x": 1000,
"y": 200,
"width": 200,
"height": 80,
"inputs": ["condition-1"],
"outputs": []
},
{
"id": "output-invalid",
"type": "output",
"label": "Error Handler",
"x": 1000,
"y": 400,
"width": 200,
"height": 80,
"inputs": ["condition-1"],
"outputs": []
}
],
"edges": [
{
"id": "e1",
"source": "trigger-1",
"target": "action-1"
},
{
"id": "e2",
"source": "action-1",
"target": "condition-1"
},
{
"id": "e3",
"source": "condition-1",
"target": "output-valid"
},
{
"id": "e4",
"source": "condition-1",
"target": "output-invalid"
}
],
"viewport": {
"x": 0,
"y": 0,
"zoom": 1
}
}