demo_doc/samples/demo02.md

39 lines
778 B
Markdown
Raw Normal View History

2021-06-26 09:59:43 +08:00
---
puppeteer:
2021-09-03 15:03:22 +08:00
landscape: false format: "A4"
timeout: 3000 export_on_save:
puppeteer: true
2021-06-26 09:59:43 +08:00
---
# 时序图
```plantuml
@startuml
title 时序图
Tomcat -> GitLab: Hello, my name is Tomcat
GitLab -> Tomcat: Hello, my name is GitLab
Tomcat -> GitLab: Nice to meet you.
Tomcat <-- GitLab: Nice to meet you too.
@enduml
2021-09-03 15:03:22 +08:00
```
# 引入模块
```plantuml
@startuml
!include <C4/C4_Container>
Person(personAlias, "Label", "Optional Description")
Container(containerAlias, "Label", "Technology", "Optional Description")
System(systemAlias, "Label", "Optional Description")
System_Ext(extSystemAlias, "Label", "Optional Description")
Rel(personAlias, containerAlias, "Label", "Optional Technology")
Rel_U(systemAlias, extSystemAlias, "Label", "Optional Technology")
@enduml
```