{ "format": 1, "generator": "flowrs 0.1.0", "nodes": [ { "id": 0, "type_id": "VecNew", "properties": {}, "position": [ 60.0, 60.0 ], "group": null }, { "id": 1, "type_id": "IntLiteral", "properties": { "value": "10" }, "position": [ 60.0, 170.0 ], "group": null }, { "id": 2, "type_id": "VecPush", "properties": {}, "position": [ 280.0, 60.0 ], "group": null }, { "id": 3, "type_id": "VecLen", "properties": {}, "position": [ 500.0, 60.0 ], "group": null }, { "id": 4, "type_id": "PrintLn", "properties": {}, "position": [ 720.0, 60.0 ], "group": null } ], "wires": [ { "id": 0, "from_node": 0, "from_port": "vec", "to_node": 2, "to_port": "vec", "mode": "BorrowMut" }, { "id": 1, "from_node": 1, "from_port": "value", "to_node": 2, "to_port": "item", "mode": "Borrow" }, { "id": 2, "from_node": 2, "from_port": "vec", "to_node": 3, "to_port": "vec", "mode": "Borrow" }, { "id": 3, "from_node": 3, "from_port": "length", "to_node": 4, "to_port": "input", "mode": "Borrow" } ], "groups": [], "widgets": {}, "app": { "version": "1.0", "library": "flowrs-app@1", "source": "", "title": "Push to a Vec and print its length" } }