From a5a0b094a39f317809898a8236c5272081b3a44c Mon Sep 17 00:00:00 2001 From: chenp Date: Fri, 3 Sep 2021 15:03:22 +0800 Subject: [PATCH] demo02 --- samples/demo02.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/samples/demo02.md b/samples/demo02.md index 7d79c83..266bd38 100644 --- a/samples/demo02.md +++ b/samples/demo02.md @@ -1,10 +1,8 @@ --- puppeteer: - landscape: false - format: "A4" - timeout: 3000 -export_on_save: - puppeteer: true +landscape: false format: "A4" +timeout: 3000 export_on_save: +puppeteer: true --- # 时序图 @@ -19,4 +17,22 @@ GitLab -> Tomcat: Hello, my name is GitLab Tomcat -> GitLab: Nice to meet you. Tomcat <-- GitLab: Nice to meet you too. @enduml - ``` \ No newline at end of file + ``` + +# 引入模块 + +```plantuml +@startuml +!include + +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 +```