텍스트 문법 레퍼런스
한 줄은 노드, 화살표, 그룹, 위치 중 하나입니다.

헤더
맨 위에 제목, 테마, 종류를 정합니다.
title: Checkout
theme: editorial
type: architecture
node web "Web" [client]노드
node id "라벨" [kind] 형식입니다. id는 화살표에 씁니다.
node api "API" [service]
node db "Orders DB" [database]종류
종류는 10가지이고 각각 아이콘이 있습니다.
servicedatabasecachequeueclientuserexternalstoragegatewayfunction화살표
->는 한 방향, <->는 양방향입니다. 콜론 뒤에 라벨을 씁니다.
node a "Web" [client]
node b "API" [service]
a -> b : "HTTPS"
b <-> a그룹
group id "라벨" { a b }로 노드 주위에 경계를 그립니다.
node api "API" [service]
node db "DB" [database]
group vpc "VPC" { api db }위치
right-of, left-of, above, below를 씁니다. 위치가 없는 노드는 다음 빈 칸에 놓입니다.
node api "API" [service]
node db "DB" [database]
node cache "Cache" [cache]
db below api
cache right-of api흐름
화살표 끝에 flow를 붙이면 선이 움직입니다.
node a "Client" [client]
node b "API" [service]
a -> b : "request" flow시퀀스 다이어그램
type: sequence 뒤에 participant와 메시지를 씁니다. -->는 응답입니다.
type: sequence
participant c "Client"
participant s "Server"
c -> s : "GET /orders"
s --> c : "200 OK"테마
테마는 editorial, minimal, blueprint, mono 4가지입니다.
editorial
minimal
blueprint
mono
제한
공유 링크는 압축 후 6,000바이트까지 담을 수 있습니다. 더 큰 다이어그램은 SVG로 내보내세요.
에디터는 예시와 함께 열립니다.