IntelliJ IDEA 2020.3 Help

Diagrams

In the Diagrams menu, you can configure the default visibility settings and layout for diagrams.

For more information about creating diagrams, see Create diagrams.

Content pane

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

ItemDescription
Show Difference
DetailsIf this checkbox is selected, all the specified details of the elements will be shown in the UML class diagram for a revision. If this checkbox is not selected, only node elements will be included in the diagram.
Java Class Diagrams
Class Elements

Select the checkboxes to show members (fields, constructors, methods, properties and inner classes) within the node elements:

umlShowMembers.png

On the diagram, use toolbar buttons Node fields, Methods, Constructors, Properties, and Inner classes .

DependenciesSelect the checkboxes below to show dependency links in diagram.
DB Diagrams
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 the Key Columns button 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 the Columns button on the toolbar to show or hide the corresponding columns.

Graphical Explain Plan
Attributes

Toggles the display of query attributes on a query map. These attributes can be a number of rows, index names, or any other additional information about the query.

Enabled and disabled attributes on a query plan

Project Modules
LibrariesIf this checkbox is selected, libraries will be shown in UML diagrams for modules.
JPA ER Diagram
Properties

If this checkbox is selected, properties of entity classes are shown when a JPA ER diagram opens.

When viewing a diagram in the editor, you can show or hide these properties by using Properties on the toolbar.

Embeddables

If this checkbox is selected, embeddable objects are shown when a JPA ER diagram opens.

When viewing a diagram in the editor, you can show or hide the embeddables by using Embeddable on the toolbar.

Superclasses

If this checkbox is selected, superclasses of entity classes are shown when a JPA ER diagram opens.

When viewing a diagram in the editor, you can show or hide the superclasses by using Superclass on the toolbar.

EJB ER Diagram
Properties

If this checkbox is selected, properties of entity beans are shown when an EJB ER diagram opens.

When viewing a diagram in the editor, you can show or hide these properties by using Properties on the toolbar.

Embeddables

If this checkbox is selected, embeddable objects are shown when an EJB ER diagram opens.

When viewing a diagram in the editor, you can show or hide the embeddables by using Embeddables on the toolbar.

Superclasses

If this checkbox is selected, superclasses of entity beans are shown when an EJB ER diagram opens.

When viewing a diagram in the editor, you can show or hide the superclasses by using Superclasses on the toolbar.

BPMN 2.0 Diagram
DetailsFor element details to be shown when a BPMN diagram opens, select this checkbox.
CDI Dependencies Diagram
@Inject

If this checkbox is selected, injection points are shown when a CDI dependency diagram opens.

When viewing a diagram in the editor, you can show or hide the injection points by using @Inject on the toolbar.

@Produces

If this checkbox is selected, producer methods and fields are shown when a CDI dependency diagram opens.

When viewing a diagram in the editor, you can show or hide the producer methods and fields by using @Produces on the toolbar.

@Decorator

If this checkbox is selected, decorator bean classes are shown when a CDI dependency diagram opens.

When viewing a diagram in the editor, you can show or hide the decorators by using @Decorator on the toolbar.

Spring
Local contextIf this checkbox is selected, local context will be shown in diagrams. To enable showing local context in the Diagram tab in the editor, click Local Context.
PropertiesIf this checkbox is selected, property files will be shown in diagrams. To enable showing property files in the Diagram tab in the editor, click Properties.
Spring Integration
Show Labels If this checkbox is selected, labels will be shown in diagrams. To enable showing labels in the Diagram tab in the editor, click Show Labels.
Spring Web Flow
DetailsIf this checkbox is selected, details will be shown in diagrams.
EventsIf this checkbox is selected, events will be shown in diagrams.
Sub FlowsIf this checkbox is selected, Sub Flows will be shown in diagrams.

Controls

ItemDescription
Default layoutSelect the desired layout from the Default layout list. Node elements in newly created diagrams will be arranged according to the selected layout.
Default scopeSelect scope from the Default scope 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 Preferences 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 the Fit Content icon toolbar button.
Do relayout when new elements were addedIf this checkbox is selected, diagram layout will be performed automatically after adding new elements.
Last modified: 11 November 2020