Thursday, March 25, 2010

Generating class, activity and use case diagrams on the fly

Sometimes you need to create UML diagrams quickly to show your ideas on your web page. To do it, you need to use a tool to create the diagram, then capture or export it, save as an image then upload somewhere before add it to the page. It's waste of time.

Now with yUML, you only need to write some text, YES - ONLY SOME TEXT, to generate UML diagrams on the fly without any special tools.

Example:

This text

[Customer]+1->*[Order]
[Order]++1-items >*[LineItem]
[Order]-0..1>[PaymentMethod]

will generate this class diagram


Currently, yUML supports class, activity and use case diagrams.

Activity diagram


Use case diagram

No comments: