2021-06-25 21:37:59 +08:00

846 lines
28 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="1179.1667px" preserveAspectRatio="none" style="width:441px;height:1179px;background:#00000000;" version="1.1" viewBox="0 0 441 1179" width="441.6667px" zoomAndPan="magnify"><defs/><g><rect height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#777777;stroke-width:1.0416666666666667;fill:none;" width="429.1667" x="2.0833" y="2.0833"/><text fill="#2A9FD6" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="402.0833" x="15.625" y="33.4452">State Diagram - cyborg-outline theme</text><rect fill="#77B300" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="181.25" y="141.9861"/><ellipse cx="222.9167" cy="68.0278" fill="#9933CC" 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:#55B2DE;stroke-width:1.5625;fill:none;" width="75" x="130.2083" y="213.8611"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="130.2083" x2="205.2083" y1="249.8861" y2="249.8861"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="145.8333" y="236.8449">State2</text></g><g id="State3"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" width="75" x="247.9167" y="213.8611"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="247.9167" x2="322.9167" y1="249.8861" y2="249.8861"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="263.5417" y="236.8449">State3</text></g><rect fill="#77B300" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="182.2917" y="360.7361"/><g id="State4"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" width="75" x="186.4583" y="432.6111"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="186.4583" x2="261.4583" y1="468.6361" y2="468.6361"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="202.0833" y="455.5949">State4</text></g><rect height="620.1416" rx="13.0208" ry="13.0208" style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" width="326.0417" x="60.9375" 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="64.0625" y="592.5944"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="60.9375" x2="386.9792" y1="589.4694" y2="589.4694"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="204.6875" y="576.4282">Active</text><ellipse cx="82.8125" cy="630.6152" fill="#9933CC" 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:#55B2DE;stroke-width:1.5625;fill:none;" width="108.3333" x="111.9792" y="601.9694"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="111.9792" x2="220.3125" y1="637.9944" y2="637.9944"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="127.6042" y="624.9532">NumLockOff</text></g><g id="Active.NumLockOn"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" width="108.3333" x="110.9375" y="723.8444"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="110.9375" x2="219.2708" y1="759.8694" y2="759.8694"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="126.5625" y="746.8282">NumLockOn</text></g><!--MD5=[f1e44e9cdf7ed6fd162579f896fb76ea]
link *start*Active to NumLockOff--><path d="M93.2292,630.6152 C97.5729,630.6152 101.9063,630.6152 106.25,630.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="111.7396,630.6152,102.3646,626.4486,106.5313,630.6152,102.3646,634.7819,111.7396,630.6152" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
link NumLockOff to NumLockOn--><path d="M111.7292,657.3652 C99.2083,664.4277 88.4896,671.834 84.8958,678.0111 C78.8542,688.4173 78.875,694.6673 84.8958,705.0944 C89.9792,713.9069 97.4583,721.1986 105.8229,727.1777 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="110.5521,730.3652,105.1179,721.6634,106.2369,727.4488,100.4516,728.5677,110.5521,730.3652" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="91.1458" y="696.8282">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
link NumLockOn to NumLockOff--><path d="M210.4583,723.6673 C216.1146,718.2298 221.0938,712.0319 224.4792,705.0944 C229.7604,694.2715 229.7083,688.8548 224.4792,678.0111 C221.8958,672.6569 218.3646,667.7402 214.3021,663.2611 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="210.4375,659.2715,213.9654,668.905,214.0605,663.0132,219.9523,663.1083,210.4375,659.2715" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="234.8958" y="696.8282">EvNumLockPressed</text><line style="stroke:#55B2DE;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="66.1458" x2="379.6875" y1="785.9111" y2="785.9111"/><ellipse cx="82.8125" cy="821.8486" fill="#9933CC" 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:#55B2DE;stroke-width:1.5625;fill:none;" width="112.5" x="111.9792" y="793.2027"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="111.9792" x2="224.4792" y1="829.2277" y2="829.2277"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="127.6042" y="816.1865">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" width="112.5" x="110.9375" y="915.0777"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="110.9375" x2="223.4375" y1="951.1027" y2="951.1027"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="126.5625" y="938.0615">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
link *start*CONC87 to CapsLockOff--><path d="M93.4896,821.8486 C97.8021,821.8486 102.1146,821.8486 106.4271,821.8486 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="111.8854,821.8486,102.5104,817.6819,106.6771,821.8486,102.5104,826.0152,111.8854,821.8486" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
link CapsLockOff to CapsLockOn--><path d="M111.5625,848.9423 C99.0938,855.859 88.5,863.109 84.8958,869.2444 C78.7917,879.6194 78.8229,885.9319 84.8958,896.3277 C90.0625,905.1715 97.6042,912.4527 106.0521,918.4111 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="110.8333,921.5881,105.3441,912.9209,106.4997,918.6991,100.7216,919.8547,110.8333,921.5881" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="91.1458" y="888.0615">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
link CapsLockOn to CapsLockOff--><path d="M214.4063,914.8381 C220.1458,909.4423 225.1875,903.2652 228.6458,896.3277 C234.0104,885.5569 233.9688,880.0361 228.6458,869.2444 C226,863.8902 222.4167,858.984 218.2917,854.5256 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="214.3646,850.5673,217.9893,860.1648,218.025,854.2724,223.9175,854.3081,214.3646,850.5673" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="239.0625" y="888.0615">EvCapsLockPressed</text><line style="stroke:#55B2DE;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="66.1458" x2="379.6875" y1="977.1444" y2="977.1444"/><ellipse cx="82.8125" cy="1013.0819" fill="#9933CC" 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:#55B2DE;stroke-width:1.5625;fill:none;" width="113.5417" x="112.5" y="984.436"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="112.5" x2="226.0417" y1="1020.461" y2="1020.461"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="128.125" y="1007.4198">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" width="113.5417" x="112.5" y="1106.311"/><line style="stroke:#55B2DE;stroke-width:1.5625;fill:none;" x1="112.5" x2="226.0417" y1="1142.336" y2="1142.336"/><text fill="#2A9FD6" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="128.125" y="1129.2948">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
link *start*CONC95 to ScrollLockOff--><path d="M93.2813,1013.0819 C97.8333,1013.0819 102.3854,1013.0819 106.9375,1013.0819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="112.2813,1013.0819,102.9063,1008.9152,107.0729,1013.0819,102.9063,1017.2485,112.2813,1013.0819" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
link ScrollLockOff to ScrollLockOn--><path d="M112.5,1035.4777 C102.3021,1041.936 93.0208,1050.1444 86.9792,1060.4777 C80.9063,1070.8735 80.9063,1077.1652 86.9792,1087.561 C92.0729,1096.2798 99.4792,1103.4881 107.7917,1109.4048 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="112.5,1112.561,107.0314,1103.8808,108.1733,1109.6617,102.3924,1110.8036,112.5,1112.561" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="93.2292" y="1079.2948">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
link ScrollLockOn to ScrollLockOff--><path d="M216.4896,1106.0715 C222.2292,1100.6756 227.2708,1094.4985 230.7292,1087.561 C236.0938,1076.7902 236.0938,1071.2485 230.7292,1060.4777 C228.0833,1055.1652 224.5,1050.3006 220.3958,1045.8944 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="216.4896,1041.9673,220.1531,1051.5501,220.165,1045.6576,226.0575,1045.6695,216.4896,1041.9673" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="240.1042" y="1079.2948">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
link *start to fork_state--><path d="M222.9167,78.7048 C222.9167,93.5382 222.9167,121.7569 222.9167,136.1632 " fill="none" id="*start-to-fork_state" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="222.9167,141.7153,227.0833,132.3403,222.9167,136.5069,218.75,132.3403,222.9167,141.7153" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
link fork_state to State2--><path d="M221.0833,150.3298 C215.7396,159.4548 199.7396,186.7673 186.6458,209.1319 " fill="none" id="fork_state-to-State2" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="183.8958,213.8298,192.231,207.8485,186.5294,209.3364,185.0415,203.6348,183.8958,213.8298" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
link fork_state to State3--><path d="M225,150.3298 C231.0729,159.4965 249.3125,186.9965 264.1667,209.4132 " fill="none" id="fork_state-to-State3" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="267.0938,213.8298,265.3603,203.7181,264.2047,209.4962,258.4266,208.3406,267.0938,213.8298" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
link State2 to join_state--><path d="M153.75,271.3923 C146.9271,289.2153 142.2813,312.1736 153.125,329.4861 C163.4896,346.0382 184.3438,354.8194 200.75,359.3507 " fill="none" id="State2-to-join_state" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="206.125,360.7257,198.08,354.3593,201.0802,359.431,196.0085,362.4311,206.125,360.7257" style="stroke:#2A9FD6;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="98.9583" x="159.375" y="321.2199">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
link State3 to join_state--><path d="M285,271.2986 C283.5833,289.0903 279.5417,312.0382 268.75,329.4861 C260.6875,342.5278 245.7604,352.4653 235.3646,358.2257 " fill="none" id="State3-to-join_state" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="230.6667,360.7048,240.9019,360.0039,235.2705,358.2693,237.005,352.6378,230.6667,360.7048" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
link join_state to State4--><path d="M223.9583,369.0798 C223.9583,378.1319 223.9583,405.0694 223.9583,427.3194 " fill="none" id="join_state-to-State4" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="223.9583,432.5798,228.125,423.2048,223.9583,427.3715,219.7917,423.2048,223.9583,432.5798" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
link State4 to Active--><path d="M223.9583,490.1111 C223.9583,504.934 223.9583,524.8507 223.9583,547.809 " fill="none" id="State4-to-Active" style="stroke:#2A9FD6;stroke-width:3.125;"/><polygon fill="#2A9FD6" points="223.9583,553.059,228.125,543.684,223.9583,547.8507,219.7917,543.684,223.9583,553.059" style="stroke:#2A9FD6;stroke-width:3.125;"/><!--MD5=[ba907d78f02340d0b5284eb83098df91]
@startuml
!$THEME = "cyborg-outline"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#2A9FD6"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#CC0000"
!$ORANGE = "#fd7e14"
!$YELLOW = "#FF8800"
!$GREEN = "#77B300"
!$TEAL = "#20c997"
!$CYAN = "#9933CC"
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#555"
!$PRIMARY = "#2A9FD6"
!$SECONDARY = "#555"
!$SUCCESS = "#77B300"
!$INFO = "#9933CC"
!$WARNING = "#FF8800"
!$DANGER = "#CC0000"
!$LIGHT = "#222"
!$DARK = "#ADAFAE"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#55B2DE"
!$PRIMARY_LIGHT = "#227FAB"
!$PRIMARY_TEXT = $PRIMARY
!$SECONDARY_DARK = "#777777"
!$SECONDARY_LIGHT = "#444444"
!$SECONDARY_TEXT = $SECONDARY_DARK
!$INFO_DARK = "#AD5CD6"
!$INFO_LIGHT = "#7a29a3"
!$INFO_TEXT = $INFO
!$SUCCESS_DARK = "#92C233"
!$SUCCESS_LIGHT = "#5F8F00"
!$SUCCESS_TEXT = $SUCCESS
!$WARNING_DARK = "#FFA033"
!$WARNING_LIGHT = "#cc6d00"
!$WARNING_TEXT = $WARNING
!$DANGER_DARK = "#D63333"
!$DANGER_LIGHT = "#a30000"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#BDBFBE"
!$DARK_LIGHT = "#8A8C8B"
!$LIGHT_DARK = "#4E4E4E"
!$LIGHT_LIGHT = "#1B1B1B"
!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 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 $DARK
}
!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_TEXT
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $BGCOLOR
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $DARK
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO_TEXT
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()
FontColor $PRIMARY
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
FontColor $PRIMARY
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
FontColor $PRIMARY
}
!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 $DARK_DARK
}
!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 $DARK
FontColor $DARK
}
!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_TEXT
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 $GRAY
FontColor $GRAY
}
!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 #ADAFAE
skinparam stereotype {
CBackgroundColor #777777
CBorderColor #444444
ABackgroundColor #5F8F00
ABorderColor #92C233
IBackgroundColor #a30000
IBorderColor #D63333
EBackgroundColor #cc6d00
EBorderColor #FFA033
NBackgroundColor #7a29a3
NBorderColor #AD5CD6
}
skinparam title {
FontColor #2A9FD6
BorderColor #777777
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor transparent
}
skinparam legend {
BackgroundColor transparent
BorderColor #777777
FontColor #ADAFAE
}
skinparam swimlane {
BorderColor #9933CC
BorderThickness 2
TitleBackgroundColor #444444-#555
TitleFontColor #2A9FD6
}
skinparam activity {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
BarColor #77B300
StartColor #9933CC
EndColor #9933CC
DiamondBackgroundColor transparent
DiamondBorderColor #777777
DiamondFontColor #777777
}
skinparam participant {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
FontColor #2A9FD6
}
skinparam arrow {
Thickness 3
Color #2A9FD6
FontColor #FFF
}
skinparam sequence {
BorderColor #2A9FD6
TitleFontColor #2A9FD6
BackgroundColor transparent
StartColor #2A9FD6
EndColor #2A9FD6
BoxBackgroundColor transparent
BoxBorderColor #ADAFAE
BoxFontColor $DARk
LifeLineBorderColor #555
LifeLineBorderThickness 2
LifeLineBackgroundColor transparent
GroupBorderColor #ADAFAE
GroupFontColor #ADAFAE
GroupHeaderFontColor #9933CC
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor transparent
DividerBorderColor #ADAFAE
DividerBorderThickness 2
DividerFontColor #ADAFAE
ReferenceBackgroundColor transparent
ReferenceBorderColor #ADAFAE
ReferenceFontColor #ADAFAE
ReferenceHeaderFontColor #9933CC
ReferenceHeaderBackgroundColor transparent
}
skinparam partition {
BorderColor #2A9FD6
FontColor #2A9FD6
BackgroundColor transparent
}
skinparam collections {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
}
skinparam control {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
FontColor #2A9FD6
}
skinparam entity {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
FontColor #2A9FD6
}
skinparam boundary {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
FontColor #2A9FD6
}
skinparam agent {
BackgroundColor transparent
BorderColor #cc6d00
FontColor #ADAFAE
}
skinparam note {
BorderThickness 1
BackgroundColor transparent
BorderColor #AD5CD6
FontColor #AD5CD6
}
skinparam artifact {
BackgroundColor transparent
BorderColor #BDBFBE
FontColor #BDBFBE
}
skinparam component {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
}
skinparam interface {
BackgroundColor transparent
BorderColor #CC0000
FontColor #ADAFAE
}
skinparam storage {
BackgroundColor transparent
BorderColor #FFA033
FontColor #FF8800
}
skinparam node {
BackgroundColor transparent
BorderColor #ADAFAE
FontColor #ADAFAE
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #ADAFAE
}
skinparam database {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
FontColor #2A9FD6
}
skinparam class {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
FontColor #222
HeaderBackgroundColor #227FAB
StereotypeFontColor #ADAFAE
BorderThickness 1
AttributeFontColor #ADAFAE
AttributeFontSize 11
}
skinparam object {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
StereotypeFontColor #ADAFAE
BorderThickness 1
AttributeFontColor #777777
AttributeFontSize 11
}
skinparam usecase {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
BorderThickness 2
StereotypeFontColor #2A9FD6
}
skinparam rectangle {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
BorderThickness 2
StereotypeFontColor #2A9FD6
}
skinparam package {
BackgroundColor transparent
BorderColor #2A9FD6
FontColor #2A9FD6
BorderThickness 2
}
skinparam folder {
BackgroundColor transparent
BorderColor #FF8800
FontColor #FF8800
BorderThickness 2
}
skinparam frame {
BackgroundColor transparent
BorderColor #9933CC
FontColor #9933CC
BorderThickness 2
}
skinparam state {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
StartColor #9933CC
EndColor #9933CC
AttributeFontColor #777777
AttributeFontSize 11
}
skinparam queue {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
}
skinparam card {
BackgroundColor transparent
BorderColor #9933CC
FontColor #9933CC
}
skinparam file {
BackgroundColor transparent
BorderColor #555
FontColor #555
}
skinparam stack {
FontColor #2A9FD6
BorderColor #55B2DE
BackgroundColor transparent
}
title State Diagram - cyborg-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>