PlantUMLバージョン7997以降では、Tikzパッケージを利用して ダイアグラムをLaTeX形式で出力することができるようになりました。 ただし、これはベータ版の機能であり、正常に動作しない部分もあるかもしれません。誰にも利用されない機能に時間を割く余裕はないため、ユーザからのバグ報告を待っています。 コマンドラインで
-tlatex
フラグを使用するか、Antタスクでformat="latex"
を使用してください。
LaTeX出力を直接他のLaTeXドキュメントに埋め込みたい場合は、-tlatex:nopreamble
を
使用してください。この場合PlantUMLは、プリアンブル無しでtikz画像のみを出力します。
@startuml
class Subscriber {
subscriberId
}
class AccumUsage {
subscriberId
}
class IpSession {
ipAddress
specificData
sapcOriginStateId
apnId
}
Subscriber "1" -[#blue]-> "1..*" IpSession
Subscriber "1" --> "0..1" AccumUsage
@enduml
オンラインで結果を確認 (TODO: #362)
@startuml
Bob -> Alice: hello
return Ok
@enduml
オンラインで結果を確認 (TODO: #362)
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]