yUML as a service

With the online service http://yuml.me one can draw some UML Diagrams. Wouldn't it be great to build that into Drupal? Checkout the new yUML module.

Use Case

To create a Use Case just type

<pre>
<img src="http://yuml.me/diagram/plain;dir:LR;scale:60;/usecase/[user_1]^[User],[Customer]^[User],[Site builder]^[User],[User]-(Add Article),(Add Article)&gt;(Add Body text),(Add Article)&gt;(Add Image),[User]-(Delete Article)" />
</pre>
then get this beautiful diagram.
<img src="http://yuml.me/diagram/plain;dir:LR;scale:60;/usecase/[user_1]^[User],[Customer]^[User],[Site builder]^[User],[User]-(Add Article),(Add Article)>(Add Body text),(Add Article)>(Add Image),[User]-(Delete Article)" />

Activity Diagram

<pre>
<img src="http://yuml.me/diagram/plain;dir:RL;scale:60;/activity/(start)-&gt;(Login)-&gt;(Create Article)-&gt;(Logout)-&gt;(end)" />
</pre>
<img src="http://yuml.me/diagram/plain;dir:RL;scale:60;/activity/(start)->(Login)->(Create Article)->(Logout)->(end)" />

Class Diagram

You can create just a diagram with class names or add methods and properties. The example does the latter. Note the debug settings which could help debug errors regarding the rendering by http://yuml.me.

<pre>
<img src="http://yuml.me/diagram/plain;dir:LR;scale:100;/class/[User|+Forename;+Surname;+HashedPassword;-Salt|+Login();+Logout()]" />
</pre>
<img src="http://yuml.me/diagram/plain;dir:LR;scale:100;/class/[User|+Forename;+Surname;+HashedPassword;-Salt|+Login();+Logout()]" />

Conclusion

The service helps you talk about Drupal easier and could help documenting your site building and coding efforts and could help explain to the customer what you did.

Future plans are joining both Graph API and yUML to provide more site visualizations.