ReSharper Help

Architecture View

ReSharper | Architecture | Show Project Dependency Diagram

The Architecture view allows exploring project dependency diagram and comparing previously taken dependency snapshots to the current state of the solution.

The view consists of solution items, diagram area, and the toolbar.

Architecture View window

Solution items

Solution items shown in the left include all projects of the solution as well as grouping items. Depending on the Group by selector, the projects are shown as a plain list if there is no grouping or have the hierarchy according to the grouping option. Check boxes next to each item define whether to display the item in the diagram.

Diagram area

The diagram area displays all projects with selected check boxes. If any grouping is enabled, the grouping items are shown as well. You can change layout, expand and collapse grouping nodes, and perform other actions with the diagram. For more information, see Exploring Project Dependency Diagram.

Toolbar controls

Group by Use this drop-down list to select criteria for grouping to-do items. Several options are provided:
  • None - all projects are displayed without grouping.
  • Solution Folders - projects are grouped by solution folders.
  • File Structure - projects and solution folders are grouped by the file system structure.
icon_undo Undo Reverses changes made in the diagram (shown/hidden projects) step by step.
icon_redo Redo Reverses the last Undo operation.
Toolbar__HideCodeMetrics Turn Coupling Analysis On/Off This toggle button allows enable or disable the coupling analysis, which is performed in the background. By default, this button is on and the analysis is started as soon as you open a new diagram. The coupling analysis is a resource-intensive process and may affect performance on large solutions. If you experience any lags when working with the diagram, you can use this button to disable the coupling analysis, adjust the diagram as needed, and then enable the analysis again. The analysis algorithm first calculates the coupling of the displayed projects and then processes projects hidden from the view.
Toolbar__ShowTransitiveRef Hide/Show Transitive References This toggle button allows you to show the transitive references between projects, which are hidden by default to simplify the diagram without losing its architectural structure. For instance, if you have project references A > B > C and A > C, using this button hides the A > C reference.
Toolbar__SaveGraph Save Architecture Graph Saves the dependency snapshot to a file. For more information, see Exploring Project Dependency Diagram.
Toolbar__ShowDiff Show Diff This button is only enabled when the snapshot displayed in the view differs from the current solution. When this button is off, you see the current state of the solution; when it is on, you see the state recorded in the snapshot plus the differences between the snapshot and the current solution state. The differences are highlighted as follows: the items (projects and references) that exist in the snapshot but are missing in the solution are highlighted in red, the items that exist in the solution but are missing in the snapshot are highlighted in dark green.
Toolbar__CollapseGraph Collapse Graph Collapses all elements in the diagram.
Toolbar__ExpandGraph Expand Graph Expands all elements in the diagram.
arch_possible Show possible paths When the button is on, you can see whether two specific projects have a path between them consisting of other referenced projects that are currently hidden from the view. These paths are shown in green dotted lines. The button is only enabled if there are hidden intermediary projects that would link any two of the currently displayed projects. For more information, see Detecting possible architecture problems.
toolbar__export Export to PNG Saves the visible part of the dependency diagram to a .PNG file.

See Also

Last modified: 21 September 2015