RubyMine 7.0.1 Web Help

File | Settings | Tools | Diagrams


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.

Item Description
Show Difference
Details If 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.
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.

Ruby Class Diagram
Class Elements Select the check boxes below to show members within the node elements.

umlShowMembers.png

In diagram, use toolbar buttons instance_variable, method.png, constant

Rails Model Dependency Diagram
Element Select the check boxes below to show members within the node elements.

In diagram, use toolbar buttons show-association-fields for association fields, show-migration-fields for migration fields, show-system-fields for system DB fields, and instance_variable for the own fields.

Note

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

Controls

Item Description
Default layout Select the desired layout from the drop-down list. Node elements in newly created diagrams will be arranged according to the selected layout.
Default scope Select 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 layout If 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 added If this check box is selected, diagram layout will be performed automatically after adding new elements.
Enable colors If this check box is selected, relationship links will be shown colored.

See Also

Language and Framework-Specific Guidelines:

Reference:

Web Resources: