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 +```