www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Duml: Uml diagram generation

reply Rikki Cattermole <alphaglosined gmail.com> writes:
Alright so a little project I've put together[0].
Not entirely complete yet. But I feel its at a point where it can be 
announced.

What it does is given a class it'll generate the PlantUML[1] descriptors 
for it. If asked it can call PlantUML itself to generate the image 
version of it.

My plan is to integrate it into Cmsed at some point when it supports 
structs (dvorm models). At which point it'll document properly routes, 
models and any you manually specify.

Object class can be ignored by adding a version if you want it to be.

[0] https://github.com/rikkimax/Duml
[1] http://plantuml.sourceforge.net/
May 16 2014
next sibling parent reply "w0rp" <devw0rp gmail.com> writes:
On Saturday, 17 May 2014 at 06:35:02 UTC, Rikki Cattermole wrote:
 Alright so a little project I've put together[0].
 Not entirely complete yet. But I feel its at a point where it 
 can be announced.

 What it does is given a class it'll generate the PlantUML[1] 
 descriptors for it. If asked it can call PlantUML itself to 
 generate the image version of it.

 My plan is to integrate it into Cmsed at some point when it 
 supports structs (dvorm models). At which point it'll document 
 properly routes, models and any you manually specify.

 Object class can be ignored by adding a version if you want it 
 to be.

 [0] https://github.com/rikkimax/Duml
 [1] http://plantuml.sourceforge.net/
That's pretty cool. I think I would change outputPlantUML so it works in terms of something which outputs to an OutputRange or File. So you can dump the UML directly to the file.
May 17 2014
parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 17/05/2014 8:53 p.m., w0rp wrote:
 That's pretty cool. I think I would change outputPlantUML so it works in
 terms of something which outputs to an OutputRange or File. So you can
 dump the UML directly to the file.
I've added that as a TODO.
May 17 2014
prev sibling parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 17/05/2014 6:34 p.m., Rikki Cattermole wrote:
 Alright so a little project I've put together[0].
 Not entirely complete yet. But I feel its at a point where it can be
 announced.

 What it does is given a class it'll generate the PlantUML[1] descriptors
 for it. If asked it can call PlantUML itself to generate the image
 version of it.

 My plan is to integrate it into Cmsed at some point when it supports
 structs (dvorm models). At which point it'll document properly routes,
 models and any you manually specify.

 Object class can be ignored by adding a version if you want it to be.

 [0] https://github.com/rikkimax/Duml
 [1] http://plantuml.sourceforge.net/
Just pushed another version. Wouldn't normally mention this except for the fact that I've got it hooked up and exported out a uml diagram[0] of object module from drumtime. Its nearly 6000 pixels wide, so a bit big ;) [0] https://github.com/rikkimax/Duml/wiki/images/output_v0.2.0_object.png
May 20 2014