cogDraw UML diagrams using yUML
Typewikimacro
Category
Developed by

Vincent Massol

Rating
0 Votes
LicenseUnknown

Description

Usage

{{yuml type="class|activity|usecase"}}
content here...
{{/yuml}}

For more detail see the yUML web site.

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
typeyesa string"class"The type of UML diagram to draw. Valid values are "class", "activity" and "usecase".

Examples

Class Diagram

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

Generates:

class.png

Activity Diagram

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

Generates:

activity.png

Use Case Diagram

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

Generates:

usecase.png

Prerequisites & Installation Instructions

Once you have imported the XAR go to the Main.yUMLMacro page and you'll find examples of using the macro.

Tags: UML
    

Get Connected