Compatible with DokuWiki
Download and install the plugin using the Plugin Manager using this URL given above. Refer to Plugins on how to install plugins manually.
Two modes are available: local rendering or remote rendering.
If you choose local rendering, you'll need
PlantUML doesn't requires anything more to render sequence diagrams. However, for other diagram types, you'll also need to install
See PlantUML Installation Notes for troubleshooting.
The plugin can use PlantUML server to generate diagrams. So nothing is required to be installed on the server running DokuWiki. However, the server must have a access to the Web. This can be an issue if you're on a Corporate network for example.
If you set java and plantuml location in the configuration (in the Administration section of DokuWiki), then java will be used to compress the url.
Please refer to http: http://plantuml.sourceforge.net/ do get full description of the PlantUML syntax.
With PlantUML, you can draw:
A typical PlantUML diagram is enclosed by @startuml and @enduml. Replace these by <uml> and </uml>.
This block:
<uml> Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response </uml>
Inside the start tag <uml>, you can specify the width and/or height of the image using one of the following ways:
<uml w=100> <uml w=80%> <uml width=100> <uml width=80%> <uml 100x200>
By default, html img title attribute is set to “PlantUML Graph”. You can specify your own graph title like this:
<uml title="This will be the title"> <uml t=Diagram>
Note: Multiple words need to be placed in double quotes.