Commit 2f338bd
feat: add Schema tab with ERD visualization
Add a new Schema tab at /schema that displays an interactive Entity
Relationship Diagram showing database tables, columns, and foreign key
relationships using ReactFlow.
- Add @xyflow/react and dagre dependencies for diagram rendering
- Create ERD components (erd-diagram, table-node, use-layout hook)
- Add schema route with loader for ERD data
- Update navigation to include Schema tab in desktop and mobile views
- Add ReactFlow custom styles for controls, minimap, and edges
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9137c07 commit 2f338bd
10 files changed
Lines changed: 581 additions & 4 deletions
File tree
- ui
- src
- components/erd
- routes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments