{ "id": "e4f0518a-fd0d-403e-9c20-79011c1c14ae", "name": "branch_boolean_condition", "version": 1, "doctype": "xflow", "doctype_version": 1, "body" : { "requirements": [ { "xtype": "flow", "version": 1 }, { "xtype": "flox", "version": 1 } ], "variables" : { "input" : [ { "name" : "CalcValueA", "vtype" : "number", "value" : "1" }, { "name" : "CalcValueB", "vtype" : "number", "value" : "2" } ], "output" : [ { "vtype" : "number", "name" : "ReturnValue" } ], "local" : [ { "name" : "ReturnValue", "vtype" : "number", "value" : "0" } ] }, "nodes": [ { "id": 1, "nodetype": "flow", "action": "start", "label" : "Start", "parameters": { "flow" : { } } }, { "id": 2, "nodetype": "flox", "action": "evalexpr", "label" : "Flox", "parameters": { "flox" : { "expression" : "$CalcValueA<$CalcValueB", "returns" : { "name" : "ReturnValue", "vtype" : "boolean" } } } }, { "id": 3, "nodetype": "flow", "action": "branch", "label" : "Branch", "parameters": { "flow" : { "name": "ReturnValue", "vtype": "boolean" } } }, { "id": 4, "nodetype": "flow", "action": "end", "label" : "End", "parameters": { "flow" : { } } }, { "id": 5, "nodetype": "flow", "action": "end", "label" : "End", "parameters": { "flow" : { } } } ], "edges": [ [ 1, 2 ], [ 2, 3 ], [ 3, 4 ], [ 3, 5 ] ], "branches" : [ { "edge" : [3,4], "xvar" : { "name" : "ReturnValue", "vtype" : "boolean", "value" : "true" } }, { "edge" : [3,5], "xvar" : { "name" : "ReturnValue", "vtype" : "boolean", "value" : "false" } } ] } }