835 lines
29 KiB
XML
835 lines
29 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:419px;height:1179px;background:#00000000;" version="1.1" viewBox="0 0 419 1179" width="419.7917px" zoomAndPan="magnify"><defs><linearGradient id="g2jp9nakmyf0v0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#6D6D6D"/><stop offset="100%" stop-color="#484848"/></linearGradient><linearGradient id="g2jp9nakmyf0v1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#595959"/><stop offset="100%" stop-color="#262626"/></linearGradient></defs><g><rect fill="url(#g2jp9nakmyf0v0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#3A3A3A;stroke-width:1.0416666666666667;" width="407.2917" x="2.0833" y="2.0833"/><text fill="#FEFEFE" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="380.2083" x="15.625" y="33.4452">State Diagram - black-knight theme</text><rect fill="#00FF00" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="170.3125" y="141.9861"/><ellipse cx="211.9792" cy="68.0278" fill="#0060A8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="State2"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="75" x="119.2708" y="213.8611"/><line style="stroke:#262626;stroke-width:1.5625;" x1="119.2708" x2="194.2708" y1="249.8861" y2="249.8861"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="134.8958" y="236.8449">State2</text></g><g id="State3"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="75" x="236.9792" y="213.8611"/><line style="stroke:#262626;stroke-width:1.5625;" x1="236.9792" x2="311.9792" y1="249.8861" y2="249.8861"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="252.6042" y="236.8449">State3</text></g><rect fill="#00FF00" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="171.3542" y="360.7361"/><g id="State4"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="75" x="175.5208" y="432.6111"/><line style="stroke:#262626;stroke-width:1.5625;" x1="175.5208" x2="250.5208" y1="468.6361" y2="468.6361"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="191.1458" y="455.5949">State4</text></g><rect fill="url(#g2jp9nakmyf0v1)" height="620.1416" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="326.0417" x="50" 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="53.125" y="592.5944"/><line style="stroke:#262626;stroke-width:1.5625;fill:none;" x1="50" x2="376.0417" y1="589.4694" y2="589.4694"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="193.75" y="576.4282">Active</text><ellipse cx="71.875" cy="630.6152" fill="#0060A8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.NumLockOff"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="108.3333" x="101.0417" y="601.9694"/><line style="stroke:#262626;stroke-width:1.5625;" x1="101.0417" x2="209.375" y1="637.9944" y2="637.9944"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="116.6667" y="624.9532">NumLockOff</text></g><g id="Active.NumLockOn"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="108.3333" x="100" y="723.84
|
||
|
link *start*Active to NumLockOff--><path d="M82.2917,630.6152 C86.6354,630.6152 90.9688,630.6152 95.3125,630.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="100.8021,630.6152,91.4271,626.4486,95.5938,630.6152,91.4271,634.7819,100.8021,630.6152" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
|
||
|
link NumLockOff to NumLockOn--><path d="M100.7917,657.3652 C88.2708,664.4277 77.5521,671.834 73.9583,678.0111 C67.9167,688.4173 67.9375,694.6673 73.9583,705.0944 C79.0417,713.9069 86.5208,721.1986 94.8854,727.1777 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="99.6146,730.3652,94.1804,721.6634,95.2994,727.4488,89.5141,728.5677,99.6146,730.3652" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="80.2083" y="696.8282">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
|
||
|
link NumLockOn to NumLockOff--><path d="M199.5208,723.6673 C205.1771,718.2298 210.1563,712.0319 213.5417,705.0944 C218.8229,694.2715 218.7708,688.8548 213.5417,678.0111 C210.9583,672.6569 207.4271,667.7402 203.3646,663.2611 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="199.5,659.2715,203.0279,668.905,203.123,663.0132,209.0148,663.1083,199.5,659.2715" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="223.9583" y="696.8282">EvNumLockPressed</text><line style="stroke:#262626;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="55.2083" x2="368.75" y1="785.9111" y2="785.9111"/><ellipse cx="71.875" cy="821.8486" fill="#0060A8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC87.CapsLockOff"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="112.5" x="101.0417" y="793.2027"/><line style="stroke:#262626;stroke-width:1.5625;" x1="101.0417" x2="213.5417" y1="829.2277" y2="829.2277"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="116.6667" y="816.1865">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="112.5" x="100" y="915.0777"/><line style="stroke:#262626;stroke-width:1.5625;" x1="100" x2="212.5" y1="951.1027" y2="951.1027"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="115.625" y="938.0615">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
|
||
|
link *start*CONC87 to CapsLockOff--><path d="M82.5521,821.8486 C86.8646,821.8486 91.1771,821.8486 95.4896,821.8486 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="100.9479,821.8486,91.5729,817.6819,95.7396,821.8486,91.5729,826.0152,100.9479,821.8486" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
|
||
|
link CapsLockOff to CapsLockOn--><path d="M100.625,848.9423 C88.1563,855.859 77.5625,863.109 73.9583,869.2444 C67.8542,879.6194 67.8854,885.9319 73.9583,896.3277 C79.125,905.1715 86.6667,912.4527 95.1146,918.4111 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="99.8958,921.5881,94.4066,912.9209,95.5622,918.6991,89.7841,919.8547,99.8958,921.5881" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="80.2083" y="888.0615">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
|
||
|
link CapsLockOn to CapsLockOff--><path d="M203.4688,914.8381 C209.2083,909.4423 214.25,903.2652 217.7083,896.3277 C223.0729,885.5569 223.0313,880.0361 217.7083,869.2444 C215.0625,863.8902 211.4792,858.984 207.3542,854.5256 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="203.4271,850.5673,207.0518,860.1648,207.0875,854.2724,212.98,854.3081,203.4271,850.5673" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="228.125" y="888.0615">EvCapsLockPressed</text><line style="stroke:#262626;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="55.2083" x2="368.75" y1="977.1444" y2="977.1444"/><ellipse cx="71.875" cy="1013.0819" fill="#0060A8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC95.ScrollLockOff"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="113.5417" x="101.5625" y="984.436"/><line style="stroke:#262626;stroke-width:1.5625;" x1="101.5625" x2="215.1042" y1="1020.461" y2="1020.461"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="117.1875" y="1007.4198">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect fill="url(#g2jp9nakmyf0v1)" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#262626;stroke-width:1.5625;" width="113.5417" x="101.5625" y="1106.311"/><line style="stroke:#262626;stroke-width:1.5625;" x1="101.5625" x2="215.1042" y1="1142.336" y2="1142.336"/><text fill="#FFF200" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="117.1875" y="1129.2948">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
|
||
|
link *start*CONC95 to ScrollLockOff--><path d="M82.3438,1013.0819 C86.8958,1013.0819 91.4479,1013.0819 96,1013.0819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="101.3438,1013.0819,91.9688,1008.9152,96.1354,1013.0819,91.9688,1017.2485,101.3438,1013.0819" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
|
||
|
link ScrollLockOff to ScrollLockOn--><path d="M101.5625,1035.4777 C91.3646,1041.936 82.0833,1050.1444 76.0417,1060.4777 C69.9688,1070.8735 69.9688,1077.1652 76.0417,1087.561 C81.1354,1096.2798 88.5417,1103.4881 96.8542,1109.4048 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="101.5625,1112.561,96.0939,1103.8808,97.2358,1109.6617,91.4549,1110.8036,101.5625,1112.561" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="82.2917" y="1079.2948">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
|
||
|
link ScrollLockOn to ScrollLockOff--><path d="M205.5521,1106.0715 C211.2917,1100.6756 216.3333,1094.4985 219.7917,1087.561 C225.1563,1076.7902 225.1563,1071.2485 219.7917,1060.4777 C217.1458,1055.1652 213.5625,1050.3006 209.4583,1045.8944 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="205.5521,1041.9673,209.2156,1051.5501,209.2275,1045.6576,215.12,1045.6695,205.5521,1041.9673" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="229.1667" y="1079.2948">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
|
||
|
link *start to fork_state--><path d="M211.9792,78.7048 C211.9792,93.5382 211.9792,121.7569 211.9792,136.1632 " fill="none" id="*start-to-fork_state" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="211.9792,141.7153,216.1458,132.3403,211.9792,136.5069,207.8125,132.3403,211.9792,141.7153" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
|
||
|
link fork_state to State2--><path d="M210.1458,150.3298 C204.8021,159.4548 188.8021,186.7673 175.7083,209.1319 " fill="none" id="fork_state-to-State2" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="172.9583,213.8298,181.2935,207.8485,175.5919,209.3364,174.104,203.6348,172.9583,213.8298" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
|
||
|
link fork_state to State3--><path d="M214.0625,150.3298 C220.1354,159.4965 238.375,186.9965 253.2292,209.4132 " fill="none" id="fork_state-to-State3" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="256.1563,213.8298,254.4228,203.7181,253.2672,209.4962,247.4891,208.3406,256.1563,213.8298" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
|
||
|
link State2 to join_state--><path d="M142.8125,271.3923 C135.9896,289.2153 131.3438,312.1736 142.1875,329.4861 C152.5521,346.0382 173.4063,354.8194 189.8125,359.3507 " fill="none" id="State2-to-join_state" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="195.1875,360.7257,187.1425,354.3593,190.1427,359.431,185.071,362.4311,195.1875,360.7257" style="stroke:#303030;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="98.9583" x="148.4375" y="321.2199">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
|
||
|
link State3 to join_state--><path d="M274.0625,271.2986 C272.6458,289.0903 268.6042,312.0382 257.8125,329.4861 C249.75,342.5278 234.8229,352.4653 224.4271,358.2257 " fill="none" id="State3-to-join_state" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="219.7292,360.7048,229.9644,360.0039,224.333,358.2693,226.0675,352.6378,219.7292,360.7048" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
|
||
|
link join_state to State4--><path d="M213.0208,369.0798 C213.0208,378.1319 213.0208,405.0694 213.0208,427.3194 " fill="none" id="join_state-to-State4" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="213.0208,432.5798,217.1875,423.2048,213.0208,427.3715,208.8542,423.2048,213.0208,432.5798" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
|
||
|
link State4 to Active--><path d="M213.0208,490.1111 C213.0208,504.934 213.0208,524.8507 213.0208,547.809 " fill="none" id="State4-to-Active" style="stroke:#303030;stroke-width:3.125;"/><polygon fill="#303030" points="213.0208,553.059,217.1875,543.684,213.0208,547.8507,208.8542,543.684,213.0208,553.059" style="stroke:#303030;stroke-width:3.125;"/><!--MD5=[99db7b82cdfc626bdaad7e0948a0940d]
|
||
|
@startuml
|
||
|
|
||
|
!$THEME = "black-knight"
|
||
|
|
||
|
!if %not(%variable_exists("$BGCOLOR"))
|
||
|
!$BGCOLOR = "transparent"
|
||
|
!endif
|
||
|
|
||
|
skinparam backgroundColor $BGCOLOR
|
||
|
skinparam useBetaStyle false
|
||
|
|
||
|
!$PRIMARY = "#303030"
|
||
|
!$PRIMARY_DARK = "#262626"
|
||
|
!$PRIMARY_LIGHT = "#595959"
|
||
|
!$PRIMARY_TEXT = "#fff200"
|
||
|
!$SECONDARY = "#484848"
|
||
|
!$SECONDARY_DARK = "#3a3a3a"
|
||
|
!$SECONDARY_LIGHT = "#6d6d6d"
|
||
|
!$SECONDARY_TEXT = "#fefefe"
|
||
|
!$SUCCESS = "#00FF00"
|
||
|
!$SUCCESS_DARK = "#00cc00"
|
||
|
!$SUCCESS_LIGHT = "#33ff33"
|
||
|
!$INFO = "#0060a8"
|
||
|
!$INFO_DARK = "#004d86"
|
||
|
!$INFO_LIGHT = "#3380b9"
|
||
|
!$WARNING = "#ff8000"
|
||
|
!$WARNING_DARK = "#cc6600"
|
||
|
!$WARNING_LIGHT = "#ff9933"
|
||
|
!$WARNING_TEXT = "#222222"
|
||
|
!$DANGER = "#ff0000"
|
||
|
!$DANGER_DARK = "#cc0000"
|
||
|
!$DANGER_LIGHT = "#ff3333"
|
||
|
!$LIGHT = "#fff200"
|
||
|
!$DARK = "#484848"
|
||
|
|
||
|
!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 $PRIMARY_LIGHT-$PRIMARY_DARK
|
||
|
!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 $SECONDARY_TEXT
|
||
|
BorderColor $SECONDARY_DARK
|
||
|
FontSize 20
|
||
|
BorderRoundCorner 8
|
||
|
BorderThickness 1
|
||
|
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam legend {
|
||
|
BackgroundColor $PRIMARY
|
||
|
BorderColor $PRIMARY_DARK
|
||
|
FontColor $PRIMARY_TEXT
|
||
|
}
|
||
|
|
||
|
!startsub swimlane
|
||
|
skinparam swimlane {
|
||
|
BorderColor $INFO
|
||
|
BorderThickness 2
|
||
|
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
|
||
|
TitleFontColor $PRIMARY_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub activity
|
||
|
skinparam activity {
|
||
|
$primary_scheme()
|
||
|
BarColor $SUCCESS
|
||
|
StartColor $INFO
|
||
|
EndColor $INFO
|
||
|
DiamondBackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
|
||
|
DiamondBorderColor $SECONDARY_DARK
|
||
|
DiamondFontColor $SECONDARY_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub participant
|
||
|
|
||
|
skinparam participant {
|
||
|
$primary_scheme()
|
||
|
ParticipantBorderThickness 2
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub actor
|
||
|
|
||
|
skinparam actor {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!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 $SECONDARY_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 $SECONDARY_TEXT
|
||
|
ReferenceHeaderFontColor $INFO
|
||
|
ReferenceHeaderBackgroundColor $SECONDARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub partition
|
||
|
|
||
|
skinparam partition {
|
||
|
BorderColor $PRIMARY
|
||
|
FontColor $PRIMARY_LIGHT
|
||
|
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 $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 $PRIMARY_LIGHT
|
||
|
FontColor $PRIMARY_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub cloud
|
||
|
|
||
|
skinparam cloud {
|
||
|
BackgroundColor transparent
|
||
|
BorderColor $DARK
|
||
|
FontColor $LIGHT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub database
|
||
|
|
||
|
skinparam database {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub class
|
||
|
|
||
|
skinparam class {
|
||
|
$primary_scheme()
|
||
|
HeaderBackgroundColor $PRIMARY_LIGHT
|
||
|
StereotypeFontColor $DARK
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor $LIGHT
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub object
|
||
|
|
||
|
skinparam object {
|
||
|
$primary_scheme()
|
||
|
StereotypeFontColor $DARK
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor $SECONDARY_TEXT
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub usecase
|
||
|
|
||
|
skinparam usecase {
|
||
|
$primary_scheme()
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor $PRIMARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub rectangle
|
||
|
|
||
|
skinparam rectangle {
|
||
|
$primary_scheme()
|
||
|
BackgroundColor $BGCOLOR
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor $PRIMARY
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub package
|
||
|
|
||
|
skinparam package {
|
||
|
$primary_scheme()
|
||
|
BackgroundColor $BGCOLOR
|
||
|
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_LIGHT-$SECONDARY
|
||
|
BorderColor $INFO
|
||
|
FontColor $SECONDARY_TEXT
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!startsub stack
|
||
|
|
||
|
skinparam stack {
|
||
|
$primary_scheme()
|
||
|
}
|
||
|
!endsub
|
||
|
|
||
|
!if %variable_exists("NEWSTYLE")
|
||
|
<style>
|
||
|
wbsDiagram {
|
||
|
LineColor $PRIMARY
|
||
|
BorderThickness 3
|
||
|
BackgroundColor $LIGHT
|
||
|
FontColor $PRIMARY_TEXT
|
||
|
:depth(0) {
|
||
|
fontSize 16
|
||
|
fontStyle bold
|
||
|
fontColor $SECONDARY
|
||
|
}
|
||
|
:depth(1) {
|
||
|
fontSize 14
|
||
|
padding 5
|
||
|
fontStyle bold
|
||
|
}
|
||
|
:depth(2) {
|
||
|
fontSize 12
|
||
|
padding 4
|
||
|
}
|
||
|
:depth(3) {
|
||
|
fontSize 11
|
||
|
padding 3
|
||
|
fontColor $INFO
|
||
|
}
|
||
|
|
||
|
}
|
||
|
</style>
|
||
|
!endif
|
||
|
|
||
|
!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 #484848
|
||
|
skinparam stereotype {
|
||
|
CBackgroundColor #3a3a3a
|
||
|
CBorderColor #6d6d6d
|
||
|
ABackgroundColor #33ff33
|
||
|
ABorderColor #00cc00
|
||
|
IBackgroundColor #ff3333
|
||
|
IBorderColor #cc0000
|
||
|
EBackgroundColor #ff9933
|
||
|
EBorderColor #cc6600
|
||
|
NBackgroundColor #3380b9
|
||
|
NBorderColor #004d86
|
||
|
}
|
||
|
skinparam title {
|
||
|
FontColor #fefefe
|
||
|
BorderColor #3a3a3a
|
||
|
FontSize 20
|
||
|
BorderRoundCorner 8
|
||
|
BorderThickness 1
|
||
|
BackgroundColor #6d6d6d-#484848
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam legend {
|
||
|
BackgroundColor #303030
|
||
|
BorderColor #262626
|
||
|
FontColor #fff200
|
||
|
}
|
||
|
|
||
|
skinparam swimlane {
|
||
|
BorderColor #0060a8
|
||
|
BorderThickness 2
|
||
|
TitleBackgroundColor #6d6d6d-#484848
|
||
|
TitleFontColor #fff200
|
||
|
}
|
||
|
|
||
|
skinparam activity {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
BarColor #00FF00
|
||
|
StartColor #0060a8
|
||
|
EndColor #0060a8
|
||
|
DiamondBackgroundColor #6d6d6d-#3a3a3a
|
||
|
DiamondBorderColor #3a3a3a
|
||
|
DiamondFontColor #fefefe
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam participant {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
ParticipantBorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam actor {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
skinparam arrow {
|
||
|
Thickness 3
|
||
|
Color #303030
|
||
|
FontColor $FGCOLOR
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
skinparam sequence {
|
||
|
BorderColor #303030
|
||
|
TitleFontColor #303030
|
||
|
BackgroundColor transparent
|
||
|
StartColor #303030
|
||
|
EndColor #303030
|
||
|
BoxBackgroundColor transparent
|
||
|
BoxBorderColor #484848
|
||
|
BoxFontColor #484848
|
||
|
LifeLineBorderColor #484848
|
||
|
LifeLineBorderThickness 2
|
||
|
LifeLineBackgroundColor #3a3a3a
|
||
|
GroupBorderColor #484848
|
||
|
GroupFontColor #484848
|
||
|
GroupHeaderFontColor #0060a8
|
||
|
GroupBackgroundColor #484848
|
||
|
GroupBodyBackgroundColor transparent
|
||
|
GroupHeaderBackgroundColor transparent
|
||
|
DividerBackgroundColor #484848
|
||
|
DividerBorderColor #484848
|
||
|
DividerBorderThickness 2
|
||
|
DividerFontColor #fff200
|
||
|
ReferenceBackgroundColor transparent
|
||
|
ReferenceBorderColor #484848
|
||
|
ReferenceFontColor #fefefe
|
||
|
ReferenceHeaderFontColor #0060a8
|
||
|
ReferenceHeaderBackgroundColor #484848
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam partition {
|
||
|
BorderColor #303030
|
||
|
FontColor #595959
|
||
|
BackgroundColor transparent
|
||
|
}
|
||
|
|
||
|
skinparam collections {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
skinparam control {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
skinparam entity {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
skinparam boundary {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
skinparam agent {
|
||
|
BackgroundColor #ff8000
|
||
|
BorderColor #ff9933
|
||
|
FontColor #484848
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam note {
|
||
|
BorderThickness 1
|
||
|
BackgroundColor #0060a8
|
||
|
BorderColor #004d86
|
||
|
FontColor $WHITE
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam artifact {
|
||
|
BackgroundColor #484848
|
||
|
BorderColor $DARK_DARK
|
||
|
FontColor #fff200
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam component {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam interface {
|
||
|
BackgroundColor #cc0000
|
||
|
BorderColor #ff0000
|
||
|
FontColor #484848
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam storage {
|
||
|
BackgroundColor #ff8000
|
||
|
BorderColor #cc6600
|
||
|
FontColor #222222
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam node {
|
||
|
BackgroundColor transparent
|
||
|
BorderColor #595959
|
||
|
FontColor #fff200
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam cloud {
|
||
|
BackgroundColor transparent
|
||
|
BorderColor #484848
|
||
|
FontColor #fff200
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam database {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam class {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
HeaderBackgroundColor #595959
|
||
|
StereotypeFontColor #484848
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor #fff200
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam object {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
StereotypeFontColor #484848
|
||
|
BorderThickness 1
|
||
|
AttributeFontColor #fefefe
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam usecase {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor #303030
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam rectangle {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
BackgroundColor transparent
|
||
|
BorderThickness 2
|
||
|
StereotypeFontColor #303030
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam package {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
BackgroundColor transparent
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam folder {
|
||
|
BackgroundColor #6d6d6d
|
||
|
BorderColor #ff8000
|
||
|
FontColor #ff8000
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam frame {
|
||
|
BackgroundColor #6d6d6d
|
||
|
BorderColor #0060a8
|
||
|
FontColor #0060a8
|
||
|
BorderThickness 2
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam state {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
StartColor #0060a8
|
||
|
EndColor #0060a8
|
||
|
AttributeFontColor #fefefe
|
||
|
AttributeFontSize 11
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam queue {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam card {
|
||
|
BackgroundColor #0060a8
|
||
|
BorderColor #004d86
|
||
|
FontColor $INFO_TEXT
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam file {
|
||
|
BackgroundColor #6d6d6d-#484848
|
||
|
BorderColor #0060a8
|
||
|
FontColor #fefefe
|
||
|
}
|
||
|
|
||
|
|
||
|
skinparam stack {
|
||
|
FontColor #fff200
|
||
|
BorderColor #262626
|
||
|
BackgroundColor #595959-#262626
|
||
|
}
|
||
|
|
||
|
|
||
|
title State Diagram - black-knight 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>
|