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
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
試験勉強はGrokBotでやれ
maigo999
0
110
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
620
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
3
1.7k
cdkd (CDK Direct)
gotok365
4
270
令和の今、あらためて IAM を考える。アクセスキーを「無くせない現実」との向き合い方
kazzpapa3
0
420
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
7
3.7k
eBPF 簡介 2026 版
shunghsiyu
0
190
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
110
Kiro Crew 入門 (手を離しても進む仕事) | 目指せ Kiro マスター 11
inariku
PRO
4
490
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
1
340
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
1
210
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
0
360
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
WENDY [Excerpt]
tessaabrams
14
40k
The browser strikes back
jonoalderson
0
1.9k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
340
sira's awesome portfolio website redesign presentation
elsirapls
0
500
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
GraphQLとの向き合い方2022年版
quramy
50
15k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Utilizing Notion as your number one productivity tool
mfonobong
4
640
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
Agile that works and the tools we love
rasmusluckow
331
22k
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