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?

有帮助吗?

解决方案

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:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top