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: