|
58 | 58 | | Human-in-the-loop | `useHumanInTheLoop` | Meeting scheduler | |
59 | 59 | | Default tool render | `useDefaultRenderTool` | Tool execution status | |
60 | 60 |
|
| 61 | +## Decision Matrix — Picking the Right Visual |
| 62 | + |
| 63 | +| User asks about... | Output type | Technology | |
| 64 | +|-----------------------------|--------------------------|---------------------| |
| 65 | +| How X works (physical) | Illustrative diagram | SVG | |
| 66 | +| How X works (abstract) | Interactive explainer | HTML + inline SVG | |
| 67 | +| Process / steps | Flowchart | SVG | |
| 68 | +| Architecture / containment | Structural diagram | SVG | |
| 69 | +| Database schema / ERD | Relationship diagram | Mermaid | |
| 70 | +| Trends over time | Line chart | Chart.js | |
| 71 | +| Category comparison | Bar chart | Chart.js | |
| 72 | +| Part of whole | Doughnut chart | Chart.js | |
| 73 | +| KPIs / metrics | Dashboard | HTML metric cards | |
| 74 | +| Design a UI | Mockup | HTML | |
| 75 | +| Choose between options | Comparison cards | HTML grid | |
| 76 | +| Cyclic process | Step-through | HTML stepper | |
| 77 | +| Physics / math | Simulation | Canvas + JS | |
| 78 | +| Function / equation | Plotter | SVG + JS | |
| 79 | +| Data exploration | Sortable table | HTML + JS | |
| 80 | +| Creative / decorative | Art / illustration | SVG | |
| 81 | +| 3D visualization | 3D scene | Three.js | |
| 82 | +| Music / audio | Synthesizer | Tone.js | |
| 83 | +| Network / graph | Force layout | D3.js | |
| 84 | +| Quick factual answer | Plain text | None | |
| 85 | +| Code solution | Code block | None | |
| 86 | +| Emotional support | Warm text | None | |
| 87 | + |
61 | 88 | ## Tech Stack |
62 | 89 |
|
63 | 90 | Next.js 16, React 19, Tailwind CSS 4, LangGraph, CopilotKit v2, Turborepo, Recharts |
|
0 commit comments