AI-Powered Diagram Editor ā Transform ideas into beautiful, interactive flowcharts
1.8K
AI-Powered Diagram Editor ā Transform ideas into beautiful, interactive flowcharts using natural language, images, or Mermaid code.
docker run -d -p 8338:80 vndangkhoa/sys-arc-visl:latest
Open http://localhost:8338ā in your browser.
# Clone the repository
git clone https://github.com/vndangkhoa/kv-graph.git
cd kv-graph
# Install dependencies
npm install
# Start development server
npm run dev
Open http://localhost:5173ā in your browser.
KV-Graph supports a Local-First AI architecture, running powerful models directly in your browser via WebGPU.
Runs entirely on your device. No data leaves your machine.
| Capability | Model | Size | Speed |
|---|---|---|---|
| Text Generation | Qwen3-0.6B | ~500MB | ~30-60s |
| Vision Analysis | ViT-GPT2 | ~300MB | ~8-10s |
Note: First-time load requires downloading model weights.
Connect to external providers for enhanced capabilities.
| Provider | Model | API Key Required |
|---|---|---|
| Google Gemini | Gemini 2.0 Flash | ā (Free tier available) |
| OpenAI | GPT-4 Vision | ā |
| Ollama | Custom | Local URL |
Configure your AI provider in Settings (āļø icon).
kv-graph/
āāā src/
ā āāā components/ # React components
ā ā āāā nodes/ # Custom React Flow nodes
ā ā āāā edges/ # Custom React Flow edges
ā ā āāā editor/ # Monaco Code Editor
ā ā āāā ui/ # UI Kit (Glassware)
ā āāā hooks/ # Custom React hooks
ā āāā lib/ # Core Logic
ā ā āāā aiService.ts # AI Orchestrator
ā ā āāā webLlmService.ts # Local LLM Engine (Qwen3)
ā ā āāā visionService.ts # Local Vision Engine (ViT-GPT2)
ā ā āāā layoutEngine.ts # Dagre Auto-Layout
ā āāā pages/ # Route pages
ā āāā store/ # Zustand Global State
ā āāā types/ # TypeScript interfaces
āāā public/ # Static assets
āāā Dockerfile # Docker build
āāā docker-compose.yml # Docker Compose
| Category | Technology |
|---|---|
| Framework | React 19 + TypeScript |
| Build Tool | Vite 7 |
| Styling | Tailwind CSS 4 |
| AI Inference | WebLLM (WebGPU) + Transformers.js |
| Diagramming | React Flow (XY Flow) |
| Code Editor | Monaco Editor (Theme Aware) |
| State | Zustand |
| Icons | Lucide React |
| Format | Description |
|---|---|
| PNG | High-resolution raster image (3x pixel ratio) |
| JPG | Compressed image format |
| SVG | Vector graphics (scalable, high-fidelity) |
| JSON | Full diagram data (nodes, edges, metadata) |
| Mermaid | Mermaid.js code for use elsewhere |
| React | Complete React component with React Flow |
| Shortcut | Action |
|---|---|
Ctrl/ā + S | Save diagram |
Ctrl/ā + E | Export diagram |
Ctrl/ā + Z | Undo |
Ctrl/ā + Shift + Z | Redo |
Delete/Backspace | Delete selected node |
Escape | Deselect / Close panel |
MIT License ā see LICENSEā for details.
Made with ā¤ļø by vndangkhoaā
Content type
Image
Digest
sha256:8729990c4ā¦
Size
35.5 MB
Last updated
9 months ago
docker pull vndangkhoa/sys-arc-visl