News for hackers. Stuff that matters.
Re:Diagrammr - create diagrams by writing sentences by DenisM on Saturday December 12, 2009 @10:26PM (#992344)
Fascinating stuff. Although I can't come up with any uses right now, I'm sure it will come in handy. Are you using Graphviz?

This reminds of a time when I used a perl script to extract includes from my Objective-C app and then used Graphviz to visualize dependency graph in my app. I was going to make an XCode plugin out of it, but then gave up on the idea. Still, Graphviz rocks for this sort of stuff.

Re:Diagrammr - create diagrams by writing sentences by gvb on Sunday December 13, 2009 @08:01AM (#992707)
Doxygen http://www.stack.nl/~dimitri/doxygen/features.html supports Objective-C and many more languages. It generates lots of good information without its special tags, and even more with tags.

Doxygen can use Graphvis to generate dependency graphs. http://www.stack.nl/~dimitri/doxygen/diagrams.html You can also embed graphvis documentation (e.g. sequence diagrams) in the comments. Good stuff.

Re:Diagrammr - create diagrams by writing sentences by DenisM on Sunday December 13, 2009 @01:05PM (#992937)
Yes, I was planning to play with doxygen instead of the perl script next time I get a free few hours. :-)

What I would really like to achieve is replace the file list in XCode with a dependency graph so that I can start thinking in terms of components - "where do I add this code next? where does it belong in my dependency diagram?"