{ "format": 2, "generator": "spec/conformance: every member", "nodes": [ { "id": 0, "type_id": "FloatLiteral", "properties": { "unit": "V", "value": "2" }, "position": [ 10.0, 20.0 ], "group": 1, "origin": { "node": { "by": "human" }, "params": { "unit": { "by": "unknown" }, "value": { "by": "agent", "model": "anthropic/claude-example", "conversation": "c1" } }, "inputs": { "in": { "by": "mixed" } } } }, { "id": 1, "type_id": "math.add", "properties": {}, "position": [ 260.0, 20.0 ], "group": null, "origin": { "node": { "by": "imported", "dialect": "comfyui" } } }, { "id": 2, "type_id": "io.print", "properties": { "label": "sum" }, "position": [ 520.0, 20.0 ], "group": 0 }, { "id": 3, "type_id": "Call", "properties": { "fn": "scale@1", "k": "3" }, "position": [ 260.0, 140.0 ], "group": null } ], "wires": [ { "id": 0, "from_node": 0, "from_port": "value", "to_node": 1, "to_port": "a", "mode": "Move", "origin": { "by": "human" } }, { "id": 1, "from_node": 1, "from_port": "sum", "to_node": 1, "to_port": "b", "mode": "Copy", "feedback": true, "origin": { "by": "agent", "model": "anthropic/claude-example", "conversation": "c2" } }, { "id": 2, "from_node": 1, "from_port": "sum", "to_node": 2, "to_port": "value", "mode": "Borrow" }, { "id": 3, "from_node": 0, "from_port": "value", "to_node": 2, "to_port": "value", "mode": "BorrowMut" }, { "id": 4, "from_node": 0, "from_port": "value", "to_node": 2, "to_port": "value", "mode": "Clone" }, { "id": 5, "from_node": 0, "from_port": "value", "to_node": 3, "to_port": "x", "mode": "Copy" } ], "groups": [ { "id": 0, "name": "Outer", "parent": null, "position": [ 0.0, 0.0 ] }, { "id": 1, "name": "Inner", "parent": 0, "position": [ 40.0, 60.0 ] } ], "functions": [ { "name": "scale", "version": 1, "nodes": [ { "id": 0, "type_id": "FunctionInput", "properties": { "name": "x", "type": "f64" }, "position": [ 0.0, 0.0 ], "group": null }, { "id": 1, "type_id": "FunctionInput", "properties": { "default": "2", "index": "1", "name": "k", "type": "f64" }, "position": [ 0.0, 120.0 ], "group": null }, { "id": 2, "type_id": "math.mul", "properties": {}, "position": [ 220.0, 60.0 ], "group": 0 }, { "id": 3, "type_id": "FunctionOutput", "properties": { "name": "y", "type": "f64" }, "position": [ 440.0, 60.0 ], "group": null } ], "wires": [ { "id": 0, "from_node": 0, "from_port": "value", "to_node": 2, "to_port": "a", "mode": "Move" }, { "id": 1, "from_node": 1, "from_port": "value", "to_node": 2, "to_port": "b", "mode": "Move" }, { "id": 2, "from_node": 2, "from_port": "product", "to_node": 3, "to_port": "value", "mode": "Move" } ], "groups": [ { "id": 0, "name": "Body", "parent": null, "position": [ 220.0, 60.0 ] } ] } ], "widgets": { "math.add": "0123456789abcdef" }, "app": { "version": "1.0", "library": "flowrs-app@1", "source": "root = Stack([total])\ntotal = Metric(\"Sum\", n1.sum)", "skin": "paper", "panel": { "tabs": [ "Main", "Detail" ], "cards": [ { "card": "ctl:0", "col": 1, "row": 2, "tab": 1 } ] }, "title": "Add a number to itself", "description": "Every member of the document, set.", "steps": 40, "turns": [ { "request": "show the sum as a reading", "checks": [ "shows n1.sum as reading" ] } ], "prefer": [ "R06=Scope" ] } }