Thread overview
dependency graph
Jul 05, 2014
Vlad Levenfeld
Jul 06, 2014
Philippe Sigaud
Jul 06, 2014
Rene Zwanenburg
Jul 07, 2014
Vlad Levenfeld
July 05, 2014
A colleague of mine had asked me if I could produce some kind of object/module dependency type of graph for a D project I've got. I'm not sure what these are called but I've seen them before for inheritance hierarchies in C++ projects. (I don't tend to use inheritance so I suspect something exactly like this would not be terribly helpful in my case but some kind of general layout of symbol dependencies would be).

Is there any utility out there for building a visual representation of my project?
July 06, 2014
If you compile your project with the -deps flag, the compiler will output import dependencies. With -deps=filename, the output will go into filename.

>From there, you'll have to parse and create the graph, though. Maybe
have a look into rdmd source, to see how the dependency extraction is done there?
July 06, 2014
On Saturday, 5 July 2014 at 15:33:51 UTC, Vlad Levenfeld wrote:
> A colleague of mine had asked me if I could produce some kind of object/module dependency type of graph for a D project I've got. I'm not sure what these are called but I've seen them before for inheritance hierarchies in C++ projects. (I don't tend to use inheritance so I suspect something exactly like this would not be terribly helpful in my case but some kind of general layout of symbol dependencies would be).
>
> Is there any utility out there for building a visual representation of my project?

This may be what you're looking for:

http://code.dlang.org/packages/duml
July 07, 2014
Thanks! Between the -deps flag and duml I think this is exactly what I need.