Skip to content

Graphorin API reference v0.15.1


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 ​

FunctionDescription
createNodeConstruct a WorkflowNode. The wrapper exists to give the engine a stable shape and to keep createWorkflow({...}) callers from instantiating nodes by hand. Carries the optional per-node execution policy: timeoutMs + retry.

References ​

NodeRunResult ​

Re-exports NodeRunResult


WorkflowNode ​

Re-exports WorkflowNode


WorkflowNodeRun ​

Re-exports WorkflowNodeRun