Extension:PlantUML

What can this extension do?
This extension allows to easily add UML diagrams into Wiki using a simple text description.

The following diagrams are available:


 * sequence diagram,
 * use case diagram,
 * class diagram,
 * activity diagram,
 * component diagram

The language is explained in this document: Language Reference Guide.pdf

Usage
Just put a PlantUML model description between the tag.

Attributes

 * redraw
 * force diagram to be redrawn by deleting cached image.

Example1
Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response

Example2
skinparam usecaseBackgroundColor DarkSeaGreen skinparam usecaseArrowColor Olive skinparam actorBorderColor black skinparam usecaseBorderColor DarkSlateGray skinparam usecaseActorFontName Courier

User << Human >>
 * Main Database: as MySql << Application >>

(Start) << One Shot >> (Use the application) as (Use) << Main >>

User -> (Start) User --> (Use) MySql --> (Use)

Example3
package "Classic Collections" #DDDDDD Object <|-- ArrayList

package net.sourceforge.plantuml Object <|-- Demo1 Demo1 *- Demo2

Installation

 * 1) Install PlantUML.
 * 2) Copy & paste the code below in a file called PlantUML.php and place it in your extensions directory of your MediaWiki folder.
 * 3) Change the value of $plantumlJar in PlantUML.php to match your installation path.
 * 4) Put this line near the end of your LocalSettings.php in the MediaWiki root-folder to include the extension: