Class Hierarchy Graphs

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 26 10:42:59 PDT 2015


On Thursday, 26 March 2015 at 17:41:58 UTC, w0rp wrote:
> Hello everyone. I was talking in the IRC channel today and I 
> mentioned something small I wrote a couple of years ago which 
> generates a Graphviz DOT file based on ModuleInfo, so you can 
> see a visual class hierarchy with interfaces included. There 
> was some interest in this in the channel at the time.
>
> The code doesn't do much more than that at the moment, it could 
> offer a few more options including outputing the hierarchy in 
> other formats, and the graph it generates could perhaps look 
> better. I'm just wondering if anyone here is interested in 
> having a tool like this.
>
> If enough people are interested and have a few suggestions for 
> some features they like which aren't crazy massive feature 
> lists, I'd be willing to expand it a bit, add some 
> documentation, and offer it as a DUB package.

I forgot to link the GitHub repository. Here it is.

https://github.com/w0rp/dhier


More information about the Digitalmars-d mailing list