yUML Macro

Version 1.1 by Tobias Haar on 2026/01/16 14:31
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Draws UML diagrams using yUML.

Examples

Class Diagram

{{yuml}}
[Customer]+1->*[Order]
[Order]++1-items >*[LineItem]
[Order]-0..1>[PaymentMethod]
{{/yuml}}

Generates:

Activity Diagram

{{yuml type="activity"}}
(start)-><d1>logged in->(Show Dashboard)->|a|->(end)
<d1>not logged in->(Show Login)->|a|
{{/yuml}}

Generates:

Use Case Diagram

{{yuml type="usecase"}}
[User]-(Login)
[User]-(Logout)
(Login)<(Reminder)
(Login)>(Captcha)
{{/yuml}}

Generates:

Parameters

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Sandbox.yUMLMacro]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.