810 lines
29 KiB
XML
Raw Normal View History

2021-06-25 21:37:59 +08:00
<?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="1179.1667px" preserveAspectRatio="none" style="width:467px;height:1179px;background:#00000000;" version="1.1" viewBox="0 0 467 1179" width="467.7083px" zoomAndPan="magnify"><defs><linearGradient id="g14cx4h45x2f8i0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#CCCCCC"/></linearGradient><linearGradient id="g14cx4h45x2f8i1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F08E41"/><stop offset="100%" stop-color="#EC7211"/></linearGradient></defs><g><rect fill="url(#g14cx4h45x2f8i0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#FFFFFF;stroke-width:1.0416666666666667;" width="455.2083" x="2.0833" y="2.0833"/><text fill="#4E5D6C" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="428.125" x="15.625" y="33.4452">State Diagram - aws-orange-light theme</text><rect fill="#1D8102" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="194.2708" y="141.9861"/><ellipse cx="235.9375" cy="68.0278" fill="#0073BB" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="State2"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="75" x="143.2292" y="213.8611"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="143.2292" x2="218.2292" y1="249.8861" y2="249.8861"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="158.8542" y="236.8449">State2</text></g><g id="State3"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="75" x="260.9375" y="213.8611"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="260.9375" x2="335.9375" y1="249.8861" y2="249.8861"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="276.5625" y="236.8449">State3</text></g><rect fill="#1D8102" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="195.3125" y="360.7361"/><g id="State4"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="75" x="199.4792" y="432.6111"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="199.4792" x2="274.4792" y1="468.6361" y2="468.6361"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="215.1042" y="455.5949">State4</text></g><rect fill="url(#g14cx4h45x2f8i1)" height="620.1416" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="326.0417" x="73.9583" y="553.4444"/><rect height="577.8666" rx="13.0208" ry="13.0208" style="stroke:#00000000;stroke-width:1.0416666666666667;fill:none;" width="319.7917" x="77.0833" y="592.5944"/><line style="stroke:#EC7211;stroke-width:1.5625;fill:none;" x1="73.9583" x2="400" y1="589.4694" y2="589.4694"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="217.7083" y="576.4282">Active</text><ellipse cx="95.8333" cy="630.6152" fill="#0073BB" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.NumLockOff"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="108.3333" x="125" y="601.9694"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="125" x2="233.3333" y1="637.9944" y2="637.9944"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="140.625" y="624.9532">NumLockOff</text></g><g id="Active.NumLockOn"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="108.3333" x="123
link *start*Active to NumLockOff--><path d="M106.25,630.6152 C110.5938,630.6152 114.9271,630.6152 119.2708,630.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="124.7604,630.6152,115.3854,626.4486,119.5521,630.6152,115.3854,634.7819,124.7604,630.6152" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
link NumLockOff to NumLockOn--><path d="M124.75,657.3652 C112.2292,664.4277 101.5104,671.834 97.9167,678.0111 C91.875,688.4173 91.8958,694.6673 97.9167,705.0944 C103,713.9069 110.4792,721.1986 118.8438,727.1777 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="123.5729,730.3652,118.1387,721.6634,119.2577,727.4488,113.4724,728.5677,123.5729,730.3652" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="104.1667" y="696.8282">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
link NumLockOn to NumLockOff--><path d="M223.4792,723.6673 C229.1354,718.2298 234.1146,712.0319 237.5,705.0944 C242.7813,694.2715 242.7292,688.8548 237.5,678.0111 C234.9167,672.6569 231.3854,667.7402 227.3229,663.2611 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="223.4583,659.2715,226.9863,668.905,227.0813,663.0132,232.9731,663.1083,223.4583,659.2715" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="247.9167" y="696.8282">EvNumLockPressed</text><line style="stroke:#EC7211;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="79.1667" x2="392.7083" y1="785.9111" y2="785.9111"/><ellipse cx="95.8333" cy="821.8486" fill="#0073BB" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC87.CapsLockOff"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="112.5" x="125" y="793.2027"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="125" x2="237.5" y1="829.2277" y2="829.2277"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="140.625" y="816.1865">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="112.5" x="123.9583" y="915.0777"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="123.9583" x2="236.4583" y1="951.1027" y2="951.1027"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="139.5833" y="938.0615">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
link *start*CONC87 to CapsLockOff--><path d="M106.5104,821.8486 C110.8229,821.8486 115.1354,821.8486 119.4479,821.8486 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="124.9063,821.8486,115.5313,817.6819,119.6979,821.8486,115.5313,826.0152,124.9063,821.8486" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
link CapsLockOff to CapsLockOn--><path d="M124.5833,848.9423 C112.1146,855.859 101.5208,863.109 97.9167,869.2444 C91.8125,879.6194 91.8438,885.9319 97.9167,896.3277 C103.0833,905.1715 110.625,912.4527 119.0729,918.4111 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="123.8542,921.5881,118.3649,912.9209,119.5206,918.6991,113.7424,919.8547,123.8542,921.5881" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="104.1667" y="888.0615">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
link CapsLockOn to CapsLockOff--><path d="M227.4271,914.8381 C233.1667,909.4423 238.2083,903.2652 241.6667,896.3277 C247.0313,885.5569 246.9896,880.0361 241.6667,869.2444 C239.0208,863.8902 235.4375,858.984 231.3125,854.5256 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="227.3854,850.5673,231.0102,860.1648,231.0459,854.2724,236.9383,854.3081,227.3854,850.5673" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="252.0833" y="888.0615">EvCapsLockPressed</text><line style="stroke:#EC7211;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="79.1667" x2="392.7083" y1="977.1444" y2="977.1444"/><ellipse cx="95.8333" cy="1013.0819" fill="#0073BB" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC95.ScrollLockOff"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="113.5417" x="125.5208" y="984.436"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="125.5208" x2="239.0625" y1="1020.461" y2="1020.461"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="141.1458" y="1007.4198">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect fill="url(#g14cx4h45x2f8i1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="113.5417" x="125.5208" y="1106.311"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="125.5208" x2="239.0625" y1="1142.336" y2="1142.336"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="141.1458" y="1129.2948">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
link *start*CONC95 to ScrollLockOff--><path d="M106.3021,1013.0819 C110.8542,1013.0819 115.4063,1013.0819 119.9583,1013.0819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="125.3021,1013.0819,115.9271,1008.9152,120.0938,1013.0819,115.9271,1017.2485,125.3021,1013.0819" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
link ScrollLockOff to ScrollLockOn--><path d="M125.5208,1035.4777 C115.3229,1041.936 106.0417,1050.1444 100,1060.4777 C93.9271,1070.8735 93.9271,1077.1652 100,1087.561 C105.0938,1096.2798 112.5,1103.4881 120.8125,1109.4048 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="125.5208,1112.561,120.0522,1103.8808,121.1941,1109.6617,115.4133,1110.8036,125.5208,1112.561" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="106.25" y="1079.2948">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
link ScrollLockOn to ScrollLockOff--><path d="M229.5104,1106.0715 C235.25,1100.6756 240.2917,1094.4985 243.75,1087.561 C249.1146,1076.7902 249.1146,1071.2485 243.75,1060.4777 C241.1042,1055.1652 237.5208,1050.3006 233.4167,1045.8944 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="229.5104,1041.9673,233.1739,1051.5501,233.1858,1045.6576,239.0784,1045.6695,229.5104,1041.9673" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="253.125" y="1079.2948">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
link *start to fork_state--><path d="M235.9375,78.7048 C235.9375,93.5382 235.9375,121.7569 235.9375,136.1632 " fill="none" id="*start-to-fork_state" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="235.9375,141.7153,240.1042,132.3403,235.9375,136.5069,231.7708,132.3403,235.9375,141.7153" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
link fork_state to State2--><path d="M234.1042,150.3298 C228.7604,159.4548 212.7604,186.7673 199.6667,209.1319 " fill="none" id="fork_state-to-State2" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="196.9167,213.8298,205.2519,207.8485,199.5502,209.3364,198.0623,203.6348,196.9167,213.8298" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
link fork_state to State3--><path d="M238.0208,150.3298 C244.0938,159.4965 262.3333,186.9965 277.1875,209.4132 " fill="none" id="fork_state-to-State3" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="280.1146,213.8298,278.3811,203.7181,277.2255,209.4962,271.4474,208.3406,280.1146,213.8298" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
link State2 to join_state--><path d="M166.7708,271.3923 C159.9479,289.2153 155.3021,312.1736 166.1458,329.4861 C176.5104,346.0382 197.3646,354.8194 213.7708,359.3507 " fill="none" id="State2-to-join_state" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="219.1458,360.7257,211.1009,354.3593,214.101,359.431,209.0293,362.4311,219.1458,360.7257" style="stroke:#EC7211;stroke-width:3.125;"/><text fill="#4E5D6C" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="98.9583" x="172.3958" y="321.2199">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
link State3 to join_state--><path d="M298.0208,271.2986 C296.6042,289.0903 292.5625,312.0382 281.7708,329.4861 C273.7083,342.5278 258.7813,352.4653 248.3854,358.2257 " fill="none" id="State3-to-join_state" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="243.6875,360.7048,253.9228,360.0039,248.2913,358.2693,250.0259,352.6378,243.6875,360.7048" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
link join_state to State4--><path d="M236.9792,369.0798 C236.9792,378.1319 236.9792,405.0694 236.9792,427.3194 " fill="none" id="join_state-to-State4" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="236.9792,432.5798,241.1458,423.2048,236.9792,427.3715,232.8125,423.2048,236.9792,432.5798" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
link State4 to Active--><path d="M236.9792,490.1111 C236.9792,504.934 236.9792,524.8507 236.9792,547.809 " fill="none" id="State4-to-Active" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="236.9792,553.059,241.1458,543.684,236.9792,547.8507,232.8125,543.684,236.9792,553.059" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[9c610e6fc660b2128568a972127b085b]
@startuml
!$THEME = "aws-orange-light"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#868e96"
!$PRIMARY = "#EC7211"
!$SECONDARY = "#FFFFFF"
!$SUCCESS = "#1D8102"
!$INFO = "#0073bb"
!$WARNING = "#EC7211"
!$DANGER = "#d13212"
!$LIGHT = "#abb6c2"
!$DARK = "#4E5D6C"
!$FGCOLOR = $DARK
!$PRIMARY_DARK = "#bd5b0e"
!$PRIMARY_LIGHT = "#f08e41"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_DARK = "#cccccc"
!$SECONDARY_LIGHT = "#ffffff"
!$SECONDARY_TEXT = $DARK
!$INFO_DARK = "#005c96"
!$INFO_LIGHT = "#338fc9"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#176702"
!$SUCCESS_LIGHT = "#4a9a35"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#bd5b0e"
!$WARNING_LIGHT = "#f08e41"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#a7280e"
!$DANGER_LIGHT = "#da5b41"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#717d89"
!$DARK_LIGHT = "#3e4a56"
!$LIGHT_DARK = "#bcc5ce"
!$LIGHT_LIGHT = "#89929b"
!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
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endprocedure
!_POST = "<color #007a3e>POST</color>"
!_PUT = "<color #ea7400>PUT</color>"
!_DELETE = "<color #cf2a2a>DELETE</color>"
!_GET = "<color #009fdb>GET</color>"
!_PATCH = "<color #b5bd00>PATCH</color>"
!_HEAD = "<color #9012fe>HEAD</color>"
!procedure $OK($x)
<color green>$x</color>
!endprocedure
!procedure $ERROR($x)
<color red>$x</color>
!endprocedure
!procedure $COND($x)
<color orange>x</color>
!endprocedure
!procedure $REDSTAR()
<color red>*</color>
!endprocedure
!procedure $REQ($x)
<b>x</b>
!endprocedure
!procedure $OPT($x)
<color #555>x</color>
!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 $DARK
BorderColor $SECONDARY
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY-$SECONDARY_DARK
}
skinparam legend {
BackgroundColor $SECONDARY
BorderColor $SECONDARY_DARK
FontColor $LIGHT
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY-$SECONDARY_DARK
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()
FontColor $DARK
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
ArrowThickness 3
BorderColor $PRIMARY
TitleFontColor $PRIMARY
BackgroundColor $BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
BoxBackgroundColor $BGCOLOR
BoxBorderColor $DARK
BoxFontColor $DARk
LifeLineBorderColor $LIGHT
LifeLineBorderThickness 2
LifeLineBackgroundColor $LIGHT_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
StereotypeFontColor $DARK
}
!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()
FontColor $DARK
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
FontColor $DARK
}
!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 $BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $DARK
FontColor $LIGHT
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $DARK
}
!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 $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
BackgroundColor $BGCOLOR
FontColor $DARK
BorderColor $DARK
BorderThickness 2
StereotypeFontColor $LIGHT
}
!endsub
!startsub package
skinparam package {
BackgroundColor $SECONDARY
BorderColor $DARK
FontColor $DARK
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()
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 $DARK
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!if %variable_exists("$THEME")
title State Diagram - $THEME theme
!else
title State Diagram
!endif
'skinparam BackgroundColor transparent
state fork_state <<fork>>
[*] - -> fork_state
fork_state - -> State2
fork_state - -> State3
state join_state <<join>>
State2 - -> join_state: some message
State3 - -> join_state
join_state - -> State4
State4 - -> Active
state Active {
[*] -> NumLockOff
NumLockOff - -> NumLockOn : EvNumLockPressed
NumLockOn - -> NumLockOff : EvNumLockPressed
- -
[*] -> CapsLockOff
CapsLockOff - -> CapsLockOn : EvCapsLockPressed
CapsLockOn - -> CapsLockOff : EvCapsLockPressed
- -
[*] -> ScrollLockOff
ScrollLockOff - -> ScrollLockOn : EvCapsLockPressed
ScrollLockOn - -> ScrollLockOff : EvCapsLockPressed
}
@enduml
@startuml
skinparam backgroundColor transparent
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 #4E5D6C
skinparam stereotype {
CBackgroundColor #ffffff
CBorderColor #cccccc
ABackgroundColor #4a9a35
ABorderColor #176702
IBackgroundColor #da5b41
IBorderColor #a7280e
EBackgroundColor #f08e41
EBorderColor #bd5b0e
NBackgroundColor #338fc9
NBorderColor #005c96
}
skinparam title {
FontColor #4E5D6C
BorderColor #FFFFFF
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #FFFFFF-#cccccc
}
skinparam legend {
BackgroundColor #FFFFFF
BorderColor #cccccc
FontColor #abb6c2
}
skinparam swimlane {
BorderColor #0073bb
BorderThickness 2
TitleBackgroundColor #FFFFFF-#cccccc
TitleFontColor #EC7211
}
skinparam activity {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
BarColor #1D8102
StartColor #0073bb
EndColor #0073bb
DiamondBackgroundColor #ffffff
DiamondBorderColor #cccccc
DiamondFontColor #4E5D6C
}
skinparam participant {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam arrow {
Thickness 3
Color #EC7211
FontColor #4E5D6C
}
skinparam sequence {
ArrowThickness 3
BorderColor #EC7211
TitleFontColor #EC7211
BackgroundColor transparent
StartColor #EC7211
EndColor #EC7211
BoxBackgroundColor transparent
BoxBorderColor #4E5D6C
BoxFontColor $DARk
LifeLineBorderColor #abb6c2
LifeLineBorderThickness 2
LifeLineBackgroundColor #bcc5ce
GroupBorderColor #4E5D6C
GroupFontColor #4E5D6C
GroupHeaderFontColor #0073bb
GroupBackgroundColor #FFFFFF
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #4E5D6C
DividerBorderColor #4E5D6C
DividerBorderThickness 2
DividerFontColor #abb6c2
ReferenceBackgroundColor transparent
ReferenceBorderColor #4E5D6C
ReferenceFontColor #4E5D6C
ReferenceHeaderFontColor #0073bb
ReferenceHeaderBackgroundColor #FFFFFF
StereotypeFontColor #4E5D6C
}
skinparam partition {
BorderColor #EC7211
FontColor #EC7211
BackgroundColor transparent
}
skinparam collections {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam control {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam entity {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam boundary {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam agent {
BackgroundColor #EC7211
BorderColor #f08e41
FontColor #4E5D6C
}
skinparam note {
BorderThickness 1
BackgroundColor #0073bb
BorderColor #005c96
FontColor #FFF
}
skinparam artifact {
BackgroundColor #4E5D6C
BorderColor #717d89
FontColor #abb6c2
}
skinparam component {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam interface {
BackgroundColor #a7280e
BorderColor #d13212
FontColor #4E5D6C
}
skinparam storage {
BackgroundColor #EC7211
BorderColor #bd5b0e
FontColor #FFF
}
skinparam node {
BackgroundColor transparent
BorderColor #abb6c2
FontColor #abb6c2
}
skinparam cloud {
BackgroundColor transparent
BorderColor #4E5D6C
FontColor #abb6c2
}
skinparam database {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam class {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
HeaderBackgroundColor #f08e41
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor #FFF
AttributeFontSize 11
}
skinparam object {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor #FFF
AttributeFontSize 11
}
skinparam usecase {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
BorderThickness 2
StereotypeFontColor #EC7211
}
skinparam rectangle {
BackgroundColor transparent
FontColor #4E5D6C
BorderColor #4E5D6C
BorderThickness 2
StereotypeFontColor #abb6c2
}
skinparam package {
BackgroundColor #FFFFFF
BorderColor #4E5D6C
FontColor #4E5D6C
BorderThickness 2
}
skinparam folder {
BackgroundColor #ffffff
BorderColor #EC7211
FontColor #EC7211
BorderThickness 2
}
skinparam frame {
BackgroundColor #ffffff
BorderColor #0073bb
FontColor #0073bb
BorderThickness 2
}
skinparam state {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
StartColor #0073bb
EndColor #0073bb
AttributeFontColor #4E5D6C
AttributeFontSize 11
}
skinparam queue {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam card {
BackgroundColor #0073bb
BorderColor #005c96
FontColor #FFF
}
skinparam file {
BackgroundColor #cccccc
BorderColor #abb6c2
FontColor #4E5D6C
}
skinparam stack {
FontColor #FFF
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
title State Diagram - aws-orange-light theme
state fork_state <<fork>>
[*] - -> fork_state
fork_state - -> State2
fork_state - -> State3
state join_state <<join>>
State2 - -> join_state: some message
State3 - -> join_state
join_state - -> State4
State4 - -> Active
state Active {
[*] -> NumLockOff
NumLockOff - -> NumLockOn : EvNumLockPressed
NumLockOn - -> NumLockOff : EvNumLockPressed
- -
[*] -> CapsLockOff
CapsLockOff - -> CapsLockOn : EvCapsLockPressed
CapsLockOn - -> CapsLockOff : EvCapsLockPressed
- -
[*] -> ScrollLockOff
ScrollLockOff - -> ScrollLockOn : EvCapsLockPressed
ScrollLockOn - -> ScrollLockOff : EvCapsLockPressed
}
@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>