DataGrip 2017.3 Help

Diagrams

File | Settings | Tools | Diagrams for Windows and Linux
DataGrip | Preferences | Tools | Diagrams for macOS
Ctrl+Alt+S settings


Use this page to configure the default visibility settings and layout for diagrams.

Content pane

Select the checkboxes next to the elements to be shown on diagrams.

ItemDescription
Key columns For the primary key columns to be shown when a diagram opens, select this checkbox.

When viewing a diagram in the editor, use showPK on the toolbar to show or hide the corresponding columns.

Columns For the columns other than the primary key columns to be shown when a diagram opens, select this checkbox.

When viewing a diagram in the editor, use showColumn on the toolbar to show or hide the corresponding columns.

Controls

ItemDescription
Default layoutSelect the desired layout from the drop-down list. Node elements in newly created diagrams will be arranged according to the selected layout.
Default scopeSelect scope from the drop-down list. Specifying a scope helps you avoid showing in diagram the unnecessary hierarchies. You can define scopes for your project in the Scopes page of the Settings dialog.
Fit content after layoutIf this checkbox is selected, then after applying a layout selected on the diagram context menu, all diagram elements will be resized to fit into the current diagram area. In diagram, use the erDiagramIconFitContent.png toolbar button.
Do relayout when new elements were addedIf this checkbox is selected, diagram layout will be performed automatically after adding new elements.
Enable colorsIf this checkbox is selected, relationship links will be shown colored.
Last modified: 4 April 2018