Logic nodes
The most heterogeneous category: declaring and calling functions, requiring modules, module-load-time setup, and reading/writing named variables. See Node Categories for the color legend and main-canvas vs. Function-Graph availability rules.
| Node | Type | What it does |
|---|---|---|
| Function | logic.function | Declares a named JavaScript function at the top level of the current file. |
| Handler Function | logic.handlerFunction | Declares a named Express request handler with fixed req, res, next parameters — the node every route needs at least one of. |
| Export | logic.export | Marks which Function node(s) and/or variable(s) in this file are exported. |
| Require | logic.require | Imports another blueprint file's exports, or an installed npm package, exactly like Node's own require(). |
| Function Call | logic.functionCall | Calls an exported function from a Required module, or a sibling function in the same file, including recursion. |
| Callback | logic.callback | Calls a wired-in function reference with however many arguments you give it. |
| Path Extractor | logic.pathExtractor | Resolves a free-form dot/bracket property path against a wired object, calling it if the resolved value is a function. |
| Promise | logic.promise | Constructs and handles a JavaScript Promise, awaited inline or handled via Then/Catch execution arms. |
| Start | logic.graphEntry | Function Graph only — the graph's entry point, never added manually. |
| Return | logic.graphReturn | Ends the chain it's wired into, optionally as a real early return from inside a Branch/Switch arm. |
| Begin | logic.begin | Runs once when this file is loaded, before any request comes in. |
| Get Variable | variable.get | Reads the current value of a declared variable. |
| Set Variable | variable.set | Assigns a new value to a declared variable, then continues to the next node. |