workflow / Exports / UniversalWorkflowStructure
Interface: UniversalWorkflowStructure
Universal Workflow Structure Complete workflow representation with metadata and configuration
Table of contents
Properties
Properties
id
• id: string
Workflow identification
Defined in
name
• Optional name: string
Defined in
description
• Optional description: string
Defined in
version
• Optional version: string
Defined in
nodes
• nodes: UniversalWorkflowNode[]
Core workflow data
Defined in
edges
• edges: UniversalWorkflowEdge[]
Defined in
layout
• layout: UniversalLayoutConfig
Layout and presentation
Defined in
viewport
• Optional viewport: Object
Type declaration
| Name | Type |
|---|---|
x | number |
y | number |
zoom | number |
Defined in
metadata
• metadata: Object
Workflow metadata
Index signature
▪ [key: string]: unknown
Additional metadata
Type declaration
| Name | Type | Description |
|---|---|---|
createdAt | Date | Creation and modification timestamps |
updatedAt | Date | - |
executionId? | string | Execution context |
sessionId? | string | - |
userId? | string | - |
metrics? | { totalNodes: number ; totalEdges: number ; executionTime?: number ; renderTime?: number } | Performance metrics |
metrics.totalNodes | number | - |
metrics.totalEdges | number | - |
metrics.executionTime? | number | - |
metrics.renderTime? | number | - |
tags? | string[] | Workflow classification |
category? | string | - |
Defined in
validation
• Optional validation: Object
Validation state
Type declaration
| Name | Type |
|---|---|
isValid | boolean |
errors | string[] |
warnings | string[] |
lastValidated | Date |
Defined in
platforms
• Optional platforms: Object
Platform-agnostic configurations
Index signature
▪ [platformName: string]: UniversalPlatformConfig