@msc・@endmsc【シーケンスチャート:テキストブロック】
@mscfile【シーケンスチャート:ファイル挿入】
@startuml・@enduml【PlantUML:テキストブロック】1.9.2 / 1.9.7 / 1.11.0 / 1.12.0
@plantumlfile【PlantUML:ファイル挿入】1.13.0
@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【PlantUML:テキストブロック (開始)】1.9.2 / 1.9.7 / 1.11.0 / 1.12.0
@enduml【PlantUML:テキストブロック (終了)】

メモ

構文

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

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

エンジン備考
board 1.9.2ボード図
bpm 1.9.2BPM
chen 1.12.0ER図
chronology 1.12.0シーケンス図
creole 1.9.2Creole
ditaa 1.9.2Ditaa
dot 1.9.2DOT
ebnf 1.9.7EBNF
files 1.11.0ディレクトリ ツリー リスト
flow 1.9.2フローチャート・アクティビティ図
gantt 1.9.2ガントチャート
git 1.9.2Git
hcl 1.9.7HCL
json 1.9.2JSON
latex 1.9.2LaTeX
math 1.9.2数式
mindmap 1.9.2マインドマップ
regex 1.9.7正規表現
salt 1.9.2Salt
uml (デフォルト) 1.9.2UML
wbs 1.9.2WBS図
wire 1.9.2ワイヤーフレーム
yaml 1.9.2YAML

/// @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

@plantumlfile【PlantUML:ファイル挿入】1.13.0

メモ

構文

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

ファイル名:スペースが含まれる場合、"ファイル名"
キャプション:画像下のキャプション
サイズ識別子:width・height
サイズ:100px 等

/// @plantumlfile uml.plantuml "アクター"

【uml.plantuml】

@startuml

:Actor (1):
:Actor (2): as Men2
actor "Actor (3)" as Men3
actor "Actor (4)" as Men4

@enduml

【HTML出力例】

アクター

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

メモ

構文

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

ファイル名:スペースが含まれる場合、"ファイル名"
キャプション:画像下のキャプション
サイズ識別子:width・height
サイズ:100px 等

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

【HTML出力例】

フローチャート