904 lines
42 KiB
XML
904 lines
42 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="1427.0833px" preserveAspectRatio="none" style="width:1354px;height:1427px;background:#00000000;" version="1.1" viewBox="0 0 1354 1427" width="1354.1667px" zoomAndPan="magnify"><defs><linearGradient id="g19ohvmrpvbvea0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#999890"/><stop offset="100%" stop-color="#8E8C84"/></linearGradient></defs><g><rect fill="url(#g19ohvmrpvbvea0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#807E77;stroke-width:1.0416666666666667;" width="429.1667" x="458.3333" y="32.9"/><text fill="#325D88" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="402.0833" x="471.875" y="64.2619">Sequence Diagram - sandstone theme</text><rect fill="none" height="1311.1328" rx="4.1667" ry="4.1667" style="stroke:#3E3F3A;stroke-width:1.0416666666666667;" width="356.25" x="947.9167" y="90.5111"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="111.4583" x="1070.3125" y="108.2865">Internal Service</text><rect fill="#807E77" height="215.1082" style="stroke:#8E8C84;stroke-width:1.0416666666666667;" width="10.4167" x="389.0625" y="343.986"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="65.625" x2="65.625" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="65.625" x2="65.625" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="65.625" x2="65.625" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="238.5417" x2="238.5417" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="238.5417" x2="238.5417" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="238.5417" x2="238.5417" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="393.75" x2="393.75" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="393.75" x2="393.75" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="393.75" x2="393.75" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="546.875" x2="546.875" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="546.875" x2="546.875" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="546.875" x2="546.875" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="719.7917" x2="719.7917" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="719.7917" x2="719.7917" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="719.7917" x2="719.7917" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="827.0833" x2="827.0833" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="827.0833" x2="827.0833" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="827.0833" x2="827.0833" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="1018.75" x2="1018.75" y1="180.7027" y2="595.1192"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;stroke-dasharray:1.0,4.0;" x1="1018.75" x2="1018.75" y1="595.1192" y2="649.8942"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666667;" x1="1018.75" x2="1018.75" y1="649.8942" y2="1307.2856"/><line style="stroke:#8E8C84;stroke-width:1.0416666666666
|
||
|
@startuml
|
||
|
|
||
|
!$THEME = "sandstone"
|
||
|
|
||
|
!if %not(%variable_exists("$BGCOLOR"))
|
||
|
!$BGCOLOR = "transparent"
|
||
|
!endif
|
||
|
|
||
|
skinparam backgroundColor $BGCOLOR
|
||
|
skinparam useBetaStyle false
|
||
|
|
||
|
!$BLUE = "#325d88"
|
||
|
!$INDIGO = "#6610f2"
|
||
|
!$PURPLE = "#6f42c1"
|
||
|
!$PINK = "#e83e8c"
|
||
|
!$RED = "#d9534f"
|
||
|
!$ORANGE = "#f47c3c"
|
||
|
!$YELLOW = "#ffc107"
|
||
|
!$GREEN = "#93c54b"
|
||
|
!$TEAL = "#20c997"
|
||
|
!$CYAN = "#29abe0"
|
||
|
!$WHITE = "#fff"
|
||
|
!$GRAY = "#8e8c84"
|
||
|
!$GRAYDARK = "#3e3f3a"
|
||
|
!$PRIMARY = "#325d88"
|
||
|
!$SECONDARY = "#8e8c84"
|
||
|
!$SUCCESS = "#93c54b"
|
||
|
!$INFO = "#29abe0"
|
||
|
!$WARNING = "#f47c3c"
|
||
|
!$DANGER = "#d9534f"
|
||
|
!$LIGHT = "#f8f5f0"
|
||
|
!$DARK = "#3e3f3a"
|
||
|
|
||
|
!$FGCOLOR = $WHITE
|
||
|
!$PRIMARY_DARK = "#2d547a"
|
||
|
!$PRIMARY_LIGHT = "#476d94"
|
||
|
!$PRIMARY_TEXT = $WHITE
|
||
|
!$SECONDARY_DARK = "#807e77"
|
||
|
!$SECONDARY_LIGHT = "#999890"
|
||
|
!$SECONDARY_TEXT = $WHITE
|
||
|
!$INFO_DARK = "#259aca"
|
||
|
!$INFO_LIGHT = "#3eb3e3"
|
||
|
!$INFO_TEXT = $WHITE
|
||
|
!$SUCCESS_DARK = "#84b144"
|
||
|
!$SUCCESS_LIGHT = "#9ecb5d"
|
||
|
!$SUCCESS_TEXT = $WHITE
|
||
|
!$WARNING_DARK = "#dc7036"
|
||
|
!$WARNING_LIGHT = "#f58950"
|
||
|
!$WARNING_TEXT = $WHITE
|
||
|
!$DANGER_DARK = "#c34b47"
|
||
|
!$DANGER_LIGHT = "#AE423F"
|
||
|
!$DANGER_TEXT = $WHITE
|
||
|
!$DARK_DARK = "#383934"
|
||
|
!$DARK_LIGHT = "#51524e"
|
||
|
!$LIGHT_DARK = "#dfddd8"
|
||
|
!$LIGHT_LIGHT = "#f9f6f2"
|
||
|
|
||
|
!procedure $success($msg)
|
||
|
<font color=$SUCCESS><b>$msg
|
||
|
!endprocedure
|
||
|
|
||
|
!procedure $failure($msg)
|
||
|
<font color=$DANGER><b>$msg
|
||
|
!endprocedure
|
||
|
|
||
|
!procedure $warning($msg)
|
||
|
<font color=$WARNING><b>$msg
|
||
|
!endprocedure
|
||
|
|
||
|
!procedure $primary_scheme()
|
||
|
FontColor $PRIMARY_TEXT
|
||
|
BorderColor $PRIMARY_DARK
|
||
|
BackgroundColor $PRIMARY
|
||
|
!endprocedure
|
||
|
|
||
|
skinparam defaultFontName "Verdana"
|
||
|
skinparam defaultFontSize 12
|
||
|
skinparam dpi 100
|
||
|
skinparam shadowing false
|
||
|
skinparam roundcorner 8
|
||
|
skinparam ParticipantPadding 40
|
||
|
skinparam BoxPadding 40
|
||
|
skinparam Padding 5
|
||
|
skinparam ArrowColor $DARK
|
||
|
skinparam stereotype {
|
||
|
CBackgroundColor $SECONDARY_LIGHT
|
||
|
CBorderColor $SECONDARY_DARK
|
||
|
ABackgroundColor $SUCCESS_LIGHT
|
||
|
ABorderColor $SUCCESS_DARK
|
||
|
IBackgroundColor $DANGER_LIGHT
|
||
|
IBorderColor $DANGER_DARK
|
||
|
EBackgroundColor $WARNING_LIGHT
|
||
|
EBorderColor $WARNING_DARK
|
||
|
NBackgroundColor $INFO_LIGHT
|
||
|
NBorderColor $INFO_DARK
|
||
|
}
|
||
|
skinparam title {
|
||
|
FontColor $PRIMARY
|
||
|
BorderColor $SECONDARY_DARK
|
||
|
FontSize 20
|
||
|
BorderRoundCorner 8
|
||
|
BorderThickness 1
|
||
|
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
||
|
}
|
||
|
|
||
|
skinparam legend {
|
||
|
BackgroundColor $SECONDARY
|
||
|
BorderColor $SECONDARY_DARK
|
||
|
FontColor $LIGHT
|
||
|
}
|
||
|
|
||
|
!startsub swimlane
|
||
|
skinparam swimlane {
|
||
|
BorderColor $INFO
|
||
|
BorderThickness 2
|
||
|
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
||
|
TitleFontColor $PRIMARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub activity
|
||
|
|
||
|
skinparam activity {
|
||
|
$primary_scheme()
|
||
|
BarColor $SUCCESS
|
||
|
StartColor $INFO
|
||
|
EndColor $INFO
|
||
|
DiamondBackgroundColor $SECONDARY_LIGHT
|
||
|
DiamondBorderColor $SECONDARY_DARK
|
||
|
DiamondFontColor $SECONDARY_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub participant
|
||
|
|
||
|
skinparam participant {
|
||
|
$primary_scheme()
|
||
|
ParticipantBorderThickness 2
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub actor
|
||
|
|
||
|
skinparam actor {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub arrow
|
||
|
|
||
|
skinparam arrow {
|
||
|
Thickness 3
|
||
|
Color $PRIMARY
|
||
|
FontColor $FGCOLOR
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub sequence
|
||
|
|
||
|
skinparam sequence {
|
||
|
BorderColor $PRIMARY
|
||
|
TitleFontColor $PRIMARY
|
||
|
BackgroundColor $BGCOLOR
|
||
|
StartColor $PRIMARY
|
||
|
EndColor $PRIMARY
|
||
|
BoxBackgroundColor $BGCOLOR
|
||
|
BoxBorderColor $DARK
|
||
|
BoxFontColor $DARk
|
||
|
LifeLineBorderColor $SECONDARY
|
||
|
LifeLineBorderThickness 2
|
||
|
LifeLineBackgroundColor $SECONDARY_DARK
|
||
|
GroupBorderColor $DARK
|
||
|
GroupFontColor $DARK
|
||
|
GroupHeaderFontColor $INFO
|
||
|
GroupBackgroundColor $SECONDARY
|
||
|
GroupBodyBackgroundColor $BGCOLOR
|
||
|
GroupHeaderBackgroundColor $BGCOLOR
|
||
|
DividerBackgroundColor $DARK
|
||
|
DividerBorderColor $DARK
|
||
|
DividerBorderThickness 2
|
||
|
DividerFontColor $LIGHT
|
||
|
ReferenceBackgroundColor $BGCOLOR
|
||
|
ReferenceBorderColor $DARK
|
||
|
ReferenceFontColor $DARK
|
||
|
ReferenceHeaderFontColor $INFO
|
||
|
ReferenceHeaderBackgroundColor $SECONDARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub partition
|
||
|
|
||
|
skinparam partition {
|
||
|
BorderColor $PRIMARY
|
||
|
FontColor $PRIMARY
|
||
|
BackgroundColor $BGCOLOR
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub collections
|
||
|
|
||
|
skinparam collections {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub control
|
||
|
|
||
|
skinparam control {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub entity
|
||
|
|
||
|
skinparam entity {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub boundary
|
||
|
|
||
|
skinparam boundary {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub agent
|
||
|
|
||
|
skinparam agent {
|
||
|
BackgroundColor $WARNING
|
||
|
BorderColor $WARNING_LIGHT
|
||
|
FontColor $DARK
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub note
|
||
|
|
||
|
skinparam note {
|
||
|
BorderThickness 1
|
||
|
BackgroundColor $INFO
|
||
|
BorderColor $INFO_DARK
|
||
|
FontColor $WHITE
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub artifact
|
||
|
|
||
|
skinparam artifact {
|
||
|
BackgroundColor $DARK
|
||
|
BorderColor $DARK_DARK
|
||
|
FontColor $LIGHT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub component
|
||
|
|
||
|
skinparam component {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub interface
|
||
|
|
||
|
skinparam interface {
|
||
|
BackgroundColor $DANGER_DARK
|
||
|
BorderColor $DANGER
|
||
|
FontColor $DARK
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub storage
|
||
|
|
||
|
skinparam storage {
|
||
|
BackgroundColor $WARNING
|
||
|
BorderColor $WARNING_DARK
|
||
|
FontColor $WARNING_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub node
|
||
|
|
||
|
skinparam node {
|
||
|
BackgroundColor $SECONDARY
|
||
|
BorderColor $LIGHT
|
||
|
FontColor $LIGHT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub cloud
|
||
|
|
||
|
skinparam cloud {
|
||
|
BackgroundColor transparent
|
||
|
BorderColor #F2FCFE
|
||
|
FontColor $DARK
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub database
|
||
|
|
||
|
skinparam database {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub class
|
||
|
|
||
|
skinparam class {
|
||
|
$primary_scheme()
|
||
|
HeaderBackgroundColor $PRIMARY_LIGHT
|
||
|
StereotypeFontColor $DARK
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor $PRIMARY_TEXT
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub object
|
||
|
|
||
|
skinparam object {
|
||
|
$primary_scheme()
|
||
|
StereotypeFontColor $DARK
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor $SECONDARY_TEXT
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub usecase
|
||
|
|
||
|
skinparam usecase {
|
||
|
$primary_scheme()
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor $PRIMARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub rectangle
|
||
|
|
||
|
skinparam rectangle {
|
||
|
$primary_scheme()
|
||
|
BackgroundColor $SECONDARY_LIGHT
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor $PRIMARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub package
|
||
|
|
||
|
skinparam package {
|
||
|
BackgroundColor $SECONDARY
|
||
|
BorderColor $PRIMARY
|
||
|
FontColor $PRIMARY
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub folder
|
||
|
|
||
|
skinparam folder {
|
||
|
BackgroundColor $SECONDARY_LIGHT
|
||
|
BorderColor $WARNING
|
||
|
FontColor $WARNING
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub frame
|
||
|
|
||
|
skinparam frame {
|
||
|
BackgroundColor $SECONDARY_LIGHT
|
||
|
BorderColor $INFO
|
||
|
FontColor $INFO
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub state
|
||
|
|
||
|
skinparam state {
|
||
|
$primary_scheme()
|
||
|
BackgroundColor $PRIMARY_LIGHT
|
||
|
StartColor $INFO
|
||
|
EndColor $INFO
|
||
|
AttributeFontColor $SECONDARY_TEXT
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub queue
|
||
|
|
||
|
skinparam queue {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub card
|
||
|
|
||
|
skinparam card {
|
||
|
BackgroundColor $INFO
|
||
|
BorderColor $INFO_DARK
|
||
|
FontColor $INFO_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub file
|
||
|
|
||
|
skinparam file {
|
||
|
BackgroundColor $SECONDARY_DARK
|
||
|
BorderColor $LIGHT
|
||
|
FontColor $LIGHT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub stack
|
||
|
|
||
|
skinparam stack {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!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 defaultFontName "Verdana"
|
||
|
skinparam defaultFontSize 12
|
||
|
skinparam dpi 100
|
||
|
skinparam shadowing false
|
||
|
skinparam roundcorner 8
|
||
|
skinparam ParticipantPadding 40
|
||
|
skinparam BoxPadding 40
|
||
|
skinparam Padding 5
|
||
|
skinparam ArrowColor #3e3f3a
|
||
|
skinparam stereotype {
|
||
|
CBackgroundColor #999890
|
||
|
CBorderColor #807e77
|
||
|
ABackgroundColor #9ecb5d
|
||
|
ABorderColor #84b144
|
||
|
IBackgroundColor #AE423F
|
||
|
IBorderColor #c34b47
|
||
|
EBackgroundColor #f58950
|
||
|
EBorderColor #dc7036
|
||
|
NBackgroundColor #3eb3e3
|
||
|
NBorderColor #259aca
|
||
|
}
|
||
|
skinparam title {
|
||
|
FontColor #325d88
|
||
|
BorderColor #807e77
|
||
|
FontSize 20
|
||
|
BorderRoundCorner 8
|
||
|
BorderThickness 1
|
||
|
BackgroundColor #999890-#8e8c84
|
||
|
}
|
||
|
|
||
|
skinparam legend {
|
||
|
BackgroundColor #8e8c84
|
||
|
BorderColor #807e77
|
||
|
FontColor #f8f5f0
|
||
|
}
|
||
|
|
||
|
skinparam swimlane {
|
||
|
BorderColor #29abe0
|
||
|
BorderThickness 2
|
||
|
TitleBackgroundColor #999890-#8e8c84
|
||
|
TitleFontColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam activity {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
BarColor #93c54b
|
||
|
StartColor #29abe0
|
||
|
EndColor #29abe0
|
||
|
DiamondBackgroundColor #999890
|
||
|
DiamondBorderColor #807e77
|
||
|
DiamondFontColor #fff
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam participant {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
ParticipantBorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam actor {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam arrow {
|
||
|
Thickness 3
|
||
|
Color #325d88
|
||
|
FontColor #fff
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam sequence {
|
||
|
BorderColor #325d88
|
||
|
TitleFontColor #325d88
|
||
|
BackgroundColor transparent
|
||
|
StartColor #325d88
|
||
|
EndColor #325d88
|
||
|
BoxBackgroundColor transparent
|
||
|
BoxBorderColor #3e3f3a
|
||
|
BoxFontColor $DARk
|
||
|
LifeLineBorderColor #8e8c84
|
||
|
LifeLineBorderThickness 2
|
||
|
LifeLineBackgroundColor #807e77
|
||
|
GroupBorderColor #3e3f3a
|
||
|
GroupFontColor #3e3f3a
|
||
|
GroupHeaderFontColor #29abe0
|
||
|
GroupBackgroundColor #8e8c84
|
||
|
GroupBodyBackgroundColor transparent
|
||
|
GroupHeaderBackgroundColor transparent
|
||
|
DividerBackgroundColor #3e3f3a
|
||
|
DividerBorderColor #3e3f3a
|
||
|
DividerBorderThickness 2
|
||
|
DividerFontColor #f8f5f0
|
||
|
ReferenceBackgroundColor transparent
|
||
|
ReferenceBorderColor #3e3f3a
|
||
|
ReferenceFontColor #3e3f3a
|
||
|
ReferenceHeaderFontColor #29abe0
|
||
|
ReferenceHeaderBackgroundColor #8e8c84
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam partition {
|
||
|
BorderColor #325d88
|
||
|
FontColor #325d88
|
||
|
BackgroundColor transparent
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam collections {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam control {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam entity {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam boundary {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam agent {
|
||
|
BackgroundColor #f47c3c
|
||
|
BorderColor #f58950
|
||
|
FontColor #3e3f3a
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam note {
|
||
|
BorderThickness 1
|
||
|
BackgroundColor #29abe0
|
||
|
BorderColor #259aca
|
||
|
FontColor #fff
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam artifact {
|
||
|
BackgroundColor #3e3f3a
|
||
|
BorderColor #383934
|
||
|
FontColor #f8f5f0
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam component {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam interface {
|
||
|
BackgroundColor #c34b47
|
||
|
BorderColor #d9534f
|
||
|
FontColor #3e3f3a
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam storage {
|
||
|
BackgroundColor #f47c3c
|
||
|
BorderColor #dc7036
|
||
|
FontColor #fff
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam node {
|
||
|
BackgroundColor #8e8c84
|
||
|
BorderColor #f8f5f0
|
||
|
FontColor #f8f5f0
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam cloud {
|
||
|
BackgroundColor transparent
|
||
|
BorderColor #F2FCFE
|
||
|
FontColor #3e3f3a
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam database {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam class {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
HeaderBackgroundColor #476d94
|
||
|
StereotypeFontColor #3e3f3a
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor #fff
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam object {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
StereotypeFontColor #3e3f3a
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor #fff
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam usecase {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam rectangle {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
BackgroundColor #999890
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam package {
|
||
|
BackgroundColor #8e8c84
|
||
|
BorderColor #325d88
|
||
|
FontColor #325d88
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam folder {
|
||
|
BackgroundColor #999890
|
||
|
BorderColor #f47c3c
|
||
|
FontColor #f47c3c
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam frame {
|
||
|
BackgroundColor #999890
|
||
|
BorderColor #29abe0
|
||
|
FontColor #29abe0
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam state {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
BackgroundColor #476d94
|
||
|
StartColor #29abe0
|
||
|
EndColor #29abe0
|
||
|
AttributeFontColor #fff
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam queue {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam card {
|
||
|
BackgroundColor #29abe0
|
||
|
BorderColor #259aca
|
||
|
FontColor #fff
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam file {
|
||
|
BackgroundColor #807e77
|
||
|
BorderColor #f8f5f0
|
||
|
FontColor #f8f5f0
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam stack {
|
||
|
FontColor #fff
|
||
|
BorderColor #2d547a
|
||
|
BackgroundColor #325d88
|
||
|
}
|
||
|
|
||
|
title Sequence Diagram - sandstone 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: <font color=#93c54b><b>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: <font color=#d9534f><b>Bad request
|
||
|
group My own label
|
||
|
loop 1000 times
|
||
|
Alice -> Foo1: DNS Attack
|
||
|
end
|
||
|
end
|
||
|
|
||
|
else Just a Warning
|
||
|
|
||
|
Foo1 -> Alice: <font color=#f47c3c><b>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>
|