mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 13:44:58 +00:00
1.1 KiB
1.1 KiB
N8N-Style Workflows
Overview
- Workflows can be declared with
nodesandconnections, modeled after n8n. - Each node maps to a C++ workflow plugin (via
pluginortype). - Connections define execution order. When connections are omitted, the node array order is used.
Node Shape
idorname: required. Used to identify the node inconnections.pluginortype: required. The plugin string must match a registered step.inputs/outputs: optional string maps for workflow context keys.position: optional[x, y]array for layout parity with n8n.
Connections Shape
{
"connections": {
"load_config": {
"main": [
[
{ "node": "validate_schema", "type": "main", "index": 0 }
]
]
}
}
}
Templates
config/workflows/templates/boot_default.jsonandconfig/workflows/templates/frame_default.jsonare n8n-style now.config/workflows/templates/n8n_skeleton.jsonis a minimal starting point.
Generic Steps
- Implementations live in
src/services/impl/workflow/workflow_generic_steps/. - Full catalog lives in
ROADMAP.mdunder "Generic Step Catalog (Implemented)".