IntelliJ IDEA 2017.2 Help

Class Diagram Toolbar, Context Menu and Legend

In this section:

Toolbar

ItemDescription
/help/img/idea/2017.2/method.pngClick this button to show methods in the class nodes.
/help/img/idea/2017.2/field.png Click this button to show fields in the class nodes.
/help/img/idea/2017.2/constructor.pngClick this button to show constructors in the class nodes.
/help/img/idea/2017.2/property.pngClick this button to show properties in the class nodes.
/help/img/idea/2017.2/innerClass.pngClick this button to show inner classes in the class nodes.
/help/img/idea/2017.2/filterVisibilityLevel.pngClick this button to reveal the combo box, and select visibility level of the elements to be displayed in diagram.
/help/img/idea/2017.2/filter_arrow_down.pngClick this button to reveal the combo box, and select the desired scope of elements to be displayed in diagram, for example, project or non-project files. The elements out of the selected scope will be hidden.
/help/img/idea/2017.2/edgemode.pngClick this button to enable creating extends or implements links between node elements. If this button is not pressed, links cannot be drawn.
/help/img/idea/2017.2/showDependencies.pngClick this button to show dependencies of the selected class or package.
/help/img/idea/2017.2/erDiagramIconZoomIn.pngClick this button to increase the scale of the diagram, or press NumPad+.
/help/img/idea/2017.2/erDiagramIconZoomOut.pngClick this button to decrease the scale of the diagram, or press NumPad-.
/help/img/idea/2017.2/erDiagramIconActualSize.pngClick this button to restore the actual size of the diagram.
/help/img/idea/2017.2/erDiagramIconFitContent.pngClick this button to make the contents fit into the current diagram size.
/help/img/idea/2017.2/erDiagramIconApplyLayout.pngClick this button to apply the current layout, selected on the context menu of the diagram, or press F5.
/help/img/idea/2017.2/io.pngClick this button to save the current diagram as a *.uml file.
/help/img/idea/2017.2/exportToTextFile.pngClick this button to save the diagram in an image file with the specified name and path. The possible formats are: jpeg, png, svg, svgz, or gif.
/help/img/idea/2017.2/icon_print.pngClick this button to print the diagram.
/help/img/idea/2017.2/printPreview.pngClick this button to open the diagram preview in a separate frame, where you can configure the page layout, scale, and headings information.

This section describes only those context menu commands that are not available from the toolbar.

ItemShortcutDescription
Add class to diagram Space Choose this command to add existing class to the diagram background.
Collapse nodes C Choose this command to show the containing package of the selected node.
Expand nodes E Choose this command to show class diagram of the selected package.
New Alt+Insert Choose this command to create a new node element or member.
RefactorPoint to this node to select one of the refactoring commands available in this context.
AnalyzePoint to this node to select one of the code analysis commands available in this context.

Legend of a Class Diagram

ItemDescription
/help/img/idea/2017.2/implements.png
The green arrow corresponds to the implements clause in a class declaration.
/help/img/idea/2017.2/extends.png
The blue arrow corresponds to the extends clause in a class declaration.
/help/img/idea/2017.2/inner_class.png
This sign appears for the inner classes.
Last modified: 11 October 2017

See Also