PyCharm 2017.2 Help

Diagrams

File | Settings | Tools | Diagrams for Windows and Linux
PyCharm | Preferences | Tools | Diagrams for macOS
Ctrl+Alt+S
/help/img/idea/2017.2/settings.png


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

On this page:

Content pane

Select the check boxes next to the elements to be shown on diagrams.

ItemDescription
Show Difference
DetailsIf this check box is selected, all the specified details of the elements will be shown in the UML class diagram for a revision. If this check box is not selected, only node elements will be included in diagram.
DB Diagrams
Key columns For the primary key columns to be shown when a diagram opens, select this check box.

When viewing a diagram in the editor, use /help/img/idea/2017.2/showPK.png 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 check box.

When viewing a diagram in the editor, use /help/img/idea/2017.2/showColumn.png on the toolbar to show or hide the corresponding columns.

Python Class Diagram
Class ElementsSelect the check boxes below to show members within the node elements.

In diagram, use the toolbar buttons /help/img/idea/2017.2/method.png for methods, /help/img/idea/2017.2/field.png for fields, and /help/img/idea/2017.2/innerClass.png for the inner classes.

Django Model Dependency Diagram
ElementSelect the check boxes below to show members within the node elements.

In diagram, use the toolbar button /help/img/idea/2017.2/field.png for fields.

Google App Engine Model Dependency Diagram
FieldsSelect the check boxes below to show fields within the node elements.

In diagram, use toolbar button /help/img/idea/2017.2/field.png.

SQLAlchemy Model Dependency Diagram
FieldsSelect the check boxes below to show fields within the node elements.

In diagram, use toolbar button /help/img/idea/2017.2/field.png.

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 check box 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 check box is selected, diagram layout will be performed automatically after adding new elements.
Enable colorsIf this check box is selected, relationship links will be shown colored.
Last modified: 26 October 2017

See Also