🧩
New! Render PlantUML diagrams directly inside GitHub with our official browser extension — No server. No tokens. No tracking. Zero permissions but clipboard. — Try it out and let us know what you think!

構文の一般化

現在、PlantUML では UML 以外の図も生成できるようになっています。その場合、@startumlでは意味が分かりません。そこで、図の開始に@startXYZ、終了に@endXYZをそれぞれ書けるようになりました。ここで、XYZは図の種類によって変わる空白も含む文字列が使用できます。

そのため、プラグインの開発者は、@startuml の代わりに @start を認識できるようにすることが推奨されます。

DITAAでは、通常、@startditaa...@endditaaの形式で記述します。

⚠ On PlantUML, only PNG generation is supported.
WARNING
 This translation need to be updated. 
WARNING

Generalisation (of @start/@end tag)

PlantUML now can generate diagrams other than UML. In such cases the usual @startuml does not make sense anymore. So now we allow diagrams start with @startXYZ and finish with @endXYZ, where XYZ can change with the type of diagram and can be any characters (including spaces).

This means that plugin developers are encouraged to change their code to recognize @start instead of @startuml.

DITAA diagrams are usually formatted as @startditaa...@endditaa.

PlantUMLでサポートするオプション

@startditaaまたはditaaキーワードに続けて記述できるオプションがあります:

オプション無し

隙間を無くす

影を無くしてスケールを指定

WARNING
 This translation need to be updated. 
WARNING

タグ

タグ 説明
{c} Choice - 選択、または、決定
{d} Document - ドキュメント
{io} Input/Output - 入出力
{mo} Manual operation - 手作業
{o} Ellipse - 楕円
{s} Storage - データベースやハードディスクなどのストレージ
{tr} Trapezoid - 台形

その他のドキュメント

Ditaaの完全なドキュメントは、こちらで参照できます: