RubyMine 2018.2 Help

Class Diagram Toolbar, Context Menu and Legend

In this section:

Toolbar

ItemDescription
methodClick this button to show methods in the class nodes.
instance variable Click this button to show fields in the class nodes.
rubymine icons ruby nodes constantClick this button to show constants in the class nodes.
artwork icons zoomInClick this button to increase the scale of the diagram, or press NumPad+.
artwork icons zoomOutClick this button to decrease the scale of the diagram, or press NumPad-.
icons graph actualZoom svgClick this button to restore the actual size of the diagram.
icons graph fitContent svgClick this button to make the contents fit into the current diagram size.
icons graph layout svgClick this button to apply the current layout, selected on the context menu of the diagram, or press F5.
ioClick this button to save the current diagram as a *.uml file.
icons toolbarDecorator export svgClick 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.
icon printClick this button to print the diagram.
printPreviewClick 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
extends
The blue arrow corresponds to the class extension(<).
Last modified: 6 August 2018

See Also