The collaboration perspective lets you understand how any part of your code collaborates with items in the rest of the code-base.
The Collaborations viewer at the top of the perspective comprises 2 complete trees of your project. Selecting items on one side causes unconnected items on the other side to be grayed out.
For example to find out what a specific component uses, drill down and select it in the left tree. Drill down on any non-grey items in the right tree to understand the relationships in more detail.
Selecting an item in either tree causes the Dependency breakout to be populated with all the dependencies from or to the selected item (depending on which side it is selected in). Selecting items in both trees will populate the dependency breakout with all dependencies between those 2 items.
If you have navigated down to an item in the right ("to") tree, and wish to find out what it uses, you do not have to find and select it in the left tree. Simply select it in the right tree and click the "paddle right" button . The right tree slides over to the left and the right tree shows you what the selected item uses.
The "paddle left" button likewise lets you discover what an item in the left tree is used by. You can "chase" dependencies forward or back by paddling, and the selected items are remembered so that you can retrace your steps.
Finally, you can reverse the selected items to discover the dependencies in the other direction by clicking the "flip" button .
Note:
- To deselect an item, <Ctrl> click on it.
Tip:
- To quickly see how your code is dependent on a 3rd-party library, select the "Show externals" option in the project properties dialog. Any items referenced by your project will appear in Structure101 Studio with an external adornment (). Selecting these in the right-hand-side of the Collaboration perspective will show you where such libraries are used.