JetBrains Rider 2020.3 Help

Explore Project Dependency Diagram

With JetBrains Rider, you can explore project dependencies in your solution having a visual presentation of the solution architecture.

The Architecture View opens in a new editor tab and allows visually exploring project dependencies and comparing the current state of the solution to snapshots taken earlier.

JetBrains Rider: project dependency diagram

Open project dependency diagram

  1. Choose Tools | Architecture | Show Project Diagram from the main menu or right-click anywhere in the Solution Explorer and choose Tools | Show Project Diagram.

  2. The project dependency diagram follows your solution structure, and starts by showing all top-level items in your solution.

Show and hide items

You can show or hide specific solution items (projects, folders, solution folders) in the diagram using check-boxes for the corresponding items in the Project Diagram window that opens automatically together with the diagram view.

Pan and zoom the diagram

To pan and zoom the diagram, use the corresponding toolbar controls. Alternatively, you can pan the diagram using your touchpad, scroll bars or the mouse wheel for vertical scrolling and Shift + mouse wheel for horizontal scrolling. You can also use Ctrl + mouse wheel for zooming.

Rearrange items on the diagram

The diagram layout is calculated automatically, but you can change it if necessary: all items can be moved. To move an item, first click it to select, and then click and drag it while the cross cursor cursor cross png is shown.

You can click Apply Current Layout to return to the automatically calculated layout.

Analyze project references

To learn more about the usages of types from one project in another, enable the coupling analysis and when it is over, click the corresponding link between the projects. JetBrains Rider will show the usages in the Find window.

Export the diagram to a file

At any point of exploring dependencies, you can use the following toolbar buttons to export the diagram to a file:

  • Export to Imageicons.toolbarDecorator.export.png to export the current view of the diagram to a PNG image.

Compare saved snapshots to the current solution state

At any time you can save a snapshot of the current state of your solution to a file and use it for future references. To do so, click Save Diagram to Fileicons.actions.menu-saveall.png on the toolbar and then choose where to save the snapshot file.

You can load and study saved snapshots later by choosing Tools | Architecture | Compare with Saved in the main menu and selecting a diagram snapshot file .argr.
The snapshot will open in a new editor tab and you will be able to see differences between the current state of the solution and the state saved in the snapshot.

Last modified: 30 November 2020