I didn't like the few things I found in the net so I did a Ruby program to traverse csproj files and generate a Graphviz graph with the desired results, something like this:

So as I thought this could be useful to a lot of people I decided to make it open source so I created this Rubyforge project to host it.
I made some changes to make it generic so that it could be used for any kind of text files that have parseable dependencies hidden inside.
There are 2 examples stored in a yaml configuration file that deal with C# projects and Ruby requires statements.
So for example, if you want to graph your C# projects you do this from the root directory:
depgraph -type csprojAnd if you want to graph the requires dependencies of your Ruby files you do this:
depgraph -type ruby_requiresThen if you add a new entry in the yaml configuration file you'll be able to do this:
depgraph -type [new entry name]You can also filter by directories and node name regular expressions against source and dependency targets. I'll add more functionality in next releases but it's already usable.
To install it:
gem install DepGraphAs always, check the project's webpage and the specs for more info.




