demo_doc/puml/aws-orange/state-ex.svg

830 lines
30 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:340px;height:1179px;background:#00000000;" version="1.1" viewBox="0 0 340 1179" width="340.625px" zoomAndPan="magnify"><defs><linearGradient id="g1idyw9627xlz90" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#EEEEEE"/></linearGradient><linearGradient id="g1idyw9627xlz91" 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(#g1idyw9627xlz90)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#EEEEEE;stroke-width:1.0416666666666667;" width="179.1667" x="73.4375" y="2.0833"/><text fill="#EC7211" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="152.0833" x="86.9792" y="33.4452">State Diagram</text><rect fill="#1D8102" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="127.6042" y="141.9861"/><ellipse cx="169.2708" cy="68.0278" fill="#0073BB" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="State2"><rect fill="url(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="75" x="76.5625" y="213.8611"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="76.5625" x2="151.5625" y1="249.8861" y2="249.8861"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="92.1875" y="236.8449">State2</text></g><g id="State3"><rect fill="url(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="75" x="194.2708" y="213.8611"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="194.2708" x2="269.2708" y1="249.8861" y2="249.8861"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="209.8958" y="236.8449">State3</text></g><rect fill="#1D8102" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="128.6458" y="360.7361"/><g id="State4"><rect fill="url(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="75" x="132.8125" y="432.6111"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="132.8125" x2="207.8125" y1="468.6361" y2="468.6361"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="148.4375" y="455.5949">State4</text></g><rect fill="url(#g1idyw9627xlz91)" height="620.1416" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="326.0417" x="7.2917" 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="10.4167" y="592.5944"/><line style="stroke:#EC7211;stroke-width:1.5625;fill:none;" x1="7.2917" x2="333.3333" y1="589.4694" y2="589.4694"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="151.0417" y="576.4282">Active</text><ellipse cx="29.1667" 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(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="108.3333" x="58.3333" y="601.9694"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="58.3333" x2="166.6667" y1="637.9944" y2="637.9944"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="73.9583" y="624.9532">NumLockOff</text></g><g id="Active.NumLockOn"><rect fill="url(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="108.3333" x="57.2917" y="723.84
link *start*Active to NumLockOff--><path d="M39.5833,630.6152 C43.9271,630.6152 48.2604,630.6152 52.6042,630.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="58.0938,630.6152,48.7188,626.4486,52.8854,630.6152,48.7188,634.7819,58.0938,630.6152" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
link NumLockOff to NumLockOn--><path d="M58.0833,657.3652 C45.5625,664.4277 34.8438,671.834 31.25,678.0111 C25.2083,688.4173 25.2292,694.6673 31.25,705.0944 C36.3333,713.9069 43.8125,721.1986 52.1771,727.1777 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="56.9063,730.3652,51.4721,721.6634,52.5911,727.4488,46.8057,728.5677,56.9063,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="37.5" y="696.8282">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
link NumLockOn to NumLockOff--><path d="M156.8125,723.6673 C162.4688,718.2298 167.4479,712.0319 170.8333,705.0944 C176.1146,694.2715 176.0625,688.8548 170.8333,678.0111 C168.25,672.6569 164.7188,667.7402 160.6563,663.2611 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="156.7917,659.2715,160.3196,668.905,160.4146,663.0132,166.3064,663.1083,156.7917,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="181.25" y="696.8282">EvNumLockPressed</text><line style="stroke:#EC7211;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="12.5" x2="326.0417" y1="785.9111" y2="785.9111"/><ellipse cx="29.1667" 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(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="112.5" x="58.3333" y="793.2027"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="58.3333" x2="170.8333" y1="829.2277" y2="829.2277"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="73.9583" y="816.1865">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect fill="url(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="112.5" x="57.2917" y="915.0777"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="57.2917" x2="169.7917" y1="951.1027" y2="951.1027"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="72.9167" y="938.0615">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
link *start*CONC87 to CapsLockOff--><path d="M39.8438,821.8486 C44.1563,821.8486 48.4688,821.8486 52.7813,821.8486 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="58.2396,821.8486,48.8646,817.6819,53.0313,821.8486,48.8646,826.0152,58.2396,821.8486" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
link CapsLockOff to CapsLockOn--><path d="M57.9167,848.9423 C45.4479,855.859 34.8542,863.109 31.25,869.2444 C25.1458,879.6194 25.1771,885.9319 31.25,896.3277 C36.4167,905.1715 43.9583,912.4527 52.4063,918.4111 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="57.1875,921.5881,51.6983,912.9209,52.8539,918.6991,47.0758,919.8547,57.1875,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="37.5" y="888.0615">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
link CapsLockOn to CapsLockOff--><path d="M160.7604,914.8381 C166.5,909.4423 171.5417,903.2652 175,896.3277 C180.3646,885.5569 180.3229,880.0361 175,869.2444 C172.3542,863.8902 168.7708,858.984 164.6458,854.5256 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="160.7188,850.5673,164.3435,860.1648,164.3792,854.2724,170.2717,854.3081,160.7188,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="185.4167" y="888.0615">EvCapsLockPressed</text><line style="stroke:#EC7211;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="12.5" x2="326.0417" y1="977.1444" y2="977.1444"/><ellipse cx="29.1667" 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(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="113.5417" x="58.8542" y="984.436"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="58.8542" x2="172.3958" y1="1020.461" y2="1020.461"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="74.4792" y="1007.4198">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect fill="url(#g1idyw9627xlz91)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#EC7211;stroke-width:1.5625;" width="113.5417" x="58.8542" y="1106.311"/><line style="stroke:#EC7211;stroke-width:1.5625;" x1="58.8542" x2="172.3958" y1="1142.336" y2="1142.336"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="74.4792" y="1129.2948">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
link *start*CONC95 to ScrollLockOff--><path d="M39.6354,1013.0819 C44.1875,1013.0819 48.7396,1013.0819 53.2917,1013.0819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="58.6354,1013.0819,49.2604,1008.9152,53.4271,1013.0819,49.2604,1017.2485,58.6354,1013.0819" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
link ScrollLockOff to ScrollLockOn--><path d="M58.8542,1035.4777 C48.6563,1041.936 39.375,1050.1444 33.3333,1060.4777 C27.2604,1070.8735 27.2604,1077.1652 33.3333,1087.561 C38.4271,1096.2798 45.8333,1103.4881 54.1458,1109.4048 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="58.8542,1112.561,53.3855,1103.8808,54.5274,1109.6617,48.7466,1110.8036,58.8542,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="39.5833" y="1079.2948">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
link ScrollLockOn to ScrollLockOff--><path d="M162.8438,1106.0715 C168.5833,1100.6756 173.625,1094.4985 177.0833,1087.561 C182.4479,1076.7902 182.4479,1071.2485 177.0833,1060.4777 C174.4375,1055.1652 170.8542,1050.3006 166.75,1045.8944 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="162.8438,1041.9673,166.5072,1051.5501,166.5192,1045.6576,172.4117,1045.6695,162.8438,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="186.4583" y="1079.2948">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
link *start to fork_state--><path d="M169.2708,78.7048 C169.2708,93.5382 169.2708,121.7569 169.2708,136.1632 " fill="none" id="*start-to-fork_state" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="169.2708,141.7153,173.4375,132.3403,169.2708,136.5069,165.1042,132.3403,169.2708,141.7153" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
link fork_state to State2--><path d="M167.4375,150.3298 C162.0938,159.4548 146.0938,186.7673 133,209.1319 " fill="none" id="fork_state-to-State2" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="130.25,213.8298,138.5852,207.8485,132.8836,209.3364,131.3957,203.6348,130.25,213.8298" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
link fork_state to State3--><path d="M171.3542,150.3298 C177.4271,159.4965 195.6667,186.9965 210.5208,209.4132 " fill="none" id="fork_state-to-State3" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="213.4479,213.8298,211.7145,203.7181,210.5589,209.4962,204.7807,208.3406,213.4479,213.8298" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
link State2 to join_state--><path d="M100.1042,271.3923 C93.2813,289.2153 88.6354,312.1736 99.4792,329.4861 C109.8438,346.0382 130.6979,354.8194 147.1042,359.3507 " fill="none" id="State2-to-join_state" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="152.4792,360.7257,144.4342,354.3593,147.4343,359.431,142.3627,362.4311,152.4792,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="105.7292" y="321.2199">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
link State3 to join_state--><path d="M231.3542,271.2986 C229.9375,289.0903 225.8958,312.0382 215.1042,329.4861 C207.0417,342.5278 192.1146,352.4653 181.7188,358.2257 " fill="none" id="State3-to-join_state" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="177.0208,360.7048,187.2561,360.0039,181.6246,358.2693,183.3592,352.6378,177.0208,360.7048" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
link join_state to State4--><path d="M170.3125,369.0798 C170.3125,378.1319 170.3125,405.0694 170.3125,427.3194 " fill="none" id="join_state-to-State4" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="170.3125,432.5798,174.4792,423.2048,170.3125,427.3715,166.1458,423.2048,170.3125,432.5798" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
link State4 to Active--><path d="M170.3125,490.1111 C170.3125,504.934 170.3125,524.8507 170.3125,547.809 " fill="none" id="State4-to-Active" style="stroke:#EC7211;stroke-width:3.125;"/><polygon fill="#EC7211" points="170.3125,553.059,174.4792,543.684,170.3125,547.8507,166.1458,543.684,170.3125,553.059" style="stroke:#EC7211;stroke-width:3.125;"/><!--MD5=[c11827f9a4f43cd4f47d22a5a86d7561]
@startuml
!$PUML_THEME = "aws-orange"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
!if %not(%variable_exists("$PUML_MODE"))
!$PUML_MODE = "light"
!endif
!if %not(%variable_exists("$PUML_OUTLINE"))
!$PUML_OUTLINE = "false"
!endif
skinparam BackgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#868e96"
!$PRIMARY = "#EC7211"
!$WARNING = "#EC7211"
!$LIGHT = "#abb6c2"
!$DARK = "#4E5D6C"
!if ($PUML_MODE == "light")
!$SECONDARY = "#eeeeee"
!$SECONDARY_DARK = "#bebebe"
!$SECONDARY_LIGHT = "#ffffff"
!$SUCCESS = "#1D8102"
!$SUCCESS_DARK = "#176702"
!$SUCCESS_LIGHT = "#4a9a35"
!$INFO = "#0073bb"
!$INFO_DARK = "#005c96"
!$INFO_LIGHT = "#338fc9"
!$DANGER = "#d13212"
!$DANGER_DARK = "#a7280e"
!$DANGER_LIGHT = "#da5b41"
!$SECONDARY_TEXT = $DARK
!$FGCOLOR = $DARK
!$DIAMOND_BD = $SECONDARY_DARK
!else
!$SECONDARY = "#2a2e33"
!$SECONDARY_DARK = "#222529"
!$SECONDARY_LIGHT = "#55585c"
!$SUCCESS = "#6aaf35"
!$SUCCESS_DARK = "#558c2a"
!$SUCCESS_LIGHT = "#88bf5d"
!$INFO = "#44b9d6"
!$INFO_DARK = "#3694ab"
!$INFO_LIGHT = "#69c7de"
!$DANGER = "#ff5d64"
!$DANGER_DARK = "#cc4a50"
!$DANGER_LIGHT = "#ff7d83"
!$SECONDARY_TEXT = $WHITE
!$FGCOLOR = $WHITE
!$DIAMOND_BD = $SECONDARY_LIGHT
!endif
!$PRIMARY_DARK = "#bd5b0e"
!$PRIMARY_LIGHT = "#f08e41"
!$INFO_TEXT = $WHITE
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#bd5b0e"
!$WARNING_LIGHT = "#f08e41"
!$WARNING_TEXT = $WHITE
!$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()
!if ($PUML_OUTLINE == "true")
FontColor $PRIMARY
BorderColor $PRIMARY
BackgroundColor $BGCOLOR
!else
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endif
!endprocedure
!procedure $secondary_scheme()
!if ($PUML_OUTLINE == "true")
FontColor $SECONDARY_DARK
BorderColor $SECONDARY_DARK
BackgroundColor $BGCOLOR
!else
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_DARK
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
!endif
!endprocedure
!if ($PUML_OUTLINE == "true")
!$HEADER_TEXT = $PRIMARY_TEXT
!$PRIMARY_TEXT = $PRIMARY_LIGHT
!$INFO_TEXT = $INFO_LIGHT
!$WARNING_TEXT = $WARNING_LIGHT
!$DARK_BG = $BGCOLOR
!$INFO_BG = $BGCOLOR
!$DANGER_BG = $BGCOLOR
!$WARNING_BG = $BGCOLOR
!$SECONDARY_BG = $BGCOLOR
!else
!$DARK_BG = $DARK
!$INFO_BG = $INFO
!$DANGER_BG = $DANGER
!$WARNING_BG = $WARNING
!$SECONDARY_BG = $SECONDARY
!endif
!_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>"
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 {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
FontColor $PRIMARY
BorderColor $SECONDARY
}
skinparam legend {
$secondary_scheme()
BackgroundColor transparent
}
!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_BG
DiamondBorderColor $DIAMOND_BD
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $FGCOLOR
}
!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_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $DARK_BG
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_BG
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 $FGCOLOR
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $FGCOLOR
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
FontColor $HEADER_TEXT
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY
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 $SECONDARY_TEXT
BorderColor $SECONDARY_TEXT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $BGCOLOR
BorderColor $SECONDARY_TEXT
FontColor $SECONDARY_TEXT
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $SECONDARY_BG
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $SECONDARY_BG
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_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_BG
BorderColor $LIGHT
FontColor $FGCOLOR
}
!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 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 #4E5D6C
skinparam stereotype {
CBackgroundColor #ffffff
CBorderColor #bebebe
ABackgroundColor #4a9a35
ABorderColor #176702
IBackgroundColor #da5b41
IBorderColor #a7280e
EBackgroundColor #f08e41
EBorderColor #bd5b0e
NBackgroundColor #338fc9
NBorderColor #005c96
}
skinparam title {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #ffffff-#eeeeee
FontColor #EC7211
BorderColor #eeeeee
}
skinparam legend {
FontColor #4E5D6C
BorderColor #bebebe
BackgroundColor #ffffff-#eeeeee
BackgroundColor transparent
}
skinparam swimlane {
BorderColor #0073bb
BorderThickness 2
TitleBackgroundColor #ffffff-#eeeeee
TitleFontColor #EC7211
}
skinparam activity {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
BarColor #1D8102
StartColor #0073bb
EndColor #0073bb
DiamondBackgroundColor #eeeeee
DiamondBorderColor #bebebe
DiamondFontColor #4E5D6C
}
skinparam participant {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
ParticipantBorderThickness 2
}
skinparam actor {
FontColor $PRIMARY_TEXT
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 #4E5D6C
LifeLineBorderColor #abb6c2
LifeLineBorderThickness 2
LifeLineBackgroundColor #bcc5ce
GroupBorderColor #4E5D6C
GroupFontColor #4E5D6C
GroupHeaderFontColor #0073bb
GroupBackgroundColor #eeeeee
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #4E5D6C
DividerBorderColor #4E5D6C
DividerBorderThickness 2
DividerFontColor #abb6c2
ReferenceBackgroundColor transparent
ReferenceBorderColor #4E5D6C
ReferenceFontColor #4E5D6C
ReferenceHeaderFontColor #0073bb
ReferenceHeaderBackgroundColor #eeeeee
StereotypeFontColor #4E5D6C
}
skinparam partition {
BorderColor #EC7211
FontColor #EC7211
BackgroundColor transparent
}
skinparam collections {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam control {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam entity {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam boundary {
FontColor $PRIMARY_TEXT
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 $PRIMARY_TEXT
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 #4E5D6C
}
skinparam database {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor #4E5D6C
}
skinparam class {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
FontColor $HEADER_TEXT
HeaderBackgroundColor #f08e41-#EC7211
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
skinparam object {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
skinparam usecase {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
BorderThickness 2
StereotypeFontColor #EC7211
}
skinparam rectangle {
BackgroundColor transparent
FontColor #4E5D6C
BorderColor #4E5D6C
BorderThickness 2
StereotypeFontColor #EC7211
}
skinparam package {
BackgroundColor transparent
BorderColor #4E5D6C
FontColor #4E5D6C
BorderThickness 2
}
skinparam folder {
BackgroundColor #eeeeee
BorderColor #EC7211
FontColor #EC7211
BorderThickness 2
}
skinparam frame {
BackgroundColor #eeeeee
BorderColor #0073bb
FontColor #0073bb
BorderThickness 2
}
skinparam state {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
StartColor #0073bb
EndColor #0073bb
AttributeFontColor #4E5D6C
AttributeFontSize 11
}
skinparam queue {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
skinparam card {
BackgroundColor #0073bb
BorderColor #005c96
FontColor #FFF
}
skinparam file {
BackgroundColor #eeeeee
BorderColor #abb6c2
FontColor #4E5D6C
}
skinparam stack {
FontColor $PRIMARY_TEXT
BorderColor #EC7211
BackgroundColor #f08e41-#EC7211
}
title State Diagram
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>