@startuml
actor actor
actor/ "actor/"
agent agent
artifact artifact
boundary boundary
card card
circle circle
cloud cloud
collections collections
component component
control control
database database
entity entity
file file
folder folder
frame frame
hexagon hexagon
interface interface
label label
node node
package package
queue queue
rectangle rectangle
stack stack
storage storage
usecase usecase
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
]
card card [
This is a <b>card
----
You can use separator
====
of different kind
....
and style
<i><color:blue>(add from V1.2020.7)</color></i>
]
@enduml
@startuml
agent a
cloud c #pink;line:red;line.bold;text:red
file f #palegreen;line:green;line.dashed;text:green
node n #aliceblue;line:blue;line.dotted;text:blue
@enduml
@startuml
agent a
cloud c #pink;line:red;line.bold;text:red [
c
cloud description
]
file f #palegreen;line:green;line.dashed;text:green {
[c1]
[c2]
}
frame frame {
node n #aliceblue;line:blue;line.dotted;text:blue
}
@enduml
@startuml
agent a
cloud c #pink;line:red;line.bold;text:red
file f #palegreen;line:green;line.dashed;text:green
node n #aliceblue;line:blue;line.dotted;text:blue
@enduml
@startuml
agent a
cloud c #pink;line:red;line.bold;text:red [
c
cloud description
]
file f #palegreen;line:green;line.dashed;text:green {
[c1]
[c2]
}
frame frame {
node n #aliceblue;line:blue;line.dotted;text:blue
}
@enduml
@startuml
node ノード1 as n1
node "ノード 2" as n2
file f1 as "ファイル 1"
cloud c1 as "これ
は
クラウド
です"
cloud c2 [これ
も
クラウド
です]
n1 -> n2
n1 --> f1
f1 -> c1
c1 -> c2
@enduml
長い別名の例
@startuml
actor "アクター" as actorVeryLOOOOOOOOOOOOOOOOOOOg
agent "エージェント" as agentVeryLOOOOOOOOOOOOOOOOOOOg
artifact "アーティファクト" as artifactVeryLOOOOOOOOOOOOOOOOOOOg
boundary "境界" as boundaryVeryLOOOOOOOOOOOOOOOOOOOg
card "カード" as cardVeryLOOOOOOOOOOOOOOOOOOOg
cloud "クラウド" as cloudVeryLOOOOOOOOOOOOOOOOOOOg
collections "コレクション" as collectionsVeryLOOOOOOOOOOOOOOOOOOOg
component "コンポーネント" as componentVeryLOOOOOOOOOOOOOOOOOOOg
control "コントロール" as controlVeryLOOOOOOOOOOOOOOOOOOOg
database "データベース" as databaseVeryLOOOOOOOOOOOOOOOOOOOg
entity "エンティティ" as entityVeryLOOOOOOOOOOOOOOOOOOOg
file "ファイル" as fileVeryLOOOOOOOOOOOOOOOOOOOg
folder "フォルダ" as folderVeryLOOOOOOOOOOOOOOOOOOOg
frame "フレーム" as frameVeryLOOOOOOOOOOOOOOOOOOOg
hexagon "六角形" as hexagonVeryLOOOOOOOOOOOOOOOOOOOg
interface "インターフェース" as interfaceVeryLOOOOOOOOOOOOOOOOOOOg
label "ラベル" as labelVeryLOOOOOOOOOOOOOOOOOOOg
node "ノード" as nodeVeryLOOOOOOOOOOOOOOOOOOOg
package "パッケージ" as packageVeryLOOOOOOOOOOOOOOOOOOOg
queue "キュー" as queueVeryLOOOOOOOOOOOOOOOOOOOg
stack "スタック" as stackVeryLOOOOOOOOOOOOOOOOOOOg
rectangle "四角形" as rectangleVeryLOOOOOOOOOOOOOOOOOOOg
storage "ストレージ" as storageVeryLOOOOOOOOOOOOOOOOOOOg
usecase "ユースケース" as usecaseVeryLOOOOOOOOOOOOOOOOOOOg
@enduml
@startuml
actor actorVeryLOOOOOOOOOOOOOOOOOOOg as "アクター"
agent agentVeryLOOOOOOOOOOOOOOOOOOOg as "エージェント"
artifact artifactVeryLOOOOOOOOOOOOOOOOOOOg as "アーティファクト"
boundary boundaryVeryLOOOOOOOOOOOOOOOOOOOg as "境界"
card cardVeryLOOOOOOOOOOOOOOOOOOOg as "カード"
cloud cloudVeryLOOOOOOOOOOOOOOOOOOOg as "クラウド"
collections collectionsVeryLOOOOOOOOOOOOOOOOOOOg as "コレクション"
component componentVeryLOOOOOOOOOOOOOOOOOOOg as "コンポーネント"
control controlVeryLOOOOOOOOOOOOOOOOOOOg as "コントロール"
database databaseVeryLOOOOOOOOOOOOOOOOOOOg as "データベース"
entity entityVeryLOOOOOOOOOOOOOOOOOOOg as "エンティティ"
file fileVeryLOOOOOOOOOOOOOOOOOOOg as "ファイル"
folder folderVeryLOOOOOOOOOOOOOOOOOOOg as "フォルダ"
frame frameVeryLOOOOOOOOOOOOOOOOOOOg as "フレーム"
hexagon hexagonVeryLOOOOOOOOOOOOOOOOOOOg as "六角形"
interface interfaceVeryLOOOOOOOOOOOOOOOOOOOg as "インターフェース"
label labelVeryLOOOOOOOOOOOOOOOOOOOg as "ラベル"
node nodeVeryLOOOOOOOOOOOOOOOOOOOg as "ノード"
package packageVeryLOOOOOOOOOOOOOOOOOOOg as "パッケージ"
queue queueVeryLOOOOOOOOOOOOOOOOOOOg as "キュー"
stack stackVeryLOOOOOOOOOOOOOOOOOOOg as "スタック"
rectangle rectangleVeryLOOOOOOOOOOOOOOOOOOOg as "四角形"
storage storageVeryLOOOOOOOOOOOOOOOOOOOg as "ストレージ"
usecase usecaseVeryLOOOOOOOOOOOOOOOOOOOg as "ユースケース"
@enduml
@startuml
node Node1 as n1
node "Node 2" as n2
file f1 as "File 1"
cloud c1 as "this
is
a
cloud"
cloud c2 [this
is
another
cloud]
n1 -> n2
n1 --> f1
f1 -> c1
c1 -> c2
@enduml
Examples of long alias
@startuml
actor "actor" as actorVeryLOOOOOOOOOOOOOOOOOOOg
agent "agent" as agentVeryLOOOOOOOOOOOOOOOOOOOg
artifact "artifact" as artifactVeryLOOOOOOOOOOOOOOOOOOOg
boundary "boundary" as boundaryVeryLOOOOOOOOOOOOOOOOOOOg
card "card" as cardVeryLOOOOOOOOOOOOOOOOOOOg
cloud "cloud" as cloudVeryLOOOOOOOOOOOOOOOOOOOg
collections "collections" as collectionsVeryLOOOOOOOOOOOOOOOOOOOg
component "component" as componentVeryLOOOOOOOOOOOOOOOOOOOg
control "control" as controlVeryLOOOOOOOOOOOOOOOOOOOg
database "database" as databaseVeryLOOOOOOOOOOOOOOOOOOOg
entity "entity" as entityVeryLOOOOOOOOOOOOOOOOOOOg
file "file" as fileVeryLOOOOOOOOOOOOOOOOOOOg
folder "folder" as folderVeryLOOOOOOOOOOOOOOOOOOOg
frame "frame" as frameVeryLOOOOOOOOOOOOOOOOOOOg
hexagon "hexagon" as hexagonVeryLOOOOOOOOOOOOOOOOOOOg
interface "interface" as interfaceVeryLOOOOOOOOOOOOOOOOOOOg
label "label" as labelVeryLOOOOOOOOOOOOOOOOOOOg
node "node" as nodeVeryLOOOOOOOOOOOOOOOOOOOg
package "package" as packageVeryLOOOOOOOOOOOOOOOOOOOg
queue "queue" as queueVeryLOOOOOOOOOOOOOOOOOOOg
stack "stack" as stackVeryLOOOOOOOOOOOOOOOOOOOg
rectangle "rectangle" as rectangleVeryLOOOOOOOOOOOOOOOOOOOg
storage "storage" as storageVeryLOOOOOOOOOOOOOOOOOOOg
usecase "usecase" as usecaseVeryLOOOOOOOOOOOOOOOOOOOg
@enduml
@startuml
actor actorVeryLOOOOOOOOOOOOOOOOOOOg as "actor"
agent agentVeryLOOOOOOOOOOOOOOOOOOOg as "agent"
artifact artifactVeryLOOOOOOOOOOOOOOOOOOOg as "artifact"
boundary boundaryVeryLOOOOOOOOOOOOOOOOOOOg as "boundary"
card cardVeryLOOOOOOOOOOOOOOOOOOOg as "card"
cloud cloudVeryLOOOOOOOOOOOOOOOOOOOg as "cloud"
collections collectionsVeryLOOOOOOOOOOOOOOOOOOOg as "collections"
component componentVeryLOOOOOOOOOOOOOOOOOOOg as "component"
control controlVeryLOOOOOOOOOOOOOOOOOOOg as "control"
database databaseVeryLOOOOOOOOOOOOOOOOOOOg as "database"
entity entityVeryLOOOOOOOOOOOOOOOOOOOg as "entity"
file fileVeryLOOOOOOOOOOOOOOOOOOOg as "file"
folder folderVeryLOOOOOOOOOOOOOOOOOOOg as "folder"
frame frameVeryLOOOOOOOOOOOOOOOOOOOg as "frame"
hexagon hexagonVeryLOOOOOOOOOOOOOOOOOOOg as "hexagon"
interface interfaceVeryLOOOOOOOOOOOOOOOOOOOg as "interface"
label labelVeryLOOOOOOOOOOOOOOOOOOOg as "label"
node nodeVeryLOOOOOOOOOOOOOOOOOOOg as "node"
package packageVeryLOOOOOOOOOOOOOOOOOOOg as "package"
queue queueVeryLOOOOOOOOOOOOOOOOOOOg as "queue"
stack stackVeryLOOOOOOOOOOOOOOOOOOOg as "stack"
rectangle rectangleVeryLOOOOOOOOOOOOOOOOOOOg as "rectangle"
storage storageVeryLOOOOOOOOOOOOOOOOOOOg as "storage"
usecase usecaseVeryLOOOOOOOOOOOOOOOOOOOg as "usecase"
@enduml