|
| 1 | +{ |
| 2 | + "mode": "blocks", |
| 3 | + "components": [ |
| 4 | + { |
| 5 | + "id": 1, |
| 6 | + "type": "markdown", |
| 7 | + "props": { |
| 8 | + "value": "<pre><code># Detect Disease From Scan\nWith this model you can lorem ipsum\n- ipsum 1\n- ipsum 2\n</code></pre>\n", |
| 9 | + "name": "markdown", |
| 10 | + "label": null, |
| 11 | + "css": {} |
| 12 | + } |
| 13 | + }, |
| 14 | + { |
| 15 | + "id": 2, |
| 16 | + "type": "checkboxgroup", |
| 17 | + "props": { |
| 18 | + "choices": ["Covid", "Malaria", "Lung Cancer"], |
| 19 | + "default": [], |
| 20 | + "name": "checkboxgroup", |
| 21 | + "label": "Disease to Scan For", |
| 22 | + "css": {} |
| 23 | + } |
| 24 | + }, |
| 25 | + { "id": 3, "type": "tabs", "props": null }, |
| 26 | + { "id": 4, "type": "tabitem", "props": { "label": "X-ray" } }, |
| 27 | + { "id": 5, "type": "row", "props": { "type": "row" } }, |
| 28 | + { |
| 29 | + "id": 6, |
| 30 | + "type": "image", |
| 31 | + "props": { |
| 32 | + "image_mode": "RGB", |
| 33 | + "shape": null, |
| 34 | + "source": "upload", |
| 35 | + "tool": "editor", |
| 36 | + "name": "image", |
| 37 | + "label": null, |
| 38 | + "css": {} |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "id": 7, |
| 43 | + "type": "json", |
| 44 | + "props": { "name": "json", "label": null, "css": {} } |
| 45 | + }, |
| 46 | + { |
| 47 | + "id": 8, |
| 48 | + "type": "button", |
| 49 | + "props": { |
| 50 | + "value": "Run", |
| 51 | + "name": "button", |
| 52 | + "label": null, |
| 53 | + "css": { "background-color": "red", "--hover-color": "orange" } |
| 54 | + } |
| 55 | + }, |
| 56 | + { "id": 9, "type": "tabitem", "props": { "label": "CT Scan" } }, |
| 57 | + { "id": 10, "type": "row", "props": { "type": "row" } }, |
| 58 | + { |
| 59 | + "id": 11, |
| 60 | + "type": "image", |
| 61 | + "props": { |
| 62 | + "image_mode": "RGB", |
| 63 | + "shape": null, |
| 64 | + "source": "upload", |
| 65 | + "tool": "editor", |
| 66 | + "name": "image", |
| 67 | + "label": null, |
| 68 | + "css": {} |
| 69 | + } |
| 70 | + }, |
| 71 | + { |
| 72 | + "id": 12, |
| 73 | + "type": "json", |
| 74 | + "props": { "name": "json", "label": null, "css": {} } |
| 75 | + }, |
| 76 | + { |
| 77 | + "id": 13, |
| 78 | + "type": "button", |
| 79 | + "props": { "value": "Run", "name": "button", "label": null, "css": {} } |
| 80 | + }, |
| 81 | + { |
| 82 | + "id": 14, |
| 83 | + "type": "textbox", |
| 84 | + "props": { |
| 85 | + "lines": 1, |
| 86 | + "placeholder": null, |
| 87 | + "default": "", |
| 88 | + "name": "textbox", |
| 89 | + "label": null, |
| 90 | + "css": {} |
| 91 | + } |
| 92 | + } |
| 93 | + ], |
| 94 | + "theme": "default", |
| 95 | + "layout": { |
| 96 | + "id": 0, |
| 97 | + "children": [ |
| 98 | + { "id": 1 }, |
| 99 | + { "id": 2 }, |
| 100 | + { |
| 101 | + "id": 3, |
| 102 | + "children": [ |
| 103 | + { |
| 104 | + "id": 4, |
| 105 | + "children": [ |
| 106 | + { "id": 5, "children": [{ "id": 6 }, { "id": 7 }] }, |
| 107 | + { "id": 8 } |
| 108 | + ] |
| 109 | + }, |
| 110 | + { |
| 111 | + "id": 9, |
| 112 | + "children": [ |
| 113 | + { "id": 10, "children": [{ "id": 11 }, { "id": 12 }] }, |
| 114 | + { "id": 13 } |
| 115 | + ] |
| 116 | + } |
| 117 | + ] |
| 118 | + }, |
| 119 | + { "id": 14 } |
| 120 | + ] |
| 121 | + }, |
| 122 | + "dependencies": [ |
| 123 | + { "targets": [8], "trigger": "click", "inputs": [2, 6], "outputs": [7] }, |
| 124 | + { "targets": [13], "trigger": "click", "inputs": [2, 11], "outputs": [12] } |
| 125 | + ] |
| 126 | +} |
0 commit comments