「Android/開発環境/AndroidStudio/UMLクラス図」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→graphvizインストール準備) |
(→インストール) |
||
| 行11: | 行11: | ||
$ which dot | $ which dot | ||
/usr/local/bin/dot | /usr/local/bin/dot | ||
| + | |||
| + | ==シーケンス図作成== | ||
| + | sequence.txt | ||
| + | <pre> | ||
| + | @startuml | ||
| + | Alice -> Bob: Authentication Request | ||
| + | Bob --> Alice: Authentication Response | ||
| + | Alice -> Bob: Another authentication Request | ||
| + | Alice <-- Bob: another authentication Response | ||
| + | @enduml | ||
| + | </pre> | ||
| + | |||
| + | 処理 | ||
| + | java -jar /d/src/plantuml.jar sequence.txt | ||
2021年3月18日 (木) 19:49時点における版
graphvizインストール準備
xcode-select --install brew install --build-from-source python@3.9
graphviz実行
java -jar /d/src/plantuml.jar -testdot
インストール
brew install graphviz # 確認 $ which dot /usr/local/bin/dot
シーケンス図作成
sequence.txt
@startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml
処理
java -jar /d/src/plantuml.jar sequence.txt
