add graph
Browse files- workflow.json +69 -0
workflow.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "2",
|
| 3 |
+
"name": "HTML preview",
|
| 4 |
+
"runtime": {
|
| 5 |
+
"default": "server"
|
| 6 |
+
},
|
| 7 |
+
"references": [],
|
| 8 |
+
"operators": [
|
| 9 |
+
{
|
| 10 |
+
"id": "op_page",
|
| 11 |
+
"label": "Build page",
|
| 12 |
+
"inputs": [],
|
| 13 |
+
"outputs": [
|
| 14 |
+
{
|
| 15 |
+
"id": "out_0",
|
| 16 |
+
"label": "HTML",
|
| 17 |
+
"type": "html"
|
| 18 |
+
}
|
| 19 |
+
],
|
| 20 |
+
"data": {},
|
| 21 |
+
"x": 120,
|
| 22 |
+
"y": 120,
|
| 23 |
+
"width": 240,
|
| 24 |
+
"height": 90,
|
| 25 |
+
"role": "operator",
|
| 26 |
+
"kind": "fn",
|
| 27 |
+
"source": "fn",
|
| 28 |
+
"runtime": "server",
|
| 29 |
+
"fn": "make_page"
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"subjects": [
|
| 33 |
+
{
|
| 34 |
+
"id": "sub_page",
|
| 35 |
+
"label": "Generated page",
|
| 36 |
+
"inputs": [
|
| 37 |
+
{
|
| 38 |
+
"id": "in",
|
| 39 |
+
"label": "HTML",
|
| 40 |
+
"type": "html"
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"id": "out",
|
| 46 |
+
"label": "HTML",
|
| 47 |
+
"type": "html"
|
| 48 |
+
}
|
| 49 |
+
],
|
| 50 |
+
"data": {},
|
| 51 |
+
"asset_type": "html",
|
| 52 |
+
"role": "subject",
|
| 53 |
+
"x": 480,
|
| 54 |
+
"y": 120,
|
| 55 |
+
"width": 420,
|
| 56 |
+
"height": 105
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"edges": [
|
| 60 |
+
{
|
| 61 |
+
"id": "e1",
|
| 62 |
+
"from_node_id": "op_page",
|
| 63 |
+
"from_port_id": "out_0",
|
| 64 |
+
"to_node_id": "sub_page",
|
| 65 |
+
"to_port_id": "in",
|
| 66 |
+
"type": "html"
|
| 67 |
+
}
|
| 68 |
+
]
|
| 69 |
+
}
|