demo_doc/puml/metal/state-ex.svg

853 lines
29 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="1316.6667px" preserveAspectRatio="none" style="width:357px;height:1316px;background:#00000000;" version="1.1" viewBox="0 0 357 1316" width="357.2917px" zoomAndPan="magnify"><defs><linearGradient id="g1fjyue617porp0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#CDCDCD"/><stop offset="100%" stop-color="#9A9A9A"/></linearGradient><linearGradient id="g1fjyue617porp1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E5E4E2"/><stop offset="100%" stop-color="#B7B6B5"/></linearGradient></defs><g><rect fill="url(#g1fjyue617porp0)" height="52.4028" rx="4.1667" ry="4.1667" style="stroke:#9A9A9A;stroke-width:1.0416666666666667;" width="342.7083" x="2.0833" y="2.0833"/><text fill="#FDFDFD" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="309.375" x="18.75" y="36.5702">State Diagram - metal theme</text><rect fill="#CD7F32" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="138.0208" y="148.2361"/><ellipse cx="179.6875" cy="74.2778" fill="#4682B4" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="State2"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="81.25" x="80.7292" y="220.1111"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="80.7292" x2="161.9792" y1="262.3861" y2="262.3861"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="99.4792" y="246.2199">State2</text></g><g id="State3"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="81.25" x="204.6875" y="220.1111"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="204.6875" x2="285.9375" y1="262.3861" y2="262.3861"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="223.4375" y="246.2199">State3</text></g><rect fill="#CD7F32" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="139.0625" y="385.7361"/><g id="State4"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="81.25" x="140.1042" y="457.6111"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="140.1042" x2="221.3542" y1="499.8861" y2="499.8861"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="158.8542" y="483.7199">State4</text></g><rect fill="url(#g1fjyue617porp1)" height="720.1416" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="339.5833" x="10.9375" y="590.9444"/><rect height="671.6166" rx="13.0208" ry="13.0208" style="stroke:#00000000;stroke-width:1.0416666666666667;fill:none;" width="333.3333" x="14.0625" y="636.3444"/><line style="stroke:#B7B6B5;stroke-width:1.5625;fill:none;" x1="10.9375" x2="350.5208" y1="633.2194" y2="633.2194"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="161.4583" y="617.0532">Active</text><ellipse cx="32.8125" cy="680.6152" fill="#4682B4" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.NumLockOff"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="114.5833" x="61.9792" y="645.7194"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="61.9792" x2="176.5625" y1="687.9944" y2="687.9944"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="80.7292" y="671.8282">NumLockOff</text></g><g id="Active.NumLockOn"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="114.5833"
link *start*Active to NumLockOff--><path d="M43.2813,680.6152 C47.5938,680.6152 51.9063,680.6152 56.2188,680.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="61.6875,680.6152,52.3125,676.4486,56.4792,680.6152,52.3125,684.7819,61.6875,680.6152" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
link NumLockOff to NumLockOn--><path d="M61.8333,711.8548 C49.1979,719.709 38.5,727.7715 34.8958,734.2611 C27.7083,747.2194 27.7396,754.6257 34.8958,767.5944 C40.0729,776.9902 47.7292,784.9486 56.3125,791.5944 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="60.6042,794.7507,55.5122,785.8442,56.4056,791.6687,50.5811,792.562,60.6042,794.7507" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="44.2708" y="756.2032">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
link NumLockOn to NumLockOff--><path d="M167.8229,786.2819 C173.0208,780.6569 177.5625,774.4069 180.7292,767.5944 C186.9792,754.1673 186.9271,747.7194 180.7292,734.2611 C178.3438,729.084 175.1771,724.2298 171.5208,719.7194 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="168.0417,715.6777,170.9976,725.5019,171.4386,719.6259,177.3146,720.0669,168.0417,715.6777" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="195.3125" y="756.2032">EvNumLockPressed</text><line style="stroke:#B7B6B5;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="16.1458" x2="343.2292" y1="860.9111" y2="860.9111"/><ellipse cx="32.8125" cy="903.0986" fill="#4682B4" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC87.CapsLockOff"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="118.75" x="61.9792" y="868.2027"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="61.9792" x2="180.7292" y1="910.4777" y2="910.4777"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="80.7292" y="894.3115">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="118.75" x="60.9375" y="1008.8277"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="60.9375" x2="179.6875" y1="1051.1027" y2="1051.1027"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="79.6875" y="1034.9365">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
link *start*CONC87 to CapsLockOff--><path d="M43.5313,903.0986 C47.8125,903.0986 52.0833,903.0986 56.3542,903.0986 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="61.7708,903.0986,52.3958,898.9319,56.5625,903.0986,52.3958,907.2652,61.7708,903.0986" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
link CapsLockOff to CapsLockOn--><path d="M61.6146,934.7548 C49.0625,942.4319 38.5104,950.3069 34.8958,956.7444 C27.6354,969.6611 27.6667,977.1402 34.8958,990.0777 C40.1458,999.484 47.8542,1007.4215 56.5208,1014.0361 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="60.8438,1017.1819,55.7163,1008.2959,56.6329,1014.1167,50.812,1015.0333,60.8438,1017.1819" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="44.2708" y="978.6865">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
link CapsLockOn to CapsLockOff--><path d="M171.8333,1008.6506 C177.0833,1003.0777 181.6667,996.8694 184.8958,990.0777 C191.25,976.6923 191.1979,970.1506 184.8958,956.7444 C182.4688,951.5881 179.2604,946.7548 175.5729,942.2861 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="172.0625,938.2756,175.0976,948.0756,175.4912,942.1962,181.3706,942.5898,172.0625,938.2756" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="199.4792" y="978.6865">EvCapsLockPressed</text><line style="stroke:#B7B6B5;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="16.1458" x2="343.2292" y1="1083.3944" y2="1083.3944"/><ellipse cx="32.8125" cy="1125.5819" fill="#4682B4" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC95.ScrollLockOff"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="119.7917" x="62.5" y="1090.686"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="62.5" x2="182.2917" y1="1132.961" y2="1132.961"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="81.25" y="1116.7948">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect fill="url(#g1fjyue617porp1)" height="69.3583" rx="13.0208" ry="13.0208" style="stroke:#B7B6B5;stroke-width:1.5625;" width="119.7917" x="62.5" y="1231.311"/><line style="stroke:#B7B6B5;stroke-width:1.5625;" x1="62.5" x2="182.2917" y1="1273.586" y2="1273.586"/><text fill="#4682B4" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="81.25" y="1257.4198">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
link *start*CONC95 to ScrollLockOff--><path d="M43.3125,1125.5819 C47.8958,1125.5819 52.4896,1125.5819 57.0729,1125.5819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="62.4688,1125.5819,53.0938,1121.4152,57.2604,1125.5819,53.0938,1129.7485,62.4688,1125.5819" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
link ScrollLockOff to ScrollLockOn--><path d="M62.4792,1157.8527 C50.4792,1165.3527 40.4583,1172.9985 36.9792,1179.2277 C29.75,1192.1652 29.75,1199.6235 36.9792,1212.561 C42.1563,1221.8423 49.7292,1229.686 58.2396,1236.2485 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="62.4896,1239.3735,57.3977,1230.4671,58.291,1236.2916,52.4665,1237.1849,62.4896,1239.3735" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="46.3542" y="1201.1698">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
link ScrollLockOn to ScrollLockOff--><path d="M173.9167,1231.134 C179.1667,1225.561 183.75,1219.3527 186.9792,1212.561 C193.3333,1199.1756 193.3333,1192.6131 186.9792,1179.2277 C184.5104,1174.0298 181.2396,1169.1756 177.4896,1164.686 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="173.9167,1160.6548,177.0123,1170.4358,177.3695,1164.5541,183.2512,1164.9113,173.9167,1160.6548" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="200.5208" y="1201.1698">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
link *start to fork_state--><path d="M179.6875,84.9548 C179.6875,99.7882 179.6875,128.0069 179.6875,142.4132 " fill="none" id="*start-to-fork_state" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="179.6875,147.9653,183.8542,138.5903,179.6875,142.7569,175.5208,138.5903,179.6875,147.9653" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
link fork_state to State2--><path d="M177.75,156.7882 C172.4063,165.9861 157.0208,192.5069 143.6667,215.5278 " fill="none" id="fork_state-to-State2" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="141.0208,220.0694,149.3412,214.0675,143.6433,215.5695,142.1413,209.8716,141.0208,220.0694" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
link fork_state to State3--><path d="M181.875,156.7882 C187.875,165.9861 205.1875,192.5069 220.2188,215.5278 " fill="none" id="fork_state-to-State3" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="223.1875,220.0694,221.5584,209.9404,220.3433,215.7063,214.5774,214.4911,223.1875,220.0694" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
link State2 to join_state--><path d="M105.4583,290.3507 C98.6458,310.4653 94.6875,335.5486 106.7708,354.4861 C117.4688,371.2569 138.6979,379.9653 155.6771,384.4236 " fill="none" id="State2-to-join_state" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="160.7917,385.6736,152.6723,379.4025,155.7319,384.4384,150.696,387.4981,160.7917,385.6736" style="stroke:#E5E4E2;stroke-width:3.125;"/><text fill="#4D4D4D" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="98.9583" x="116.1458" y="343.0949">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
link State3 to join_state--><path d="M245.8438,290.2257 C244.6875,310.2882 240.5833,335.3715 228.6458,354.4861 C220.1875,368.0382 204.2292,377.8507 193.0625,383.434 " fill="none" id="State3-to-join_state" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="188.3125,385.7048,198.5685,385.4487,193.0176,383.4714,194.995,377.9205,188.3125,385.7048" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
link join_state to State4--><path d="M180.7292,394.2882 C180.7292,403.3715 180.7292,429.3507 180.7292,452.1632 " fill="none" id="join_state-to-State4" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="180.7292,457.5694,184.8958,448.1944,180.7292,452.3611,176.5625,448.1944,180.7292,457.5694" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
link State4 to Active--><path d="M180.7292,527.4653 C180.7292,542.9236 180.7292,562.8819 180.7292,585.7048 " fill="none" id="State4-to-Active" style="stroke:#E5E4E2;stroke-width:3.125;"/><polygon fill="#E5E4E2" points="180.7292,590.934,184.8958,581.559,180.7292,585.7257,176.5625,581.559,180.7292,590.934" style="stroke:#E5E4E2;stroke-width:3.125;"/><!--MD5=[4774c66af3f50f5b47791153fd711a8a]
@startuml
!$THEME = "metal"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#fdfdfd"
!$GRAY_DARK = "#4d4d4d"
!$GRAY = "#737373"
!$LIGHT = "#f2f2f2"
!$DARK = "#4d4d4d"
!$SILVER = "#c0c0c0"
!$COPPER = "#B87333c"
!$STEELBLUE = "#4682b4"
!$LIGHTSTEELBLUE = "#B0C4DE"
!$LIGHTSTEELBLUE_DARK = "#8d9db2"
!$LIGHTSTEELBLUE_LIGHT = "#c0d0e5"
!$ALUMINUM = "#c9ced0"
!$ALUMINUM_DARK = "#a1a5a6"
!$ALUMINUM_LIGHT = "#d4d8d9"
!$BRONZE = "#CD7F32"
!$BRONZE_DARK = "#a46628"
!$BRONZE_LIGHT = "#d7995b"
!$GOLD = "#FFD700"
!$PLATINUM = "#E5E4E2"
!$RUST = "#B7410E"
!$FGCOLOR = $DARK
!$PRIMARY = $PLATINUM
!$PRIMARY_LIGHT = "#eae9e8"
!$PRIMARY_DARK = "#b7b6b5"
!$PRIMARY_TEXT = $STEELBLUE
!$SECONDARY = $SILVER
!$SECONDARY_LIGHT = "#cdcdcd"
!$SECONDARY_DARK = "#9a9a9a"
!$SECONDARY_TEXT = $WHITE
!$INFO = $STEELBLUE
!$INFO_LIGHT = "#5c85ad"
!$INFO_DARK = "#29527a"
!$INFO_TEXT = $WHITE
!$SUCCESS = "#339933"
!$SUCCESS_LIGHT = "#5cad5c"
!$SUCCESS_DARK = "#297a29"
!$SUCCESS_TEXT = $WHITE
!$WARNING = $GOLD
!$WARNING_LIGHT = "#ffdf33"
!$WARNING_DARK = "#ccac00"
!$WARNING_TEXT = $WHITE
!$DANGER = $RUST
!$DANGER_LIGHT = "#c5673e"
!$DANGER_DARK = "#92340b"
!$DANGER_TEXT = $WHITE
!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-$PRIMARY_DARK
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor $GRAY
skinparam stereotype {
CBackgroundColor $SECONDARY_LIGHT
CBorderColor $SECONDARY_DARK
ABackgroundColor $SUCCESS_LIGHT
ABorderColor $SUCCESS_DARK
IBackgroundColor $DANGER_LIGHT
IBorderColor $DANGER_DARK
EBackgroundColor $WARNING_LIGHT
EBorderColor $WARNING_DARK
NBackgroundColor $INFO_LIGHT
NBorderColor $INFO_DARK
}
skinparam title {
FontColor $WHITE
BorderColor $SECONDARY_DARK
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
}
skinparam legend {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $SECONDARY_DARK
FontColor $PRIMARY_TEXT
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
TitleFontColor $PRIMARY
}
!endsub
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $BRONZE
StartColor $INFO
EndColor $INFO
DiamondBackgroundColor $SECONDARY-$SECONDARY_DARK
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
BorderColor $PRIMARY
TitleFontColor $WHITE
BackgroundColor $BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
BoxBackgroundColor $BGCOLOR
BoxBorderColor $GRAY
BoxFontColor $DARK
LifeLineBorderColor $SECONDARY_DARK
LifeLineBorderThickness 3
LifeLineBackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
GroupBorderColor $GRAY
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $WHITE-$LIGHT
DividerBorderColor $GRAY
DividerBorderThickness 2
DividerFontColor $DARK
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $GRAY
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY_DARK
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 #orange
BorderColor #999999
FontColor #333333
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $LIGHTSTEELBLUE_LIGHT-$LIGHTSTEELBLUE_DARK
BorderColor $LIGHTSTEELBLUE_DARK
FontColor $WHITE
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
BorderColor $SECONDARY_DARK
FontColor $SECONDARY_TEXT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_LIGHT
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_LIGHT-$WARNING_DARK
BorderColor $WARNING_DARK
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $PRIMARY
FontColor $DARK
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY_DARK
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $LIGHT
BorderThickness 1
AttributeFontColor $WHITE
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BackgroundColor $WHITE-$LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
$primary_scheme()
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $RUST
FontColor $RUST
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_LIGHT-$INFO_DARK
BorderColor $INFO
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
BorderColor $GRAY
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 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor #737373
skinparam stereotype {
CBackgroundColor #cdcdcd
CBorderColor #9a9a9a
ABackgroundColor #5cad5c
ABorderColor #297a29
IBackgroundColor #c5673e
IBorderColor #92340b
EBackgroundColor #ffdf33
EBorderColor #ccac00
NBackgroundColor #5c85ad
NBorderColor #29527a
}
skinparam title {
FontColor #fdfdfd
BorderColor #9a9a9a
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #cdcdcd-#9a9a9a
}
skinparam legend {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #9a9a9a
FontColor #4682b4
}
skinparam swimlane {
BorderColor #4682b4
BorderThickness 2
TitleBackgroundColor #cdcdcd-#c0c0c0
TitleFontColor #E5E4E2
}
skinparam activity {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BarColor #CD7F32
StartColor #4682b4
EndColor #4682b4
DiamondBackgroundColor #c0c0c0-#9a9a9a
DiamondBorderColor #9a9a9a
DiamondFontColor #fdfdfd
}
skinparam participant {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam arrow {
Thickness 3
Color #E5E4E2
FontColor #4d4d4d
}
skinparam sequence {
BorderColor #E5E4E2
TitleFontColor #fdfdfd
BackgroundColor transparent
StartColor #E5E4E2
EndColor #E5E4E2
BoxBackgroundColor transparent
BoxBorderColor #737373
BoxFontColor #4d4d4d
LifeLineBorderColor #9a9a9a
LifeLineBorderThickness 3
LifeLineBackgroundColor #cdcdcd-#9a9a9a
GroupBorderColor #737373
GroupFontColor #4d4d4d
GroupHeaderFontColor #4682b4
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #fdfdfd-#f2f2f2
DividerBorderColor #737373
DividerBorderThickness 2
DividerFontColor #4d4d4d
ReferenceBackgroundColor transparent
ReferenceBorderColor #737373
ReferenceFontColor #4d4d4d
ReferenceHeaderFontColor #4682b4
}
skinparam partition {
BorderColor #E5E4E2
FontColor #b7b6b5
BackgroundColor transparent
}
skinparam collections {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
skinparam control {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam entity {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam boundary {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
skinparam note {
BorderThickness 1
BackgroundColor #c0d0e5-#8d9db2
BorderColor #8d9db2
FontColor #fdfdfd
}
skinparam artifact {
BackgroundColor #cdcdcd-#9a9a9a
BorderColor #9a9a9a
FontColor #fdfdfd
}
skinparam component {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
skinparam interface {
BackgroundColor #c5673e
BorderColor #B7410E
FontColor #4d4d4d
}
skinparam storage {
BackgroundColor #ffdf33-#ccac00
BorderColor #ccac00
FontColor #fdfdfd
}
skinparam node {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #E5E4E2
FontColor #4d4d4d
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #4d4d4d
}
skinparam database {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
FontColor #4d4d4d
}
skinparam class {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
HeaderBackgroundColor #eae9e8-#b7b6b5
StereotypeFontColor #4d4d4d
BorderThickness 1
AttributeFontColor #4d4d4d
AttributeFontSize 11
}
skinparam object {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
StereotypeFontColor #f2f2f2
BorderThickness 1
AttributeFontColor #fdfdfd
AttributeFontSize 11
}
skinparam usecase {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BorderThickness 2
StereotypeFontColor #E5E4E2
}
skinparam rectangle {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BackgroundColor #fdfdfd-#f2f2f2
BorderThickness 2
StereotypeFontColor #E5E4E2
}
skinparam package {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
BackgroundColor #eae9e8-#E5E4E2
BorderThickness 2
}
skinparam folder {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #B7410E
FontColor #B7410E
BorderThickness 2
}
skinparam frame {
BackgroundColor #eae9e8-#E5E4E2
BorderColor #4682b4
FontColor #4682b4
BorderThickness 2
}
skinparam state {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
StartColor #4682b4
EndColor #4682b4
AttributeFontColor #c0c0c0
AttributeFontSize 11
}
skinparam queue {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
skinparam card {
BackgroundColor #5c85ad-#29527a
BorderColor #4682b4
FontColor #fdfdfd
}
skinparam file {
BackgroundColor #cdcdcd-#9a9a9a
BorderColor #737373
FontColor #f2f2f2
}
skinparam stack {
FontColor #4682b4
BorderColor #b7b6b5
BackgroundColor #E5E4E2-#b7b6b5
}
title State Diagram - metal 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>