Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/workflow / node
node
createNode({...}) — minimal factory wrapper for declaring a workflow node. Returns a WorkflowNode carrying the supplied name + run(...) callback.
Functions
| Function | Description |
|---|---|
| createNode | Construct a WorkflowNode. The wrapper exists to give the engine a stable shape and to keep createWorkflow({...}) callers from instantiating nodes by hand. |
References
NodeRunResult
Re-exports NodeRunResult
WorkflowNode
Re-exports WorkflowNode
WorkflowNodeRun
Re-exports WorkflowNodeRun