In an attempt to improve PlantUML documentation...
Wiki Toc Recent changes View page history Add new chapter Reorder page Raw
![]() |
![]() |
PlantUML をとりあえず使ってみたい人へ最もかんたんで素早く PlantUML を使ってみたい人は、 PlantUML オンラインサーバ を使ってみてください。 |
PlantUML for the impatientThe easiest way to test PlantUML is in an online solution that has PlantUML embedded, such as our online server. |
ローカル環境へインストールする一度は PlantUML をローカルにインストールしたい!と思ったこともあるでしょう。 詳しいことは、インストールガイドをご覧ください。 ここでは、概要を説明します。 自分の環境に Java をインストールしておいてください。 また、シーケンス図とアクティビティ図 以外 のダイアグラムを使いたい場合は、Graphviz software もインストールしてください。 そしたら、plantuml.jarをダウンロードしてください。この .jar 実行ファイルが PlantUML 本体です。 インストールできたかをかんたんに確認する方法は、 ダウンロードした .jarファイルをダブルクリックし GUI を起動させてみることです。 以上で、PlantUML のコードを書いたファイルやドキュメンテーションツールから使用できるようになりました。WARNING This translation need to be updated. WARNING |
Local installationAfter testing, you may want to install PlantUML locally. You need these things to run PlantUML:
|
コマンドラインから使う実際にコマンドラインで実行してみる手順も書いておきましょう まず、以下のような内容のsequenceDiagram.txt というファイルを作りましょう。
次に、コマンドライン(Windows なら cmd.exe や powershell 、Mac ならターミナル)から以下のコマンドを実行してください。
そうすると、 sequenceDiagram.png という画像ができているはずです。
|
Run PlantUML from the command lineUse PlantUML's command line syntax to include it in your own scripts or documentation tools.
2. Run (or have your software call) PlantUML, using sequenceDiagram.txt as input. The output is an image, which either appears in the other software, or is written to an image file on disk.For example:
This outputs your sequence diagram to a file called sequenceDiagram.png .
|