Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
th1209
August 27, 2017
Programming
750
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう
th1209
August 27, 2017
More Decks by th1209
See All by th1209
Experimentalでも使いたい!GraphView実践導入Tips
th1209
0
620
Other Decks in Programming
See All in Programming
Inside Stream API
skrb
1
650
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
4.5k
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.5k
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
730
The NotImplementedError Problem in Ruby
koic
1
620
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
380
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.6k
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
150
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.2k
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
500
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.3k
Oxlintのカスタムルールの現況
syumai
6
1k
Featured
See All Featured
Between Models and Reality
mayunak
4
330
Bash Introduction
62gerente
615
210k
Faster Mobile Websites
deanohume
310
31k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
400
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Making Projects Easy
brettharned
120
6.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
Transcript
PlantUMLとAtomで バージョン管理可能な UMLを書いてみよう 2017/08/27 Symfony Meetup #17 th1209
None
ちゃんと設計やっていますか?
ちゃんと設計やっていますか? 普段からUML書いてますか?
今日のテーマ ☓ PlantUML Atom
環境構築 Java plantuml.jar Atom plantuml-viewer Graphviz
None
None
@startuml{class_example.png} … title クラス図(Mediatorパターン) ... @enduml
None
@startuml{class_example.png} ... class Chatroom { - colleagues: ArrayList + void
addColleague(colleague:Colleague) } ... @enduml
None
@startuml{class_example.png} ... Mediator <|.. Chatroom Colleague <|.. User Chatroom *--
User User *-- Chatroom ... @enduml
None
None
@startuml{class_example.png} ... actor client participant "chatroom:Chatroom" as chatroom participant "alice:User"
as alice participant "bob:User" as bob ... @enduml
None
@startuml{class_example.png} ... client -> chatroom : construct() activate chatroom ...
@enduml
None
@startuml{class_example.png} ... loop Userインスタンスの数だけ繰り返す ... end group メッセージの通知 ... end
... @enduml
プルリク上での共有 1. 以下コマンドで画像化して... 2. プルリクページ上に貼り付け! java -jar (jar_file_path)/plantuml.jar (plant_uml_file)
参考 [Qiita AtomとPlantUMLで爆速UMLモデリング](http://qiita.com/nakahashi/items/3d88655f055ca6a2617c) ・ Windows環境での導入記事。 [Qiita テキスト入力でUMLをライブプレビューしてくれるツール( plantuml-viewer:Atomプラグイ ン)](http://qiita.com/mas821/items/7932c983783ffc4f9c83) ・
Mac環境での導入記事。 [Qiita PlantUML Cheat Sheet](http://qiita.com/ogomr/items/0b5c4de7f38fd1482a48) ・ 各UMLでの基本的な書き方について説明されています。 [PlantUML Language specification](http://plantuml.com/sitemap-language-specification) ・ 公式ドキュメント。詳細な書き方はここを参照されると良いかと思います。 [IT専科 UML入門](http://www.itsenka.com/contents/development/uml/) ・UML自体の書き方は、こちらのページの解説が丁寧です。
まとめ GOOD ・簡単に使える(環境構築・DSL記述の敷居が低い) ・github etc でバージョン管理できる! BAD ・可視化・共同編集に一手間(修正毎に画像化する必要があるため)。