Skip to content

ER diagrams

OraclePostgreSQLMySQL

Custom ER diagrams are first-class Git-managed design artifacts, not just exported images. Save table/view layouts and diagram relationships, record revisions as the design evolves, and retain earlier versions beside your stored source. Diagram edits remain separate from applying database constraints.

AI assistance is available for this feature. See the AI assistant guide for details.

Explore relationships and version custom diagrams.
Fictional demo data in the English interface. Existing Oracle/PostgreSQL captures illustrate the shared UI; see the MySQL section for its controls and limits. Available operations also depend on permissions.

Your database design deserves a history, too.

Section titled “Your database design deserves a history, too.”

Keep custom ER diagrams in Git, not just a folder of final images. Record snapshots as tables and relationships evolve, retain earlier designs, and keep diagram history in the same development workflow as your stored source.

  1. Open an ER diagram or create a custom one. Use Add table to search tables and views in pages of 100.
  2. Arrange objects, inspect keys and columns, and add supported diagram relationships. Check schema names when objects share a name.
  3. Save the diagram and record a reviewed revision in Git when needed. Reopen it to continue from the saved layout.

Builds a diagram from existing foreign-key metadata. Display options affect the diagram, not the database.

Action / setting How to use Effect
Schema Select a schema for the diagram Loads table candidates and relationship metadata for the selected schema.
Table (All) Select a table or All Targets a selected table or the complete schema when drawing.
Draw ER diagram Click Draw with the current selection Retrieves metadata and redraws the diagram without modifying database definitions.
Show comments Toggle the checkbox Shows or hides comments for tables and columns.
Show logical names Toggle when comments are enabled Toggles use of available comments as the primary displayed names.
Show data types Toggle the checkbox Shows or hides column data types in the diagram.
Export PNG Click the image-export icon Exports the currently displayed diagram to a PNG image.

Edits locally saved diagrams with layout and virtual relationships. The schema controls the diagram scope.

Action / setting How to use Effect
Create new ER diagram Choose Create new ER diagram Starts a new editable custom diagram.
Open / delete saved diagram Select an entry or its delete icon Opens the saved diagram or requests deletion of that saved diagram.
Diagram name Enter a name Identifies the saved custom diagram.
Schema Choose the target schema Changes the scope of tables and views available for addition.
Add tables/views Search and choose objects in the add dialog Adds nodes to the diagram; it does not create database objects.
Comments / logical names / types Toggle the display options Changes how names, comments, and types appear in the diagram.
Move nodes Drag objects on the canvas Updates node positions; changes remain unsaved until saved.
Undo / Redo Use the Undo or Redo button Reverses or reapplies custom-diagram edits.

Relationship lines are diagram metadata, not actual database foreign-key constraints.

Action / setting How to use Effect
Add relation Choose Add relation Opens the dialog for parent/child objects and cardinality.
Parent / child object Choose endpoints Changes the endpoints of the diagram relation.
Cardinality Select 1, 0..1, 1..N, 0..N, or MANY Changes symbols at relationship endpoints; no database constraint is applied.
Save relation Click Save in the dialog Applies virtual-relation edits to the diagram.
Edit / remove relation Use the relationship context menu Edits or removes the selected virtual relation from the diagram.

Custom ER diagram: save, sync, and history

Section titled “Custom ER diagram: save, sync, and history”

Saving and Git actions affect diagram files and history, not database foreign keys or object definitions.

Action / setting How to use Effect
Save / Git Commit Choose the action according to Git availability Saves a local diagram or proceeds to a Git commit when a local repository is available.
Commit message Enter text in the Git dialog Adds an optional description to identify the saved revision.
Sync with database Review proposed changes and apply Reviews database-object changes before applying them to the diagram.
Compare history Open comparison and select a revision Shows earlier and current diagrams side by side with change indicators.
Restore selected version Choose Restore in comparison mode Restores a prior diagram revision, not database definitions.
Export PNG / close Choose export or close Exports the diagram image or closes the custom editor.

All screen guides · Read the manual