Exploring Assembly Dependency Diagram
dotPeek helps you visually explore dependencies between compiled assemblies. You can create a diagram from any number of assemblies and explore how these assemblies reference each other.
In this topic:
Creating initial diagram
Select one or more assemblies in the Assembly Explorer Window, right click the selection and choose Show Assembly Dependency Diagram in the context menu or alternatively, select in the main menu . The diagram will include all selected assemblies as well as all assemblies referenced from them. References between assemblies are represented with arrows.
Showing and hiding items
There are several ways to show/hide items on the diagram:
- To show some assemblies in the diagram and hide others, Ctrl-click assemblies you want to select, then right-click the selection and choose Show only selected items.
- To display the dependent or referenced assemblies for some assemblies, select one or more assemblies using Ctrl-click, then right-click the selection and choose Show Only This/These and Dependent/Referenced Items. Note that these commands only hide the irrelevant items and do not add any referenced/dependent assemblies, which are currently hidden.
- To reverse changes made in the diagram (shown/hidden assemblies) step by step, click Undo or press Ctrl+Z. To reverse the Undo commands, click Redo or press Ctrl+Y.
Panning and zooming diagram
To pan and zoom the diagram, use the controls in the upper left corner of the diagram area. Alternatively, you can pan the diagram using scroll bars or click anywhere in the diagram area outside the diagram items and drag while the hand cursor is shown. For zooming, you can also use the mouse wheel.
The diagram layout is calculated automatically, but you can change it if necessary: all items can be moved. To move an item, first click on it to select, and then click and drag it while the cross cursor is shown.