IntelliJ IDEA 12.1.0 Web Help

Some features described here are available in Ultimate edition only.

File | Settings | IDE Settings | Diagrams

settings

IntelliJ IDEA | Preferences | IDE Settings | Diagrams

settings

Use this page to configure the default visibility settings and layout that apply to the newly created diagrams.

On this page:

Diagrams

On this 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 below 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 ColumnsIf this check box is selected, the PK columns will be shown in the table node elements. In diagram, use the showPK toolbar button.
ColumnsIf this check box is selected, the columns will be shown in the table node elements. In diagram, use the showColumn toolbar button.
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.

Note

More nodes appear in this pane depending on the installed and enabled plugins.

Common options

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:

Reference:

Web Resources: