248 lines
30 KiB
XML
248 lines
30 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="1071px" preserveAspectRatio="none" style="width:933px;height:1071px;background:#00000000;" version="1.1" viewBox="0 0 933 1071" width="933px" zoomAndPan="magnify"><defs><filter height="300%" id="f1vtmxzmrb8ymi" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="none" height="26.2969" style="stroke:none;stroke-width:1.0;" width="329" x="298" y="22.6406"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="319" x="303" y="40.6357">Sequence Diagram - resume-light theme</text><rect fill="#DDDDDD" height="995" style="stroke:#A80036;stroke-width:1.0;" width="187" x="703" y="55.9375"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="114" x="739.5" y="68.0044">Internal Service</text><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="157.4688" style="stroke:#A80036;stroke-width:1.0;" width="10" x="331.5" y="266.6328"/><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="322.9375" style="stroke:#000000;stroke-width:2.0;" width="906" x="10" y="555.3047"/><rect height="164.4688" style="stroke:none;stroke-width:1.0;fill:none;" width="906" x="10" y="669.8359"/><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="77.3984" style="stroke:#000000;stroke-width:2.0;" width="886" x="20" y="749.9063"/><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="46.2656" style="stroke:#000000;stroke-width:2.0;" width="866" x="30" y="774.0391"/><rect height="43.9375" style="stroke:none;stroke-width:1.0;fill:none;" width="906" x="10" y="834.3047"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="60" x2="60" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="60" x2="60" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="60" x2="60" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="206" x2="206" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="206" x2="206" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="206" x2="206" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="336" x2="336" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="336" x2="336" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="336" x2="336" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="463" x2="463" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="463" x2="463" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="463" x2="463" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="609" x2="609" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="609" x2="609" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="609" x2="609" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="668" x2="668" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="668" x2="668" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="668" x2="668" y1="490.
|
||
|
@startuml
|
||
|
|
||
|
!$THEME = "resume-light"
|
||
|
|
||
|
!if %not(%variable_exists("$BGCOLOR"))
|
||
|
!$BGCOLOR = "transparent"
|
||
|
!endif
|
||
|
|
||
|
skinparam backgroundColor $BGCOLOR
|
||
|
skinparam useBetaStyle false
|
||
|
|
||
|
|
||
|
skinparam {
|
||
|
skinparam defaultFontName "Verdana"
|
||
|
skinparam defaultFontSize 12
|
||
|
defaultTextAlignment center
|
||
|
shadowing false
|
||
|
RoundCorner 10
|
||
|
TitleFontSize 18
|
||
|
}
|
||
|
<style>
|
||
|
wbsDiagram {
|
||
|
LineColor #f0f0f0
|
||
|
BorderThickness 3
|
||
|
BackgroundColor #f9f9f9
|
||
|
FontColor #6a9fb5
|
||
|
:depth(0) {
|
||
|
fontSize 16
|
||
|
fontStyle bold
|
||
|
}
|
||
|
:depth(1) {
|
||
|
fontSize 14
|
||
|
padding 5
|
||
|
fontStyle bold
|
||
|
}
|
||
|
:depth(2) {
|
||
|
fontSize 12
|
||
|
padding 3
|
||
|
}
|
||
|
:depth(3) {
|
||
|
fontSize 10
|
||
|
padding 2
|
||
|
}
|
||
|
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
!if %variable_exists("$THEME")
|
||
|
title Sequence Diagram - $THEME theme
|
||
|
!else
|
||
|
title Sequence Diagram
|
||
|
!endif
|
||
|
|
||
|
'skinparam BackgroundColor transparent
|
||
|
skinparam responseMessageBelowArrow true
|
||
|
|
||
|
autonumber "<b>[000]"
|
||
|
|
||
|
header Page Header
|
||
|
footer Page %page% of %lastpage%
|
||
|
|
||
|
actor Foo1
|
||
|
boundary Foo2
|
||
|
control Foo3
|
||
|
entity Foo4
|
||
|
database Foo5
|
||
|
collections Foo6
|
||
|
participant Bob
|
||
|
participant Alice << (C,#ADD1B2) Testable >>
|
||
|
|
||
|
box "Internal Service"
|
||
|
participant Bob
|
||
|
participant Alice
|
||
|
end box
|
||
|
|
||
|
== Initialization ==
|
||
|
Foo1 -> Foo2 : To boundary
|
||
|
|||
|
||
|
Foo2 -> Foo3 ++: To control
|
||
|
ref over Foo4, Foo5
|
||
|
This can be on
|
||
|
several lines
|
||
|
end ref
|
||
|
Foo3 -> Foo4 : To entity
|
||
|
|
||
|
Foo4 -> Foo5 : To database
|
||
|
Foo5 - -> Foo3 - - : return
|
||
|
Foo3 - -> Foo2 - -: return
|
||
|
... Some ~~long delay~~ ...
|
||
|
Foo1 -> Foo6 : To collections
|
||
|
Foo6 - -> Foo4: $success("success")
|
||
|
|
||
|
|
||
|
group alt [successful case]
|
||
|
|
||
|
Foo1 -> Alice: Authentication Accepted
|
||
|
Alice - -> Foo1: success
|
||
|
|
||
|
note left of Alice: this is a first note
|
||
|
|
||
|
else some kind of failure
|
||
|
|
||
|
Foo1 -> Alice: Authentication Failure
|
||
|
Alice - -> Foo1: $failure("Bad request")
|
||
|
group My own label
|
||
|
loop 1000 times
|
||
|
Alice -> Foo1: DNS Attack
|
||
|
end
|
||
|
end
|
||
|
|
||
|
else Just a Warning
|
||
|
|
||
|
Foo1 -> Alice: $warning("Please repeat")
|
||
|
|
||
|
end
|
||
|
|
||
|
note over Foo1, Foo2
|
||
|
this is a second note
|
||
|
that is really
|
||
|
long
|
||
|
end note
|
||
|
|
||
|
@enduml
|
||
|
|
||
|
@startuml
|
||
|
|
||
|
|
||
|
|
||
|
skinparam backgroundColor transparent
|
||
|
skinparam useBetaStyle false
|
||
|
|
||
|
|
||
|
skinparam {
|
||
|
skinparam defaultFontName "Verdana"
|
||
|
skinparam defaultFontSize 12
|
||
|
defaultTextAlignment center
|
||
|
shadowing false
|
||
|
RoundCorner 10
|
||
|
TitleFontSize 18
|
||
|
}
|
||
|
<style>
|
||
|
wbsDiagram {
|
||
|
LineColor #f0f0f0
|
||
|
BorderThickness 3
|
||
|
BackgroundColor #f9f9f9
|
||
|
FontColor #6a9fb5
|
||
|
:depth(0) {
|
||
|
fontSize 16
|
||
|
fontStyle bold
|
||
|
}
|
||
|
:depth(1) {
|
||
|
fontSize 14
|
||
|
padding 5
|
||
|
fontStyle bold
|
||
|
}
|
||
|
:depth(2) {
|
||
|
fontSize 12
|
||
|
padding 3
|
||
|
}
|
||
|
:depth(3) {
|
||
|
fontSize 10
|
||
|
padding 2
|
||
|
}
|
||
|
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
title Sequence Diagram - resume-light theme
|
||
|
|
||
|
skinparam responseMessageBelowArrow true
|
||
|
|
||
|
autonumber "<b>[000]"
|
||
|
|
||
|
header Page Header
|
||
|
footer Page %page% of %lastpage%
|
||
|
|
||
|
actor Foo1
|
||
|
boundary Foo2
|
||
|
control Foo3
|
||
|
entity Foo4
|
||
|
database Foo5
|
||
|
collections Foo6
|
||
|
participant Bob
|
||
|
participant Alice << (C,#ADD1B2) Testable >>
|
||
|
|
||
|
box "Internal Service"
|
||
|
participant Bob
|
||
|
participant Alice
|
||
|
end box
|
||
|
|
||
|
== Initialization ==
|
||
|
Foo1 -> Foo2 : To boundary
|
||
|
|||
|
||
|
Foo2 -> Foo3 ++: To control
|
||
|
ref over Foo4, Foo5
|
||
|
This can be on
|
||
|
several lines
|
||
|
end ref
|
||
|
Foo3 -> Foo4 : To entity
|
||
|
|
||
|
Foo4 -> Foo5 : To database
|
||
|
Foo5 - -> Foo3 - - : return
|
||
|
Foo3 - -> Foo2 - -: return
|
||
|
... Some ~~long delay~~ ...
|
||
|
Foo1 -> Foo6 : To collections
|
||
|
Foo6 - -> Foo4: $success("success")
|
||
|
|
||
|
|
||
|
group alt [successful case]
|
||
|
|
||
|
Foo1 -> Alice: Authentication Accepted
|
||
|
Alice - -> Foo1: success
|
||
|
|
||
|
note left of Alice: this is a first note
|
||
|
|
||
|
else some kind of failure
|
||
|
|
||
|
Foo1 -> Alice: Authentication Failure
|
||
|
Alice - -> Foo1: $failure("Bad request")
|
||
|
group My own label
|
||
|
loop 1000 times
|
||
|
Alice -> Foo1: DNS Attack
|
||
|
end
|
||
|
end
|
||
|
|
||
|
else Just a Warning
|
||
|
|
||
|
Foo1 -> Alice: $warning("Please repeat")
|
||
|
|
||
|
end
|
||
|
|
||
|
note over Foo1, Foo2
|
||
|
this is a second note
|
||
|
that is really
|
||
|
long
|
||
|
end note
|
||
|
|
||
|
@enduml
|
||
|
|
||
|
PlantUML version 1.2021.01(Mon Feb 01 23:55:08 PST 2021)
|
||
|
(GPL source distribution)
|
||
|
Java Runtime: OpenJDK Runtime Environment
|
||
|
JVM: OpenJDK 64-Bit Server VM
|
||
|
Default Encoding: UTF-8
|
||
|
Language: en
|
||
|
Country: US
|
||
|
--></g></svg>
|