Back to Components
Desktop (Electron)
FlowchartDiagram
Function Component
Flowchart Diagram
Lines
257
File
FlowchartDiagram.tsx
Last Modified
2026-10-08
Exports
default FlowchartDiagram
Source Path
aartiq-browser/src/ai/FlowchartDiagram.tsx
Tags
ReactNode.jsmacOS
Code Analysis
React Hooks
useStateuseEffectuseRef
External Dependencies
react
Internal Imports
No internal imports
Props / Types
FlowchartDiagramProps
| Prop | Type | Required |
|---|---|---|
| diagramId | string | Yes |
| code | string | Yes |
FlowchartNode
| Prop | Type | Required |
|---|---|---|
| id | string | Yes |
| text | string | Yes |
| next | string[] | No |
| type | 'start' | 'end' | 'decision' | 'process' | No |
FlowchartLink
| Prop | Type | Required |
|---|---|---|
| from | string | Yes |
| to | string | Yes |
| label | string | No |
Key Functions
parseFlowchartText()renderFlowchart()layout()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js