UML generator

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

UML generator

Post 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
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: UML generator

Post by josh »

Generally I create the diagrams, and then write code after that :wink:
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: UML generator

Post 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...
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: UML generator

Post by josh »

Definitely, I know I'm not answering your question ;-) but I'm just sayin
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: UML generator

Post 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.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: UML generator

Post 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". :)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: UML generator

Post by josh »

Context is in the mind of the receiver :wink:
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: UML generator

Post 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:
Post Reply