Schema Diagram
The Schema Diagram is a visual, interactive ERD of your database. It renders every table as a card on a canvas and draws arrows between tables to show foreign-key relationships, making it easy to understand your schema at a glance.
Getting started
- Open any connection
- Click Navigate in the top bar
- Select Schema Diagram
Table cards
Each table appears as a card showing:
- Table name with a type icon (TABLE, VIEW, or materialized view)
- Row count
- Primary key columns highlighted with a key icon
- Foreign key columns tagged with an FK badge
- Column data types
Relationships
Foreign keys are drawn as arrows between tables, labeled with the constraint name. Relationships work across schemas, support composite (multi-column) keys, and include self-referencing tables.
- Hover a table to highlight only its connected relations
- Click a table card to open it in the Data Explorer (same schema is preselected)
Toolbar
- Schema filter — show tables from specific schemas only
- Views toggle — include or hide views and materialized views
- FK labels — show/hide constraint names on the edges
- Direction — switch the layout between left-to-right (LR) and top-to-bottom (TB)
- Refresh — reload the schema data
Canvas controls
- Zoom and pan with the mouse or scroll wheel
- MiniMap in the corner for quick navigation
- Controls in the bottom right for zoom in/out and fit-to-view
- The fit-to-view is applied automatically every time the diagram is rebuilt