AI Components / Workflow Builder
Workflow Builder
Visual DAG for agent workflow definition with connected steps.
ai-production v0.5.0
Playground
Examples
Agent workflow
<ai-workflow-builder heading="Data Pipeline"></ai-workflow-builder> Import
import { AiWorkflowBuilder } from '@cognivo/components'; // Or tree-shake: import '@cognivo/components/ai-workflow-builder'; Per-component imports ship only that component (~8 kB gzip).
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | "Workflow" | Workflow header title |
rounded | "none"|"sm"|"md"|"lg"|"full" | "lg" | Border radius variant |
steps | WorkflowStep[] | — | Workflow steps |
Events
| Event | Detail | Description |
|---|---|---|
ai-workflow-step-click | {id, label, type, status} | Step clicked |