A partir de la version 7997, PlantUML peut générer les diagrammes
au format LaTeX à l'aide
du package Tikz.
Il s'agit d'une version en bêta, certaines fonctionnalités se sont pas encore supportées. Nous ne voulons pas passer du temps sur des fonctionnalités inutilisées, donc nous attendons des utilisateurs
qu'ils nous remontent les erreurs.
Vous avec simplement à rajouter l'option
-tlatex
dans
la ligne de commande ou bien de spécifier
format="latex"
dans la description
de la tâche Ant correspondante.
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.
@startuml
class Subscriber {
subscriberId
}
class AccumUsage {
subscriberId
}
class IpSession {
ipAddress
specificData
sapcOriginStateId
apnId
}
Subscriber "1" -[#blue]-> "1..*" IpSession
Subscriber "1" --> "0..1" AccumUsage
@enduml

Voir le résultat en ligne (TODO:
#362)
@startuml
Bob -> Alice: hello
return Ok
@enduml

Voir le résultat en ligne (TODO:
#362)
If you use the
hyperref
package then you can make links to defined anchors within your Latex/PDF document. For example, the second and last links below are to the Latx document:
@startuml
participant Bob [[http://www.yahoo.com]]
participant Alice [[latex://resource-interaction]]
Bob -> Alice : [[http://www.google.com]] hello
Bob -> Alice : [[latex://resource-interaction]] interact
@enduml
[Ref. QA-3558]