sequenceDiagram participant A as Alice participant J as John A->>J: Hello John, how are you? J->>A: Great!
甘特图
1 2 3 4 5 6 7 8 9
gantt title 项目 dateFormat YYYY-MM-DD section Section区间 A task任务 :a1, 2022-01-01, 200d Another task :after a1 , 165d section Another Task in sec :2022-02-01 , 100d another task : 60d
stateDiagram-v2 state if_state <> [*] --> IsPositive IsPositive --> if_state if_state --> False: if n < 0 if_state --> True : if n >= 0
E-R图
1 2 3 4
erDiagram CUSTOMER ||--o{ ORDER : places ORDER ||--|{ LINE-ITEM : contains CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
饼状图
1 2 3 4 5 6
pie title 标题 "Calcium" : 42.96 "Potassium" : 50.05 "Magnesium" : 10.01 "Iron" : 5
用户旅程图
1 2 3 4 5 6 7 8 9
journey title My working day section Go to work Make tea: 5: Me Go upstairs: 3: Me Do work: 1: Me, Cat section Go home Go downstairs: 5: Me Sit down: 5: Me