# yUML Macro

Last modified by Alexandru Colesnicov on 2019/07/12 18:51
Export
Office Formats
Export as PDF
Other Formats
Export as HTML

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

type
  The type of diagram to draw. Valid values are "class", "activity", "usecase". Default is "class".
style
  The style of diagram to draw. Valid values are "nofunky", "plain", "scruffy". Default is "plain"
scale
  The scale of diagram in percents of the default size. Implicit default value is 100.
dir
  The layout orientation of diagram to draw. Valid values are "LR" (Left to right), "RL" (Right to left), "TB" (Top down).

Tags:
Created by Alexandru Colesnicov on 2013/05/26 15:38

- Comments (0)
- Attachments (0)
- History
- Information

# Applications

# Tips

If you're a new XWiki user, check out the Getting Started Guide.

# Need help?

If you need help with XWiki you can contact:

- Community Support
- Professional Support

XWiki Debian 11.5