Sequence Diagram
Mermaid로 Sequence Diagram도 그릴 수 있다
Basics
참여자(participants)는 암시적(implicit)으로 표현되고 있다.
Participants
참여자(participants)를 명시적으로 표현할 수 있다.
as
를 통해 별칭(alias)를 지정하는 것도 가능하다.
Actors
Actors도 표현이 가능하다. (졸라맨)
Message
메시지는 다음 문법을 따르면 된다.
여섯 개의 화살표를 지원한다.
Type | Description |
---|---|
| Solid line without arrow |
| Dotted line without arrow |
| Solid line with arrowhead |
| Dotted line with arrowhead |
| Solid line with a cross at the end |
| Dotted line with a cross at the end. |
| Solid line with an open arrow at the end (async) |
| Dotted line with a open arrow at the end (async) |
Activation
Actor를 activate / deactivate 할 수 있다.
+와 -로 짧게 표현할 수도 있다. 물론 중첩도 가능하다.
Notes
노트도 적을 수 있다.
Loops
이런 식으로 루프도 가능하다.
Alts
Alternative path도 넣어보자.
Parallel
중첩도 가능하다.
Critical Section
Sequence Numbers
REF
Last updated