0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

mermaid.js で UML(シーケンス図)を書く

Posted at

mermaid.js とは

UMLなどの図をテキストで記述できる JavaScriptのライブラリ

公式
https://mermaid-js.github.io/mermaid/#/

LiveEditor
http://mermaid-js.github.io/mermaid-live-editor/beta

StackEditでも使える
https://stackedit.io/app

シーケンス図例

LiveEditorのサンプルより
image.png

上記の図のソース

sequenceDiagram
    Alice->>+John: Hello John, how are you?
    Alice->>+John: John, can you hear me?
    John-->>-Alice: Hi Alice, I can hear you!
    John-->>-Alice: I feel great!
0
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?