Frage

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?

War es hilfreich?

Lösung

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:

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top