3

I'd like to hide some of the row assemblies in my dependency matrix so that I can spot quickly the dependencies between assemblies of my project and a subset of 3rd party assemblies.

Patrick from NDepend team
  • 13,237
  • 6
  • 61
  • 92
sthiers
  • 3,489
  • 5
  • 34
  • 47

1 Answers1

3

There are two possible actions:

  • First you write a code query over LINQ (CQLinq) to select assemblies you wish to see in the matrix
  • Second you export the list to the matrix headers (horizontal and vertical)

Export code query result to matrix

You can also hold Ctrl or Tab key + mouse click to select a sub-set of code element sin a matrix header, the same way you'd do with selecting files in Windows Explorer.

Matrix and Ctrl or Tab keys

These filtering actions can also be done if matrix headers are populated with namespaces, types, methods or fields.

Patrick from NDepend team
  • 13,237
  • 6
  • 61
  • 92
  • 1
    Thanks Patrick, these mouse filtering actions are both very helpful and difficult to find (at least for me)! – sthiers Dec 21 '11 at 14:53
  • 1
    Indeed, do you have suggestion to make this featurette more discoverable? – Patrick from NDepend team Dec 21 '11 at 17:57
  • 1
    Finally, I find the feature good :). I think I was disturbed by the great number of colors used: white+purple for unselected rows, light+dark pink and orange when mouse hangs over, blue when clicking, light + dark yellow for application assemblies. So 9 colors with different uses. My suggestion would be: try to avoid the use of colors only for emphasizing rows; use discrete borders instead. Hope it helps. BTW, NDepend is great. – sthiers Dec 23 '11 at 10:16