Version 5 (modified by rjollos, 3 years ago) (diff)

Refs #9905. License change was approved by original author.

Render PlantUML Diagrams


PlantUML 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.


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)


The following entry must be added to trac.ini:

plantuml.* = enabled

plantuml_jar = /path/to/plantuml.jar
java_bin = /path/to/java_bin (optional, if Java binary is not on the search path)

Bugs/Feature Requests

Existing bugs and feature requests for PlantUmlMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out PlantUmlMacro from here using Subversion, or browse the source with Trac.


Use with:

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response

results in something like:

More information on the PlantUML language can be found in PlantUML Website

Recent Changes

[14362] by rjollos on 2015-01-08 15:05:55
2.0dev: Fixed comparison after splitting filename. Fixes #12132.
[14361] by rjollos on 2015-01-08 07:58:54
2.0dev: Check that plantuml_jar is the path of a file ending in .jar. Refs #12132.
[14360] by rjollos on 2015-01-08 07:52:12
2.0dev: PEP-0008 change and removed unused imports.


Author: airadier
Maintainers: airadier, rjollos
Contributors: ebencheung
License: BSD 3-Clause

Attachments (1)

Download all attachments as: .zip