Class Hierarchy Graphs
Vlad Levenfeld via Digitalmars-d
digitalmars-d at puremagic.com
Thu Mar 26 10:43:45 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.
+1
How much of a stretch would it be to extend the dependency graph
to compositional types?
struct Foo {
mixin Bar!(a,b,c);
}
alias Qux = Baz!Foo;
and so on?
More information about the Digitalmars-d
mailing list