Question

Is there a way to draw the inheritance tree diagram with NDepend? (I can only find the Dependency diagrams which are not good for me).

If not, does anyone know of a tool that can do so?

Was it helpful?

Solution

Yes, it is possible to generate Class Inheritance Graph with NDepend. It is explained in the documentation here.

Notice the proposed pattern:

  • First query code elements you want to see in a dependency graph
  • Second export the code elements matched in the query result, to the graph

That can be also applied to other kind of Graph:

Code query result can also be exported to the NDepend dependency matrix, that is more suited to see other kind of code structure patterns:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top