You can use PlantUML using the online web service to generate images on-the-fly. A online demonstration is available at http://www.plantuml.com/plantuml, but you can also
Installation of the PlantUML Server|install
it on your own JEE web application server.
The big input field is used to enter your diagram description. You can type in any diagram description, then press the submit button and the diagram will be displayed below.
It's a good practice to start your diagram by the @startxxx keyword.
When you validate the diagram, you are redirected to an encoded URL encoding your diagram. The encoded form is a convenient way to share your diagrams with others because it's shorter than the many lines of a diagram and it can be easily displayed in a browser using the online PlantUML Server.
For example, SyfFKj2rKt3CoKnELR1Io4ZDoSa70000 is the encoded form of:
Note that not all diagrams can be produced in SVG. For example, ditaa diagrams are only available in PNG format.
ASCII Art service
To get an ASCII Art representation of a diagram, encoded in UTF-8, use the following URL scheme:
Note that only sequence diagrams can be produced in ASCII Art.
Image Map service
To get the client image map related to a previously generated PNG image, use the following URL scheme:
The output is a list of <area> tags, each line matching a link present in the diagram description.
For example, the following diagram:
participant Bob [[http://plantuml.com]]
Bob -> Alice : [[http://forum.plantuml.net]] hello
Note that you need to include these <area... tags inside a <map... html tag to make the complete image map.
With the proxy service, the source description of the diagram can be fetched by the PlantUML Server from a remote document.
The proxy service uses the following URL scheme:
RESOURCE is the complete URL of the document which contains the diagram description (with the @startxxx and @endxxx tags), it could be a .html or a .txt file.
INDEX is optional, it specifies the occurrence (starting at 0) of the diagram description that will be parsed when there are more than one diagram descriptions in the remote document. It defaults to zero.
FORMAT is optional, it specifies the format to return. Supported values are: png, svg, eps, epstext and txt. Default is png,
To install PlantUML Server on your own JEE 5 web server, download the plantuml.war file and copy it on the webapp folder of your server.
PlantUML Server have been successfully tested on Tomcat 6 and 7 and Jetty 8 and 9.