Class Hierarchy Graphs

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 26 13:35:56 PDT 2015


On 3/26/15 10:41 AM, 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.

That would definitely be of interest. Also, if some of that can be 
reused to show inter-module dependencies that would be even better. 
Thanks! -- Andrei


More information about the Digitalmars-d mailing list