WorkflowEdge
Type: Object
A workflow edge represents a connection between two nodes in a workflow. Edges define the flow of execution and can include conditions that determine when the edge should be traversed.
Edge types include:
- Success: Execute when the source node succeeds
- Failure: Execute when the source node fails
- Conditional: Execute based on custom conditions
- Always: Always execute regardless of source node outcome
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| animated | Boolean! | Whether the edge should be animated in the editor | ||
| conditionData | ExpressionScalar! | Expression data for the condition | ||
| conditionType | WorkflowEdgeKind! | Type of condition for traversing this edge | ||
| fromNodeHandle | String! | ID of the source node | ||
| handle | String! | A unique stable identifier for the edge across workflow versions | ||
| label | String | Display label for the edge (e.g., 'Success', 'Failure', 'Case: Error') | ||
| priority | Int! | Priority order when multiple edges from same node (lower = higher priority) | ||
| style | JsonString! | Visual styling for the edge in the workflow editor | ||
| toNodeHandle | String! | ID of the target node | ||
| vfSource | String | Source handle ID for Vue Flow (e.g., 'output', 'success', 'failure') | ||
| vfTarget | String | Target handle ID for Vue Flow (e.g., 'input') |