{ "id": "f32fcb48-b15c-444d-93c9-1e4ecf3d9806", "revision": 0, "last_node_id": 9, "last_link_id": 7, "nodes": [ { "id": 6, "type": "PreviewAny", "pos": [ 985, 215 ], "size": [ 210, 76 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 4 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.76", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} }, "Node name for S&R": "PreviewAny" }, "widgets_values": [], "color": "#4a7b7b", "bgcolor": "#335555", "shape": 1 }, { "id": 8, "type": "PreviewAny", "pos": [ 985, 499 ], "size": [ 210, 165 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 6 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.76", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} }, "Node name for S&R": "PreviewAny" }, "widgets_values": [], "color": "#4a7b7b", "bgcolor": "#335555", "shape": 1 }, { "id": 4, "type": "DockerSandboxRunner", "pos": [ 555, 215 ], "size": [ 400, 256 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "code", "type": "STRING", "widget": { "name": "code" }, "link": 2 }, { "name": "my_value (INT)", "type": "INT", "link": 3 } ], "outputs": [ { "name": "r1", "type": "*", "links": [ 4 ] }, { "name": "r2", "type": "*", "links": [ 7 ] }, { "name": "r3", "type": "*", "links": null }, { "name": "r4", "type": "*", "links": null }, { "name": "r5", "type": "*", "links": null }, { "name": "r6", "type": "*", "links": null }, { "name": "log", "type": "STRING", "links": [ 6 ] } ], "properties": { "Node name for S&R": "DockerSandboxRunner", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.2" } }, "widgets_values": [ "", 10, "512m" ], "color": "#4a7b7b", "bgcolor": "#335555", "shape": 1 }, { "id": 9, "type": "PreviewAny", "pos": [ 985, 351 ], "size": [ 210, 88 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 7 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.76", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} }, "Node name for S&R": "PreviewAny" }, "widgets_values": [], "color": "#4a7b7b", "bgcolor": "#335555", "shape": 1 }, { "id": 5, "type": "PrimitiveInt", "pos": [ 105, 215 ], "size": [ 420, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 3 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.76", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {} }, "Node name for S&R": "PrimitiveInt" }, "widgets_values": [ 60, "fixed" ], "color": "#4a7b7b", "bgcolor": "#335555", "shape": 1 }, { "id": 2, "type": "PrimitiveStringMultiline", "pos": [ 105, 357 ], "size": [ 420, 255 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 2 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.76", "Node name for S&R": "PrimitiveStringMultiline", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.5.2" } }, "widgets_values": [ "# Access the injected variable \"my_value\" from the input slot\n# Libraries like math, random, json, re, time are pre-loaded.\n\nimport math \n\nif my_value > 50:\n r1 = \"Processed successfully.\"\n r2 = my_value * math.pi\nelse:\n r1 = \"Value too low.\"\n r2 = None\n\n\nprint (\"✅✅✅ Finished ✅✅✅\")" ], "color": "#4a7b7b", "bgcolor": "#335555", "shape": 1 } ], "links": [ [ 2, 2, 0, 4, 0, "STRING" ], [ 3, 5, 0, 4, 1, "INT" ], [ 4, 4, 0, 6, 0, "*" ], [ 6, 4, 6, 8, 0, "*" ], [ 7, 4, 1, 9, 0, "*" ] ], "groups": [], "config": {}, "extra": { "ue_links": [], "ds": { "scale": 1.021848739495798, "offset": [ 103.33333333333337, -34.98958333333326 ] }, "links_added_by_ue": [], "frontendVersion": "1.33.10", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }