Expand description
Flow definition types for YAML deserialization.
This module provides strongly-typed structures for parsing YAML flow definitions:
FlowDefinition- The top-level flow documentNodeDefinition- Individual node configurationEdgeDefinition- Connection between nodesTriggerDefinition- Trigger configuration
§Example YAML
name: order_processing
version: "1.0"
description: Process incoming orders
triggers:
- id: webhook_in
type: webhook
params:
port: 8080
path: /orders
nodes:
fraud_check:
type: std::switch
config:
condition:
type: greater_than
field: risk_score
value: 0.8
high_risk:
type: std::log
config:
message: "High risk order detected"
edges:
- from: webhook_in
to: fraud_check
- from: fraud_check.true
to: high_risk
settings:
max_concurrent_executions: 100
execution_timeout_ms: 60000Structs§
- Edge
Definition - An edge definition connecting nodes in a flow.
- Flow
Definition - A complete flow definition from YAML.
- Flow
Settings - Runtime settings for a flow.
- Node
Definition - A node definition from YAML.
- Trigger
Definition - A trigger definition from YAML.
- Validation
Error - A validation error.
Type Aliases§
- Validation
Result - Result of flow validation.