Wiki FIT ČVUT v Praze » yUML Macro

yUML Macro

Last modified by Administrator on 2013-05-26, 16:19

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 Administrator on 2013-04-05, 17:18

My Recent Modifications


This wiki is licensed under a Creative Commons BY-SA 3.0 license
XWiki Enterprise 5.4.1 - Documentation