Skip to content

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

FunctionDescription
createNodeConstruct 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