シーケンス図
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
Ref
by yuki.ohnaka
@
no4 5
Slide 6
Slide 6 text
ユースケース図
@startuml
User -> (Start)
User --> (Use the application) : A small label
:Main Admin: ---> (Use the application) : This is\nyet another\nlabel
@enduml
Ref
by yuki.ohnaka
@
no4 6
Slide 7
Slide 7 text
クラス図
@startuml
class Car
Driver - Car : drives >
Car *- Wheel : have 4 >
Car -- Person : < owns
@enduml
Ref
by yuki.ohnaka
@
no4 7
Slide 8
Slide 8 text
アクティビティ図
@startuml
start
repeat :foo as starting label;
:read data;
:generate diagrams;
backward:This is backward;
repeat while (more data?)
stop
@enduml
Ref
by yuki.ohnaka
@
no4 8
Slide 9
Slide 9 text
コンポーネント図
@startuml
DataAccess - [First Component]
[First Component] ..> HTTP : use
@enduml
Ref
by yuki.ohnaka
@
no4 9
ステート図
@startuml
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string
State1 -> State2
State2 --> [*]
@enduml
Ref
by yuki.ohnaka
@
no4 11
Slide 12
Slide 12 text
タイミング図
@startuml
concise "
ユーザ" as WU
scale 100 as 50 pixels
@WU
0 is
待機
+500 is ok
@enduml
Ref
by yuki.ohnaka
@
no4 12
Slide 13
Slide 13 text
ダイアグラム以外にも
by yuki.ohnaka
@
no4 13
Slide 14
Slide 14 text
fruit Apple
size Large
color Red
nest k e y value
JSON
データ
@startjson
{
"fruit":"Apple",
"size":"Large",
"color":"Red",
"nest": {
"key": "value"
}
}
@endjson
Ref
by yuki.ohnaka
@
no4 14
Slide 15
Slide 15 text
fruit Apple
size Large
color Red
nest k e y value
YAML
データ
@startyaml
fruit: Apple
size: Large
color: Red
nest:
key: value
@endyaml
Ref
by yuki.ohnaka
@
no4 15
Slide 16
Slide 16 text
d m z
210.x.x.x/24
internal
172.x.x.x/24
210.x.x.1
172.x.x.1
w e b 0 1
d b 0 1
ネットワーク図
@startuml
nwdiag {
network dmz {
address = "210.x.x.x/24"
web01 [address = "210.x.x.1"];
}
network internal {
address = "172.x.x.x/24";
web01 [address = "172.x.x.1"];
db01;
}
}
@enduml
Ref
by yuki.ohnaka
@
no4 16
Slide 17
Slide 17 text
Entity01
e1_id : number «generated»
name : text
Entity02
e2_id : number «generated»
e1_id : number «FK»
ER
図
@startuml
entity "Entity01" as e01 {
*e1_id : number <>
--
*name : text
}
entity "Entity02" as e02 {
*e2_id : number <>
--
*e1_id : number <>
}
e01 ||..o{ e02
@enduml
Ref
by yuki.ohnaka
@
no4 17