Version 7 (modified by 13 years ago) (diff) | ,
---|
Contents
Trac PlantUML Plugin
Description
PlantUML (http://plantuml.sourceforge.net/) is a java utility that allows generation of different types of UML diagrams (sequence, activity, state, use cases, ...) from a simple text description file.
This plugin allows the integration of PlantUML on Trac Wiki pages, dynamically generating and embedding the diagrams.
Dependencies
The plugin depends on PlantUML compiled jar being installed on the system, a valid Java runtime, and Graphviz installed and correctly configured (these are dependencies for PlantUML itself)
Configuration
The following entry must be added to trac.ini:
[components] ... plantuml.* = enabled [plantuml] plantuml_jar = /path/to/plantuml.jar
Bugs/Feature Requests
Existing bugs and feature requests for TracPlantUmlPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:tracplantumlplugin here].
Source
You can check out TracPlantUmlPlugin from here using Subversion, or browse the source with Trac.
Example
Use with:
{{{ #!PlantUML @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml }}}
results in something like:
More information on the PlantUML language can be found in PlantUML Website
Recent Changes
Author/Contributors
Author: airadier
Maintainer: airadier
Contributors:
ebencheung forked this plugin on github, for supporting utf8 characters(eg.Chinese)
ebencheung created a new branch WriteImgToFile : So it will work when apache's session size is limited, while the origin code will show nothing if you create large or many diagrams on a single wiki page.
Attachments (1)
-
sequence.PNG (6.2 KB) - added by 14 years ago.
Example sequence diagram
Download all attachments as: .zip