Couple days ago, I was browsing the recently launched web 2.0 sites. And I came across with a very nice site that could help drawing UML Diagrams or Use Case Diagrams.
The site is yuml.me. It doesn’t have any content in the site. However they’re giving Google Chart API sort of service. I’m not going to explain too much. I’ll briefly explain how it works:
Basically, you’re using certain syntax in the URL when you’re calling the service. Every UML relation is covered under certain syntax. Aggregation, Composition, Inheritance, and so on.. For more details about usage, please visit use-case usages or class usages.
Examples
Okay, let me cover couple example usages :)
Let’s say that you want to draw a use-case diagram for a customer who has Login and Logout functions in the system:
<img src="http://yuml.me/diagram/scruffy/usecase/[Customer]-(Login), [Customer]-(Logout) " />
This will produce below picture for you :)
Let’s say that you want to show class inheritance for Shape, Circle and Rectange:
<img src="http://yuml.me/diagram/scruffy/usecase/(Shape)<(Circle), (Shape)<(Rectangle) " />
This will produce below picture for you :)
Isn’t that nice :) Personally, I find it very useful! Especially if you’re posting a blog entry!










It is a very nice idea and work! I like converting syntax to diagram. :)
July 14, 2009, 12:49 PM