IntelliJ IDEA 2016.1 Help

Diagrams

File | Settings | Tools | Diagrams for Windows and Linux
IntelliJ IDEA | Preferences | Tools | Diagrams for OS X
Ctrl+Alt+S
settings


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.
Java Class Diagrams
Class ElementsSelect the check boxes to show members (fields, constructors, methods, properties and inner classes) within the node elements:
umlShowMembers.png

In diagram, use toolbar buttons field.png, method.png, constructor.png, patch.png, and innerClass.png.

DependenciesSelect the check boxes 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 check box.

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 check box.

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

Project Modules
LibrariesIf this check box is selected, libraries will be shown in UML diagrams for modules.
ActionScript/Flex
Class ElementsSelect the check boxes below to show members (fields, constructors, methods, and properties) within the node elements. In diagram, use toolbar buttons field.png, method.png, constructor.png, and patch.png.
JPA ER Diagram
Properties If this check box 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 ER_ShowPropertiesIcon on the toolbar.

Embeddables If this check box 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 ER_ShowEmbeddablesIcon on the toolbar.

Superclasses If this check box 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 ER_ShowSuperclassesIcon on the toolbar.

EJB ER Diagram
PropertiesIf this check box 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 ER_ShowPropertiesIcon on the toolbar.

EmbeddablesIf this check box 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 ER_ShowEmbeddablesIcon on the toolbar.

SuperclassesIf this check box 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 ER_ShowSuperclassesIcon on the toolbar.

BPMN 2.0 Diagram
DetailsFor element details to be shown when a BPMN diagram opens, select this check box.
CDI Dependencies Diagram
@InjectIf this check box 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 JE_ShowInjectionPointsIcon on the toolbar.

@Produces If this check box 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 JE_ShowProducersIcon on the toolbar.

@Decorator If this check box 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 CDI_ShowDecoratorsIcon on the toolbar.

Spring
Local contextIf this check box is selected, local context will be shown in diagrams. To enable showing local context in the Diagram tab in the editor, click SpringDiagramLocalContext.
PropertiesIf this check box is selected, property files will be shown in diagrams. To enable showing property files in the Diagram tab in the editor, click SpringDiagramProperties.
Spring Integration
Show Labels If this check box is selected, labels will be shown in diagrams. To enable showing labels in the Diagram tab in the editor, click SpringIntegrationDiagramLabels.
Spring Web Flow
DetailsIf this check box is selected, deatils will be shown in diagrams.
EventsIf this check box is selected, events will be shown in diagrams.
Sub FlowsIf this check box is selected, Sub Flows will be shown in diagrams.

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.

See Also

Language and Framework-Specific Guidelines:

Last modified: 13 July 2016