updated docs

This commit is contained in:
2026-04-14 10:32:05 -03:00
parent 2e5a304181
commit a80b72a9b1
67 changed files with 3260 additions and 5005 deletions

View File

@@ -0,0 +1,38 @@
# Graphgen
Interactive database schema visualization. Supabase-style graph of your data model, rendered in the browser.
**Status:** planned
---
## What It Will Do
Graphgen will take a schema definition and render it as an interactive, navigable graph. Tables as nodes, relationships as edges. Click to explore, zoom to navigate.
Think Supabase's schema visualizer, but fed by soleprint's modelgen extractors and rendered with soleprint-ui's GraphRenderer.
## Architecture
```
Extract (modelgen) ──► Serve (station API) ──► Render (GraphRenderer)
```
**Extract** -- modelgen extractors read the codebase (Django, SQLAlchemy, Prisma) and produce a normalized schema.
**Serve** -- station exposes the schema as a JSON API endpoint.
**Render** -- GraphRenderer (Vue Flow) draws the interactive graph in the browser.
## Dependencies
- **modelgen extractors** -- must be functional before graphgen can extract schemas
- **soleprint-ui GraphRenderer** -- Vue Flow-based component for rendering
Graphgen depends on modelgen extractors being complete. That is the blocking dependency.
## Location
```
soleprint/station/tools/graphgen/ # Core (not yet built)
```