Multilingual Wiki Documentation

You are currently using syntax.
In an attempt to improve PlantUML documentation...
Please do not use this website for your own diagrams.
You can click here and use the online server here for your own documentation.

Wiki Toc    View page history    Add new chapter    Reorder page    Raw


LaTeX

Starting from version 7997, PlantUML allows to generate diagrams into LaTeX, thanks to Tikz package.

Note that this is still beta, and many things won't probably work. Since we do not want to spend time on features not used, we will wait for users to report bugs here.

You just have to use the flag -tlatex with the command line, or format="latex" with the Ant task.

If you want to include the LaTeX output directly into another LaTeX document you can use -tlatex:nopreamble. This way PlantUML will only export the tikz-picture itself, without the document preamble.

Class diagram example

@startuml
class Subscriber {
  subscriberId
}

class AccumUsage {
  subscriberId
}

class IpSession {
  ipAddress
  specificData
  sapcOriginStateId
  apnId
}

Subscriber "1" -[#blue]-> "1..*" IpSession
Subscriber "1" --> "0..1" AccumUsage
@enduml

See result online (TODO: #362)

Sequence diagram example

@startuml
Bob -> Alice: hello
return Ok
@enduml

See result online (TODO: #362)


Please report any bugs to plantuml@gmail.com or here.
This website is still in beta testing.