Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Diagramming Bliss with Mermaid
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yves-Eric
July 05, 2016
Technology
590
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Diagramming Bliss with Mermaid
Yves-Eric
July 05, 2016
More Decks by Yves-Eric
See All by Yves-Eric
Howest University College of Applied Sciences Visit
yemartin
0
38
Bridging Rails to Legacy
yemartin
0
110
Other Decks in Technology
See All in Technology
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
890
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
490
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
350
Metadata - Section 1: HTML Basics
mohab1
0
120
Classmethod Company Deck
satoshi7
1
730
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
290
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
130
Optunaの最新リリースv5.0について
pfn
PRO
0
120
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
1k
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
190
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
1
120
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.9k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Speed Design
sergeychernyshev
33
2.2k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Navigating Team Friction
lara
192
16k
The Limits of Empathy - UXLibs8
cassininazir
2
720
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Ethics towards AI in product and experience design
skipperchong
2
440
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
エンジニアに許された特別な時間の終わり
watany
109
250k
Transcript
Tech Talk Tokyo #3 2016-07-05 Diagramming Bliss with Mermaid Yves-Eric
Martin CTO, MediWeb, Inc © 2016 MediWeb, Inc. 1
“One Picture is Worth 1,000 Words” Napoleon © 2016 MediWeb,
Inc. 2
Many diagramming tools » Package software » Visio » OmniGraffle
» ArgoUML... » Online services » Draw.io » Google Drawings... © 2016 MediWeb, Inc. 3
All the same weaknesses » Time consuming » Hard to
change » Binary or low level formats » The source is useless » Cannot diff © 2016 MediWeb, Inc. 4
Sample © 2016 MediWeb, Inc. 5
Introducing: Mermaid © 2016 MediWeb, Inc. 6
Introducing: Mermaid “Generation of diagram and flowchart from text in
a similar manner as markdown” © 2016 MediWeb, Inc. 7
What can Mermaid do » Flowcharts » Sequence diagrams »
Gantt charts © 2016 MediWeb, Inc. 8
Flowchart ↓ SourceɹɹɹɹɹɹɹRender → graph TD; A-->B; A-->C; B-->D; C-->D;
© 2016 MediWeb, Inc. 9
Sequence Diagram ↓ SourceɹɹɹɹɹɹɹRender → sequenceDiagram participant Alice participant Bob
Alice->>John: Hello John, how are you? loop Healthcheck John->>John: Fights hypochondria end Note right of John: Rational thinking John-->>Alice: Great! John->>Bob: How about you? Bob-->>John: Jolly good! © 2016 MediWeb, Inc. 10
Gantt Chart ↓ SourceɹɹɹɹɹɹɹRender → gantt dateFormat YYYY-MM-DD title Adding
GANTT diagram functionality to mermaid section A section Completed task :done, des1, 2014-01-06,2014-01-08 Active task :active, des2, 2014-01-09, 3d Future task : des3, after des2, 5d Future task2 : des4, after des3, 5d section Critical tasks Completed task in the critical line :crit, done, 2014-01-06,24h Implement parser and jison :crit, done, after des1, 2d Create tests for parser :crit, active, 3d Future task in critical line :crit, 5d Create tests for renderer :2d Add to mermaid :1d © 2016 MediWeb, Inc. 11
The Power of Text © 2016 MediWeb, Inc. 12
The Power of Text » Fast and easy » Write
out your thoughts directly » No time wasted fiddling » Put under source control and diff away © 2016 MediWeb, Inc. 13
What is Mermaid for » Quick diagramming, brainstorming » Documentation
» Change tracking What is Mermaid not for » Marketing material » Precise control of layout © 2016 MediWeb, Inc. 14
Easy to start 1.Install Atom (free text editor from GitHub)
2.Install the atom-mermaid package 3.There is no 3! Start writing some Mermaid and press: ctrl + option + o (Mac) ctrl + alt + o (Windows) © 2016 MediWeb, Inc. 15
Real Use Example graph TD subgraph New Sytem ns_script[Script] end
subgraph Old System other_export[Export] end subgraph Bridge Script bridge_api[API] Upload end subgraph Hybrid hybrid_export[Export] hybrid_api[API] end subgraph Cloud ule[UL Endpoint] DB((Database)) datae[Data Endpoint] cloud_api[API] dle[DL] Enc/Dec s3 end other_export--File-->Upload hybrid_export--File-->Upload Script-->hybrid_api hybrid_api-->Script Script--Data-->bridge_api ns_script--Data-->bridge_api Upload--File-->ule bridge_api--Data-->datae ule--File-->Enc/Dec ule--Parsing-->DB Enc/Dec---s3((AWS S3)) Enc/Dec-->dle datae-->DB DB-->cloud_api cloud_api-->onlineservices[ΫϥυαʔϏε] dle-->dashboard[Dashboard] cloud_api-.->dashboard Let's try it! © 2016 MediWeb, Inc. 16
Real Use Example graph TD subgraph New Sytem ns_script[Script] end
subgraph Old System other_export[Export] end subgraph Bridge Script bridge_api[API] Upload end subgraph Hybrid hybrid_export[Export] hybrid_api[API] end subgraph Cloud ule[UL Endpoint] DB((Database)) datae[Data Endpoint] cloud_api[API] dle[DL] Enc/Dec s3 end other_export--File-->Upload hybrid_export--File-->Upload Script-->hybrid_api hybrid_api-->Script Script--Data-->bridge_api ns_script--Data-->bridge_api Upload--File-->ule bridge_api--Data-->datae ule--File-->Enc/Dec ule--Parsing-->DB Enc/Dec---s3((AWS S3)) Enc/Dec-->dle datae-->DB DB-->cloud_api cloud_api-->onlineservices[ΫϥυαʔϏε] dle-->dashboard[Dashboard] cloud_api-.->dashboard © 2016 MediWeb, Inc. 17
“1,001 words is worth more than a picture.” John McCarthy
© 2016 MediWeb, Inc. 18
Please try Mermaid. https://knsv.github.io/mermaid/ The end, thank you! © 2016
MediWeb, Inc. 19