| { |
| "schema_version": "2", |
| "name": "HTML preview", |
| "runtime": { |
| "default": "server" |
| }, |
| "references": [], |
| "operators": [ |
| { |
| "id": "op_page", |
| "label": "Build page", |
| "inputs": [], |
| "outputs": [ |
| { |
| "id": "out_0", |
| "label": "HTML", |
| "type": "html" |
| } |
| ], |
| "data": {}, |
| "x": 120, |
| "y": 120, |
| "width": 240, |
| "height": 90, |
| "role": "operator", |
| "kind": "fn", |
| "source": "fn", |
| "runtime": "server", |
| "fn": "make_page" |
| } |
| ], |
| "subjects": [ |
| { |
| "id": "sub_page", |
| "label": "Generated page", |
| "inputs": [ |
| { |
| "id": "in", |
| "label": "HTML", |
| "type": "html" |
| } |
| ], |
| "outputs": [ |
| { |
| "id": "out", |
| "label": "HTML", |
| "type": "html" |
| } |
| ], |
| "data": {}, |
| "asset_type": "html", |
| "role": "subject", |
| "x": 480, |
| "y": 120, |
| "width": 420, |
| "height": 105 |
| } |
| ], |
| "edges": [ |
| { |
| "id": "e1", |
| "from_node_id": "op_page", |
| "from_port_id": "out_0", |
| "to_node_id": "sub_page", |
| "to_port_id": "in", |
| "type": "html" |
| } |
| ] |
| } |