This feature is supported in Ultimate edition only.
The following is only valid when Ruby Plugin is installed and enabled!
Model dependency diagram enables you to get an overview of the models within your application, and analyze their relationships.
- Do one of the following:
- On the context menu of the Project tool window, or the editor, point to , and choose or .
- Press ⌥⇧⌘U or ⌥⇧⌘U⌥⇧⌘U or ⌥⇧⌘U⌥⇧⌘U or ⌥⇧⌘U^ ⇧ ⌥ U, ⌃⌥⇧U or ⌃⌥⇧U^ ⇧ ⌥ U, ⌃⌥⇧U or ⌃⌥⇧U, or ⌥⌘U or ⌥⌘U⌥⌘U or ⌥⌘U⌥⌘U or ⌥⌘U^ ⌥ U, ⌃⌥U or ⌃⌥U^ ⌥ U, ⌃⌥U or ⌃⌥U.
- Select the type of diagram from the pop-up window:
If you invoke Model Dependency diagram for a specific model, the diagram will open with the model in question centered and having the focus, and zoomed to actual size.
- Select elements.
- Add notes, delete elements.
- Change diagram layout.
- Change diagram scale.
- Navigate to source code.
- Navigate through the models using the Structure view (⌘F12 or ⌘F12⌘F12 or ⌘F12⌘O or ⌘O^ F12, ⌃F12 or ⌃F12^ F12, ⌃F12 or ⌃F12).
- Find usages of the selected node element.
- Invoke refactoring commands.
Keeping the ⌥ key pressed invokes the magnifier tool,
which will help you have a closer look at the most interesting or problematic areas of your Model dependency diagram.