846 lines
28 KiB
XML
Raw Permalink 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:478px;height:1179px;background:#00000000;" version="1.1" viewBox="0 0 478 1179" width="478.125px" zoomAndPan="magnify"><defs/><g><rect height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#717D89;stroke-width:1.0416666666666667;fill:none;" width="465.625" x="2.0833" y="2.0833"/><text fill="#DF691A" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="438.5417" x="15.625" y="33.4452">State Diagram - superhero-outline theme</text><rect fill="#5CB85C" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="199.4792" y="141.9861"/><ellipse cx="241.1458" cy="68.0278" fill="#5BC0DE" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="State2"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="75" x="148.4375" y="213.8611"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="148.4375" x2="223.4375" y1="249.8861" y2="249.8861"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="164.0625" y="236.8449">State2</text></g><g id="State3"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="75" x="266.1458" y="213.8611"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="266.1458" x2="341.1458" y1="249.8861" y2="249.8861"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="281.7708" y="236.8449">State3</text></g><rect fill="#5CB85C" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="200.5208" y="360.7361"/><g id="State4"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="75" x="204.6875" y="432.6111"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="204.6875" x2="279.6875" y1="468.6361" y2="468.6361"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="220.3125" y="455.5949">State4</text></g><rect height="620.1416" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="326.0417" x="79.1667" 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="82.2917" y="592.5944"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="79.1667" x2="405.2083" y1="589.4694" y2="589.4694"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="222.9167" y="576.4282">Active</text><ellipse cx="101.0417" cy="630.6152" fill="#5BC0DE" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.NumLockOff"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="108.3333" x="130.2083" y="601.9694"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="130.2083" x2="238.5417" y1="637.9944" y2="637.9944"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="145.8333" y="624.9532">NumLockOff</text></g><g id="Active.NumLockOn"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="108.3333" x="129.1667" y="723.8444"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="129.1667" x2="237.5" y1="759.8694" y2="759.8694"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="144.7917" y="746.8282">NumLockOn</text></g><!--MD5=[f1e44e9cdf7ed6fd162579f896fb76ea]
link *start*Active to NumLockOff--><path d="M111.4583,630.6152 C115.8021,630.6152 120.1354,630.6152 124.4792,630.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="129.9688,630.6152,120.5938,626.4486,124.7604,630.6152,120.5938,634.7819,129.9688,630.6152" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
link NumLockOff to NumLockOn--><path d="M129.9583,657.3652 C117.4375,664.4277 106.7188,671.834 103.125,678.0111 C97.0833,688.4173 97.1042,694.6673 103.125,705.0944 C108.2083,713.9069 115.6875,721.1986 124.0521,727.1777 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="128.7813,730.3652,123.3471,721.6634,124.4661,727.4488,118.6807,728.5677,128.7813,730.3652" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="109.375" y="696.8282">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
link NumLockOn to NumLockOff--><path d="M228.6875,723.6673 C234.3438,718.2298 239.3229,712.0319 242.7083,705.0944 C247.9896,694.2715 247.9375,688.8548 242.7083,678.0111 C240.125,672.6569 236.5938,667.7402 232.5313,663.2611 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="228.6667,659.2715,232.1946,668.905,232.2896,663.0132,238.1814,663.1083,228.6667,659.2715" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="253.125" y="696.8282">EvNumLockPressed</text><line style="stroke:#E58748;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="84.375" x2="397.9167" y1="785.9111" y2="785.9111"/><ellipse cx="101.0417" cy="821.8486" fill="#5BC0DE" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC87.CapsLockOff"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="112.5" x="130.2083" y="793.2027"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="130.2083" x2="242.7083" y1="829.2277" y2="829.2277"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="145.8333" y="816.1865">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="112.5" x="129.1667" y="915.0777"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="129.1667" x2="241.6667" y1="951.1027" y2="951.1027"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="144.7917" y="938.0615">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
link *start*CONC87 to CapsLockOff--><path d="M111.7188,821.8486 C116.0313,821.8486 120.3438,821.8486 124.6563,821.8486 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="130.1146,821.8486,120.7396,817.6819,124.9063,821.8486,120.7396,826.0152,130.1146,821.8486" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
link CapsLockOff to CapsLockOn--><path d="M129.7917,848.9423 C117.3229,855.859 106.7292,863.109 103.125,869.2444 C97.0208,879.6194 97.0521,885.9319 103.125,896.3277 C108.2917,905.1715 115.8333,912.4527 124.2813,918.4111 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="129.0625,921.5881,123.5733,912.9209,124.7289,918.6991,118.9508,919.8547,129.0625,921.5881" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="109.375" y="888.0615">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
link CapsLockOn to CapsLockOff--><path d="M232.6354,914.8381 C238.375,909.4423 243.4167,903.2652 246.875,896.3277 C252.2396,885.5569 252.1979,880.0361 246.875,869.2444 C244.2292,863.8902 240.6458,858.984 236.5208,854.5256 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="232.5938,850.5673,236.2185,860.1648,236.2542,854.2724,242.1467,854.3081,232.5938,850.5673" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="257.2917" y="888.0615">EvCapsLockPressed</text><line style="stroke:#E58748;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="84.375" x2="397.9167" y1="977.1444" y2="977.1444"/><ellipse cx="101.0417" cy="1013.0819" fill="#5BC0DE" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC95.ScrollLockOff"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="113.5417" x="130.7292" y="984.436"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="130.7292" x2="244.2708" y1="1020.461" y2="1020.461"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="146.3542" y="1007.4198">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#E58748;stroke-width:1.5625;fill:none;" width="113.5417" x="130.7292" y="1106.311"/><line style="stroke:#E58748;stroke-width:1.5625;fill:none;" x1="130.7292" x2="244.2708" y1="1142.336" y2="1142.336"/><text fill="#DF691A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="146.3542" y="1129.2948">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
link *start*CONC95 to ScrollLockOff--><path d="M111.5104,1013.0819 C116.0625,1013.0819 120.6146,1013.0819 125.1667,1013.0819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="130.5104,1013.0819,121.1354,1008.9152,125.3021,1013.0819,121.1354,1017.2485,130.5104,1013.0819" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
link ScrollLockOff to ScrollLockOn--><path d="M130.7292,1035.4777 C120.5313,1041.936 111.25,1050.1444 105.2083,1060.4777 C99.1354,1070.8735 99.1354,1077.1652 105.2083,1087.561 C110.3021,1096.2798 117.7083,1103.4881 126.0208,1109.4048 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="130.7292,1112.561,125.2605,1103.8808,126.4024,1109.6617,120.6216,1110.8036,130.7292,1112.561" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="111.4583" y="1079.2948">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
link ScrollLockOn to ScrollLockOff--><path d="M234.7188,1106.0715 C240.4583,1100.6756 245.5,1094.4985 248.9583,1087.561 C254.3229,1076.7902 254.3229,1071.2485 248.9583,1060.4777 C246.3125,1055.1652 242.7292,1050.3006 238.625,1045.8944 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="234.7188,1041.9673,238.3822,1051.5501,238.3942,1045.6576,244.2867,1045.6695,234.7188,1041.9673" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="258.3333" y="1079.2948">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
link *start to fork_state--><path d="M241.1458,78.7048 C241.1458,93.5382 241.1458,121.7569 241.1458,136.1632 " fill="none" id="*start-to-fork_state" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="241.1458,141.7153,245.3125,132.3403,241.1458,136.5069,236.9792,132.3403,241.1458,141.7153" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
link fork_state to State2--><path d="M239.3125,150.3298 C233.9688,159.4548 217.9688,186.7673 204.875,209.1319 " fill="none" id="fork_state-to-State2" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="202.125,213.8298,210.4602,207.8485,204.7586,209.3364,203.2707,203.6348,202.125,213.8298" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
link fork_state to State3--><path d="M243.2292,150.3298 C249.3021,159.4965 267.5417,186.9965 282.3958,209.4132 " fill="none" id="fork_state-to-State3" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="285.3229,213.8298,283.5895,203.7181,282.4339,209.4962,276.6557,208.3406,285.3229,213.8298" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
link State2 to join_state--><path d="M171.9792,271.3923 C165.1563,289.2153 160.5104,312.1736 171.3542,329.4861 C181.7188,346.0382 202.5729,354.8194 218.9792,359.3507 " fill="none" id="State2-to-join_state" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="224.3542,360.7257,216.3092,354.3593,219.3093,359.431,214.2377,362.4311,224.3542,360.7257" style="stroke:#DF691A;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="98.9583" x="177.6042" y="321.2199">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
link State3 to join_state--><path d="M303.2292,271.2986 C301.8125,289.0903 297.7708,312.0382 286.9792,329.4861 C278.9167,342.5278 263.9896,352.4653 253.5938,358.2257 " fill="none" id="State3-to-join_state" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="248.8958,360.7048,259.1311,360.0039,253.4996,358.2693,255.2342,352.6378,248.8958,360.7048" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
link join_state to State4--><path d="M242.1875,369.0798 C242.1875,378.1319 242.1875,405.0694 242.1875,427.3194 " fill="none" id="join_state-to-State4" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="242.1875,432.5798,246.3542,423.2048,242.1875,427.3715,238.0208,423.2048,242.1875,432.5798" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
link State4 to Active--><path d="M242.1875,490.1111 C242.1875,504.934 242.1875,524.8507 242.1875,547.809 " fill="none" id="State4-to-Active" style="stroke:#DF691A;stroke-width:3.125;"/><polygon fill="#DF691A" points="242.1875,553.059,246.3542,543.684,242.1875,547.8507,238.0208,543.684,242.1875,553.059" style="stroke:#DF691A;stroke-width:3.125;"/><!--MD5=[2c8112eba45e51620224976a6bcacbe9]
@startuml
!$THEME = "superhero-outline"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#DF691A"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#d9534f"
!$ORANGE = "#f0ad4e"
!$YELLOW = "#f0ad4e"
!$GREEN = "#5cb85c"
!$TEAL = "#20c997"
!$CYAN = "#5bc0de"
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#868e96"
!$PRIMARY = "#DF691A"
!$SECONDARY = "#4E5D6C"
!$SUCCESS = "#5cb85c"
!$INFO = "#5bc0de"
!$WARNING = "#f0ad4e"
!$DANGER = "#d9534f"
!$LIGHT = "#abb6c2"
!$DARK = "#4E5D6C"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#e58748"
!$PRIMARY_LIGHT = "#b25415"
!$PRIMARY_TEXT = $PRIMARY
!$SECONDARY_DARK = "#717d89"
!$SECONDARY_LIGHT = "#3e4a56"
!$SECONDARY_TEXT = $SECONDARY_DARK
!$INFO_DARK = "#7ccde5"
!$INFO_LIGHT = "#499AB2"
!$INFO_TEXT = $INFO
!$SUCCESS_DARK = "#4a934a"
!$SUCCESS_LIGHT = "#5F8F00"
!$SUCCESS_TEXT = $SUCCESS
!$WARNING_DARK = "#f3bd71"
!$WARNING_LIGHT = "#C08A3E"
!$WARNING_TEXT = $WARNING
!$DANGER_DARK = "#e17572"
!$DANGER_LIGHT = "#AE423F"
!$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_DARK
BackgroundColor $BGCOLOR
!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 TitleFontColor $DARK
skinparam TitleFontSize 20
skinparam TitleBorderThickness 0
skinparam ArrowColor $DARK
skinparam stereotype {
CBackgroundColor $SECONDARY_DARK
CBorderColor $SECONDARY_LIGHT
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 $BGCOLOR
}
skinparam legend {
BackgroundColor $BGCOLOR
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 $BGCOLOR
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $PRIMARY
}
!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 $BGCOLOR
GroupBorderColor $DARK
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $BGCOLOR
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $LIGHT
ReferenceFontColor $LIGHT
ReferenceHeaderFontColor $INFO
ReferenceHeaderBackgroundColor $BGCOLOR
}
!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 $BGCOLOR
BorderColor $WARNING_LIGHT
FontColor $DARK
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $BGCOLOR
BorderColor $INFO_DARK
FontColor $INFO_DARK
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $BGCOLOR
BorderColor $DARK_DARK
FontColor $LIGHT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $BGCOLOR
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $BGCOLOR
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 #F2FCFE
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $PRIMARY
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
FontColor $LIGHT
HeaderBackgroundColor $PRIMARY_LIGHT
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $SECONDARY_DARK
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $BGCOLOR
BorderColor $PRIMARY
FontColor $PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $BGCOLOR
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $BGCOLOR
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 $BGCOLOR
BorderColor $INFO
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!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 TitleFontColor #4E5D6C
skinparam TitleFontSize 20
skinparam TitleBorderThickness 0
skinparam ArrowColor #4E5D6C
skinparam stereotype {
CBackgroundColor #717d89
CBorderColor #3e4a56
ABackgroundColor #5F8F00
ABorderColor #4a934a
IBackgroundColor #AE423F
IBorderColor #e17572
EBackgroundColor #C08A3E
EBorderColor #f3bd71
NBackgroundColor #499AB2
NBorderColor #7ccde5
}
skinparam title {
FontColor #DF691A
BorderColor #717d89
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor transparent
}
skinparam legend {
BackgroundColor transparent
BorderColor #717d89
FontColor #abb6c2
}
skinparam swimlane {
BorderColor #5bc0de
BorderThickness 2
TitleBackgroundColor #3e4a56-#4E5D6C
TitleFontColor #DF691A
}
skinparam activity {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
BarColor #5cb85c
StartColor #5bc0de
EndColor #5bc0de
DiamondBackgroundColor transparent
DiamondBorderColor #717d89
DiamondFontColor #717d89
}
skinparam participant {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
FontColor #DF691A
}
skinparam arrow {
Thickness 3
Color #DF691A
FontColor #FFF
}
skinparam sequence {
BorderColor #DF691A
TitleFontColor #DF691A
BackgroundColor transparent
StartColor #DF691A
EndColor #DF691A
BoxBackgroundColor transparent
BoxBorderColor #4E5D6C
BoxFontColor $DARk
LifeLineBorderColor #4E5D6C
LifeLineBorderThickness 2
LifeLineBackgroundColor transparent
GroupBorderColor #4E5D6C
GroupFontColor #4E5D6C
GroupHeaderFontColor #5bc0de
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor transparent
DividerBorderColor #4E5D6C
DividerBorderThickness 2
DividerFontColor #abb6c2
ReferenceBackgroundColor transparent
ReferenceBorderColor #abb6c2
ReferenceFontColor #abb6c2
ReferenceHeaderFontColor #5bc0de
ReferenceHeaderBackgroundColor transparent
}
skinparam partition {
BorderColor #DF691A
FontColor #DF691A
BackgroundColor transparent
}
skinparam collections {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
skinparam control {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
skinparam entity {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
skinparam boundary {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
skinparam agent {
BackgroundColor transparent
BorderColor #C08A3E
FontColor #4E5D6C
}
skinparam note {
BorderThickness 1
BackgroundColor transparent
BorderColor #7ccde5
FontColor #7ccde5
}
skinparam artifact {
BackgroundColor transparent
BorderColor #717d89
FontColor #abb6c2
}
skinparam component {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
skinparam interface {
BackgroundColor transparent
BorderColor #d9534f
FontColor #4E5D6C
}
skinparam storage {
BackgroundColor transparent
BorderColor #f3bd71
FontColor #f0ad4e
}
skinparam node {
BackgroundColor transparent
BorderColor #abb6c2
FontColor #abb6c2
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #4E5D6C
}
skinparam database {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
FontColor #DF691A
}
skinparam class {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
FontColor #abb6c2
HeaderBackgroundColor #b25415
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor #4E5D6C
AttributeFontSize 11
}
skinparam object {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
StereotypeFontColor #4E5D6C
BorderThickness 1
AttributeFontColor #717d89
AttributeFontSize 11
}
skinparam usecase {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
BorderThickness 2
StereotypeFontColor #DF691A
}
skinparam rectangle {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
BorderThickness 2
StereotypeFontColor #DF691A
}
skinparam package {
BackgroundColor transparent
BorderColor #DF691A
FontColor #DF691A
BorderThickness 2
}
skinparam folder {
BackgroundColor transparent
BorderColor #f0ad4e
FontColor #f0ad4e
BorderThickness 2
}
skinparam frame {
BackgroundColor transparent
BorderColor #5bc0de
FontColor #5bc0de
BorderThickness 2
}
skinparam state {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
StartColor #5bc0de
EndColor #5bc0de
AttributeFontColor #717d89
AttributeFontSize 11
}
skinparam queue {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
skinparam card {
BackgroundColor transparent
BorderColor #5bc0de
FontColor #5bc0de
}
skinparam file {
BackgroundColor transparent
BorderColor #abb6c2
FontColor #abb6c2
}
skinparam stack {
FontColor #DF691A
BorderColor #e58748
BackgroundColor transparent
}
title State Diagram - superhero-outline 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>