demo_doc/puml/silver/swimlane-ex.svg
2021-06-25 21:37:59 +08:00

839 lines
21 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="537.5px" preserveAspectRatio="none" style="width:616px;height:537px;background:#00000000;" version="1.1" viewBox="0 0 616 537" width="616.6667px" zoomAndPan="magnify"><defs><linearGradient id="g1va1mwy5kofwm0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#DEDEDE"/><stop offset="100%" stop-color="#D6D6D6"/></linearGradient><linearGradient id="g1va1mwy5kofwm1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#D6D6D6"/><stop offset="100%" stop-color="#ABABAB"/></linearGradient><linearGradient id="g1va1mwy5kofwm2" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#EEEEEE"/><stop offset="100%" stop-color="#BEBEBE"/></linearGradient></defs><g><rect fill="url(#g1va1mwy5kofwm0)" height="31.8583" style="stroke:url(#g1va1mwy5kofwm0);stroke-width:1.0416666666666667;" width="583.0729" x="15.625" y="11.4583"/><ellipse cx="145.0521" cy="58.9417" fill="#336699" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><polygon fill="url(#g1va1mwy5kofwm1)" points="117.4479,90.1917,172.6563,90.1917,185.1563,106.1208,172.6563,122.05,117.4479,122.05,104.9479,106.1208,117.4479,90.1917" style="stroke:#ABABAB;stroke-width:1.5625;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="125.7813" y="111.0921">color?</text><text fill="#303030" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="21.875" x="74.7396" y="95.163">red</text><text fill="#303030" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="47.9167" x="193.4896" y="95.163">not red</text><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="106.25" x="21.875" y="142.8833"/><text fill="#336699" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="68.75" x="40.625" y="174.2004">action red</text><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="66.6667" x="41.6667" y="216.4083"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="60.4167" y="247.7254">foo1</text><polygon fill="url(#g1va1mwy5kofwm1)" points="145.0521,279.5166,157.5521,292.0166,145.0521,304.5166,132.5521,292.0166,145.0521,279.5166" style="stroke:#ABABAB;stroke-width:1.5625;"/><line style="stroke:#336699;stroke-width:2.0833333333333335;" x1="15.625" x2="15.625" y1="11.4583" y2="525.0916"/><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="132.2917" x="253.9063" y="142.8833"/><text fill="#336699" font-family="Verdana" font-size="12.5" font-weight="bold" lengthAdjust="spacing" textLength="94.7917" x="272.6563" y="174.2004">action not red</text><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="66.6667" x="286.7188" y="216.4083"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="305.4688" y="247.7254">foo2</text><line style="stroke:#336699;stroke-width:2.0833333333333335;" x1="246.6146" x2="246.6146" y1="11.4583" y2="525.0916"/><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="66.6667" x="408.5938" y="325.3499"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="427.3438" y="356.6671">foo3</text><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="66.6667" x="408.5938" y="398.8749"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="427.3438" y="430.1921">foo4</text><line style="stroke:#336699;stroke-width:2.0833333333333335;" x1="391.4063" x2="391.4063" y1="11.4583" y2="525.0916"/><rect fill="url(#g1va1mwy5kofwm2)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#F1F1F1;stroke-width:1.5625;" width="66.6667" x="507.5521" y="472.3999"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="29.1667" x="526.3021" y="503.717">stop</text><line style="stroke:#336699;stroke-width:2.0833333333333335;" x1="490.3646" x2="490.3646" y1="11.4583" y2="525.0916"/><line style="stroke:#336699;stroke-width:2.0833333333333335;" x1="589.3229" x2="589.3229" y1="11.4583" y2="525.0916"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="75" x2="75" y1="195.575" y2="216.4083"/><polygon fill="#EEEEEE" points="70.8333,205.9916,75,216.4083,79.1667,205.9916,75,210.1583" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="104.9479" x2="75" y1="106.1208" y2="106.1208"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="75" x2="75" y1="106.1208" y2="142.8833"/><polygon fill="#EEEEEE" points="70.8333,132.4666,75,142.8833,79.1667,132.4666,75,136.6333" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="75" x2="75" y1="269.0999" y2="292.0166"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="75" x2="132.5521" y1="292.0166" y2="292.0166"/><polygon fill="#EEEEEE" points="122.1354,287.8499,132.5521,292.0166,122.1354,296.1833,126.3021,292.0166" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="145.0521" x2="145.0521" y1="69.3583" y2="90.1917"/><polygon fill="#EEEEEE" points="140.8854,79.775,145.0521,90.1917,149.2188,79.775,145.0521,83.9417" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="320.0521" x2="320.0521" y1="195.575" y2="216.4083"/><polygon fill="#EEEEEE" points="315.8854,205.9916,320.0521,216.4083,324.2188,205.9916,320.0521,210.1583" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="441.9271" x2="441.9271" y1="378.0416" y2="398.8749"/><polygon fill="#EEEEEE" points="437.7604,388.4583,441.9271,398.8749,446.0938,388.4583,441.9271,392.6249" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="185.1563" x2="320.0521" y1="106.1208" y2="106.1208"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="320.0521" x2="320.0521" y1="106.1208" y2="142.8833"/><polygon fill="#EEEEEE" points="315.8854,132.4666,320.0521,142.8833,324.2188,132.4666,320.0521,136.6333" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="320.0521" x2="320.0521" y1="269.0999" y2="292.0166"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="320.0521" x2="157.5521" y1="292.0166" y2="292.0166"/><polygon fill="#EEEEEE" points="167.9688,287.8499,157.5521,292.0166,167.9688,296.1833,163.8021,292.0166" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="145.0521" x2="145.0521" y1="304.5166" y2="309.7249"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="145.0521" x2="441.9271" y1="309.7249" y2="309.7249"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="441.9271" x2="441.9271" y1="309.7249" y2="325.3499"/><polygon fill="#EEEEEE" points="437.7604,314.9333,441.9271,325.3499,446.0938,314.9333,441.9271,319.0999" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="441.9271" x2="441.9271" y1="451.5666" y2="456.7749"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="441.9271" x2="540.8854" y1="456.7749" y2="456.7749"/><line style="stroke:#EEEEEE;stroke-width:1.5625;" x1="540.8854" x2="540.8854" y1="456.7749" y2="472.3999"/><polygon fill="#EEEEEE" points="536.7188,461.9832,540.8854,472.3999,545.0521,461.9832,540.8854,466.1499" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;"/><text fill="#EEEEEE" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="92.7083" x="84.7656" y="32.3588">Actor_For_red</text><text fill="#EEEEEE" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="117.7083" x="260.1563" y="32.3588">Actor_For_no_red</text><text fill="#EEEEEE" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="71.875" x="404.9479" y="32.3588">Next_Actor</text><text fill="#EEEEEE" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="71.875" x="503.9063" y="32.3588">Final_Actor</text><!--MD5=[5fa03ddfb6f13467e9b18a0a32a70e36]
@startuml
!$THEME = "silver"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#FFF"
!$GRAY_DARK = "#4d4d4d"
!$GRAY = "#737373"
!$LIGHT = "#ffffff"
!$DARK = "#303030"
!$FGCOLOR = $DARK
!$PRIMARY = "#eeeeee"
!$PRIMARY_LIGHT = "#f1f1f1"
!$PRIMARY_DARK = "#bebebe"
!$PRIMARY_TEXT = "#336699"
!$SECONDARY = "#d6d6d6"
!$SECONDARY_LIGHT = "#dedede"
!$SECONDARY_DARK = "#ababab"
!$SECONDARY_TEXT = $LIGHT
!$INFO = "#336699"
!$INFO_LIGHT = "#5c85ad"
!$INFO_DARK = "#29527a"
!$INFO_TEXT = $WHITE
!$SUCCESS = "#339933"
!$SUCCESS_LIGHT = "#5cad5c"
!$SUCCESS_DARK = "#297a29"
!$SUCCESS_TEXT = $WHITE
!$WARNING = "#ffae42"
!$WARNING_LIGHT = "#ffbe68"
!$WARNING_DARK = "#cc8b35"
!$WARNING_TEXT = $WHITE
!$DANGER = "#ff3333"
!$DANGER_LIGHT = "#ff5c5c"
!$DANGER_DARK = "#cc2929"
!$DANGER_TEXT = $WHITE
!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_LIGHT
BackgroundColor $PRIMARY-$PRIMARY_DARK
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor $GRAY
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 $SECONDARY_TEXT
}
!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-$SECONDARY_DARK
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $DARK
}
!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 $GRAY
BoxFontColor $DARK
LifeLineBorderColor $SECONDARY_DARK
LifeLineBorderThickness 2
LifeLineBackgroundColor $SECONDARY_LIGHT
GroupBorderColor $GRAY
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $WHITE-$LIGHT
DividerBorderColor $GRAY
DividerBorderThickness 2
DividerFontColor $DARK
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $GRAY
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY_DARK
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 #orange
BorderColor #999999
FontColor #333333
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $INFO_LIGHT-$INFO
BorderColor $INFO
FontColor $WHITE
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
BorderColor $SECONDARY_DARK
FontColor $SECONDARY_TEXT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_LIGHT
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_LIGHT-$WARNING
BorderColor $WARNING
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY_DARK
BorderColor $PRIMARY_LIGHT
FontColor $PRIMARY_TEXT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY_DARK
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 9
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $LIGHT
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 $PRIMARY_LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
$primary_scheme()
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $PRIMARY-$PRIMARY_DARK
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $PRIMARY-$PRIMARY_DARK
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_LIGHT-$INFO
BorderColor $INFO
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
|Actor_For_red|
start
if (color?) is (red) then
:**action red**;
:foo1;
else (not red)
|Actor_For_no_red|
:**action not red**;
:foo2;
endif
|Next_Actor|
:foo3;
:foo4;
|Final_Actor|
:stop;
@enduml
@startuml
skinparam backgroundColor transparent
skinparam useBetaStyle false
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor #737373
skinparam stereotype {
CBackgroundColor #dedede
CBorderColor #ababab
ABackgroundColor #5cad5c
ABorderColor #297a29
IBackgroundColor #ff5c5c
IBorderColor #cc2929
EBackgroundColor #ffbe68
EBorderColor #cc8b35
NBackgroundColor #5c85ad
NBorderColor #29527a
}
skinparam title {
FontColor #eeeeee
BorderColor #ababab
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #dedede-#d6d6d6
}
skinparam legend {
BackgroundColor #d6d6d6
BorderColor #ababab
FontColor #ffffff
}
skinparam swimlane {
BorderColor #336699
BorderThickness 2
TitleBackgroundColor #dedede-#d6d6d6
TitleFontColor #eeeeee
}
skinparam activity {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BarColor #339933
StartColor #336699
EndColor #336699
DiamondBackgroundColor #d6d6d6-#ababab
DiamondBorderColor #ababab
DiamondFontColor #ffffff
}
skinparam participant {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
FontColor #303030
}
skinparam arrow {
Thickness 3
Color #eeeeee
FontColor #303030
}
skinparam sequence {
BorderColor #eeeeee
TitleFontColor #eeeeee
BackgroundColor transparent
StartColor #eeeeee
EndColor #eeeeee
BoxBackgroundColor transparent
BoxBorderColor #737373
BoxFontColor #303030
LifeLineBorderColor #ababab
LifeLineBorderThickness 2
LifeLineBackgroundColor #dedede
GroupBorderColor #737373
GroupFontColor #303030
GroupHeaderFontColor #336699
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #FFF-#ffffff
DividerBorderColor #737373
DividerBorderThickness 2
DividerFontColor #303030
ReferenceBackgroundColor transparent
ReferenceBorderColor #737373
ReferenceFontColor #303030
ReferenceHeaderFontColor #336699
}
skinparam partition {
BorderColor #eeeeee
FontColor #bebebe
BackgroundColor transparent
}
skinparam collections {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam control {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam entity {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam boundary {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
skinparam note {
BorderThickness 1
BackgroundColor #5c85ad-#336699
BorderColor #336699
FontColor #FFF
}
skinparam artifact {
BackgroundColor #dedede-#ababab
BorderColor #ababab
FontColor #ffffff
}
skinparam component {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam interface {
BackgroundColor #ff5c5c
BorderColor #ff3333
FontColor #303030
}
skinparam storage {
BackgroundColor #ffbe68-#ffae42
BorderColor #ffae42
FontColor #FFF
}
skinparam node {
BackgroundColor #f1f1f1-#bebebe
BorderColor #f1f1f1
FontColor #336699
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #303030
}
skinparam database {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
FontColor #303030
}
skinparam class {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
HeaderBackgroundColor #f1f1f1-#bebebe
StereotypeFontColor #303030
BorderThickness 1
AttributeFontColor #303030
AttributeFontSize 9
}
skinparam object {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
StereotypeFontColor #ffffff
BorderThickness 1
AttributeFontColor #ffffff
AttributeFontSize 11
}
skinparam usecase {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BorderThickness 2
StereotypeFontColor #eeeeee
}
skinparam rectangle {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BackgroundColor #f1f1f1
BorderThickness 2
StereotypeFontColor #eeeeee
}
skinparam package {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BorderThickness 2
}
skinparam folder {
BackgroundColor #eeeeee-#bebebe
BorderColor #ffae42
FontColor #ffae42
BorderThickness 2
}
skinparam frame {
BackgroundColor #eeeeee-#bebebe
BorderColor #336699
FontColor #336699
BorderThickness 2
}
skinparam state {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
StartColor #336699
EndColor #336699
AttributeFontColor #ffffff
AttributeFontSize 11
}
skinparam queue {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam card {
BackgroundColor #5c85ad-#336699
BorderColor #336699
FontColor #FFF
}
skinparam file {
BackgroundColor #dedede-#d6d6d6
BorderColor #ffffff
FontColor #ffffff
}
skinparam stack {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
|Actor_For_red|
start
if (color?) is (red) then
:**action red**;
:foo1;
else (not red)
|Actor_For_no_red|
:**action not red**;
:foo2;
endif
|Next_Actor|
:foo3;
:foo4;
|Final_Actor|
:stop;
@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>