@msc・@endmsc【シーケンスチャート:テキストブロック】
@mscfile【シーケンスチャート:ファイル挿入】
@startuml・@enduml【UML:テキストブロック】1.9.21.9.7
@diafile【Dia:図表ファイル挿入】

@msc【シーケンスチャート:テキストブロック (開始)】
@endmsc【シーケンスチャート:テキストブロック (終了)】

メモ

構文

@msc ["キャプション"] [サイズ識別子=サイズ]
シーケンスチャートのテキストブロック
@endmsc

サイズ識別子:width・height
サイズ:100px 等

/// @msc "@@msc"
/// c [label="Client"],s [label="Server"];
/// c=>s [label = "MSG1", URL = "@ref msg1"];
/// c<=s [label = "MSG2", URL = "@ref msg2"];
/// @endmsc

【HTML出力例】

@msc

@mscfile【シーケンスチャート:ファイル挿入】

メモ

構文

@mscfile ファイル名 ["キャプション"] [サイズ識別子=サイズ]

ファイル名:スペースが含まれる場合、"ファイル名"
サイズ識別子:width・height
サイズ:100px 等

/// @mscfile mscfile.msc "mscfile.msc"

【mscfile.msc】

// Mscgen
msc {
  A,B,C;
  A box A [label="BOX", textbgcolor="yellow"];
  B rbox B [label="RBOX"];
  B note C [label="NOTE", textbgcolor="silver"];
  A-xB [label="NG"];
  A=>>B [label="MSG1"];
  B=>C [label="MSG2"];
  C=>C [linecolor="red"];
  A<<C [label="return"];
}

【HTML出力例】

mscfile.msc

@startuml【UML:テキストブロック (開始)】1.9.21.9.7
@enduml【UML:テキストブロック (終了)】

メモ

構文

@startuml [{オプション}] ["キャプション"] [サイズ識別子=サイズ]
UMLのテキストブロック
@enduml

オプション (複数:カンマ区切り):オプション (複数指定可1.9.2 )
    ファイル名 (最大1個):生成される画像名 (省略:自動的に名前付け)
    エンジン (最大1個)1.9.2:PlantUML の @start~ コマンドに対応 (下記 参照)
キャプション:画像下のキャプション
サイズ識別子:width・height
サイズ:100px 等

エンジン備考
uml (デフォルト) 1.9.2UML
bpm 1.9.2BPM
wire 1.9.2ワイヤーフレーム
dot 1.9.2DOT
ditaa 1.9.2Ditaa
salt 1.9.2Salt
math 1.9.2数式
latex 1.9.2LaTeX
gantt 1.9.2ガントチャート
mindmap 1.9.2マインドマップ
wbs 1.9.2WBS図
yaml 1.9.2YAML
creole 1.9.2Creole
json 1.9.2JSON
flow 1.9.2
board 1.9.2ボード図
git 1.9.2Git
hcl 1.9.7HCL
regex 1.9.7正規表現
ebnf 1.9.7EBNF

/// @startuml {uml.png} "アクティビティ図"
/// start
/// if (判定 ? ) then(yes)
///     :処理A;
/// else (no)
///     :処理B;
/// endif
/// stop
/// @enduml

【HTML出力例】

アクティビティ図

/// @startuml {wbs} "WBS"
/// * WBS 0
/// ** WBS 1
/// *** WBS 1-1
/// *** WBS 1-2
/// ** WBS 2
/// *** WBS 2-1
/// *** WBS 2-2
/// @enduml

【HTML出力例】

WBS

@diafile【Dia:図表ファイル挿入】

メモ

構文

@diafile  ファイル名 ["キャプション"] [サイズ識別子=サイズ]

ファイル名:スペースが含まれる場合、"ファイル名"
サイズ識別子:width・height
サイズ:100px 等

/// @diafile Diagram.dia "フローチャート"

【HTML出力例】

フローチャート