Data Views: Persistence Mode
Create Data Views in persistence mode to visualise entity-relationship schemas with database-profile-aware type resolution. Inspect entities via the Entity Overlay with ERD-style columns showing key roles, types, constraints, and foreign key references.
A persistence mode Data View is a force-directed graph projection of model entities, designed for database architects and developers. Entities appear as interactive nodes on a graph canvas. Click any node to open the Entity Overlay, which displays the full property table with ERD-style columns - key roles, field names, concrete database types, constraints, and foreign key references - all resolved through the selected database profile.
How Persistence Views Connect to the Model
A Data View file references the model via its modelFilePath field and selects a database profile via databaseProfileId. On load, the view host reads the model through the ModelViewService, resolves entities for the included set, and renders them as nodes on the force-directed graph canvas.
Entity Overlay Columns
When you click a node (or press Alt+Enter), the Entity Overlay opens with a property table showing these columns.
Relationship Pills
The Entity Overlay shows relationship context alongside the property table.
Database Profile Selection
The top bar contains a profile selector listing all database profiles registered in the project. Switching profiles triggers a full re-resolution of types and names across all entities. 13 vendor templates are available, or create a custom profile for any other database.
Connections and Relationships
Edges between nodes on the graph canvas are inferred from relationships in the model. When both the source and target entities of a model edge are included in the view, an edge is drawn between their nodes with cardinality labels. Edges are not manually created - they follow the model's relationship definitions.
Side-by-Side Comparison
Pin an Entity Overlay to dock it below the canvas. Then click another node to open a second overlay. This lets you compare two entities' schemas side by side. When the docked overlays share a foreign key relationship, connecting lines are drawn between the relevant FK and PK rows, making it easy to trace joins across entities.
Entity Picker
The entity picker controls which model entities appear in the view.