Page 1 of 1

UML generator

Posted: Fri Nov 28, 2008 1:34 am
by alex.barylski
I need a library or CLI that I can use to generate PNG UML diagrams...

Basically I'm building a custom documentation engine for my application (tired of struggling with phpDocumentor, etc) and while I have everything ready to go all the API informaiton parsed, etc...I now need to represent that information in as many ways as possible, such as UML diagrams, etc.

I have done some searching and apparently ArgoUML, etc accept XML files which are then rendered into UML display...this is neat but not exactly what I want...ideally I want somehting I can embed directly into my php documentation, such as PNG, etc.

I have asked on phpDocumentor forums if anyone is aware of anything...but incase there is something which can do this already...I'd love to hear about it. :)

Cheers,
Alex

Re: UML generator

Posted: Fri Nov 28, 2008 8:31 pm
by josh
Generally I create the diagrams, and then write code after that :wink:

Re: UML generator

Posted: Sat Nov 29, 2008 2:04 am
by alex.barylski
I like working in both directions... :D

Surely I figure out the API first before I write a single line...to the best of my abilities anyways...but there are always classes which could be simpified, etc...

Re: UML generator

Posted: Sat Nov 29, 2008 9:34 am
by josh
Definitely, I know I'm not answering your question ;-) but I'm just sayin

Re: UML generator

Posted: Sat Nov 29, 2008 9:55 am
by jayshields
You can reverse engineer UML diagrams out of existing code using IDEs like NetBeans and Eclipse. I'm not sure about Eclipse, but I've used NetBeans to reverse engineer Java classes before, I guess it'll work the same with PHP.

Re: UML generator

Posted: Sat Nov 29, 2008 10:41 pm
by alex.barylski
Definitely, I know I'm not answering your question but I'm just sayin
I don't know why but that makes a big difference...without tone of voice it's very difficult to distinguish between "being told" and "being said". :)

Re: UML generator

Posted: Sat Nov 29, 2008 11:54 pm
by josh
Context is in the mind of the receiver :wink:

Re: UML generator

Posted: Sun Nov 30, 2008 1:07 am
by alex.barylski
Beauty is in the eye of the beholder...so what? :P

What's in a name? that which we call a rose by any other name would smell as sweet.

Yet everyday I see functions, files, variables, etc named such atrocities as $tmp :crazy: :drunk: :banghead: :dubious: :P :lol: 8O :roll: :lol: