Deployment Diagram 部署图
Declaring element 基本元素
- @startuml
actor actor
agent agent
artifact artifact
boundary boundary
card card
cloud cloud
component component
control control
database database
entity entity
file file
folder folder
frame frame
interface interface
node node
package package
queue queue
stack stack
rectangle rectangle
storage storage
usecase usecase
@enduml
You can optionaly put text using bracket []
for a long description.
你可以通过 []
包裹方式填充更多详细信息。
- @startuml
folder folder [This is a <b>folder
You can use separator
of different kind
….
and style
]node node [
This is a <b>node
You can use separator
of different kind
….
and style
]database database [
This is a <b>database
You can use separator
of different kind
….
and style
]usecase usecase [
This is a <b>usecase
You can use separator
of different kind
….
and style
]
Linking 链接
You can create simple links between elements with or without labels:
你可以非常简单地通过各色各样的连线将多个元素连接起来。
It is possible to use several types of links:
你还可以使用更多类型的链接。
- @startuml
artifact artifact1
artifact artifact2
artifact artifact3
artifact artifact4
artifact artifact5
artifact artifact6
artifact artifact7
artifact artifact8
artifact artifact9
artifact artifact10
artifact1 —> artifact2
artifact1 —* artifact3
artifact1 —o artifact4
artifact1 —+ artifact5
artifact1 —# artifact6
artifact1 —>> artifact7
artifact1 —0 artifact8
artifact1 —^ artifact9
artifact1 —(0 artifact10
You can also have the following types:
Packages 包
There is a limit of three levels.
包最大限制是 3 级。
Round corner 圆角
若有收获,就赏束稻谷吧
0 颗稻谷