demo_doc/puml/united/state-ex.svg

834 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:356px;height:1179px;background:#00000000;" version="1.1" viewBox="0 0 356 1179" width="356.25px" zoomAndPan="magnify"><defs><linearGradient id="g1c764009lng3n0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#B6B0A9"/><stop offset="100%" stop-color="#AEA79F"/></linearGradient></defs><g><rect fill="url(#g1c764009lng3n0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#9D968F;stroke-width:1.0416666666666667;" width="343.75" x="2.0833" y="2.0833"/><text fill="#E95420" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="316.6667" x="15.625" y="33.4452">State Diagram - united theme</text><rect fill="#38B44A" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="138.5417" y="141.9861"/><ellipse cx="180.2083" cy="68.0278" fill="#17A2B8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="State2"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="75" x="87.5" y="213.8611"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="87.5" x2="162.5" y1="249.8861" y2="249.8861"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="103.125" y="236.8449">State2</text></g><g id="State3"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="75" x="205.2083" y="213.8611"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="205.2083" x2="280.2083" y1="249.8861" y2="249.8861"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="220.8333" y="236.8449">State3</text></g><rect fill="#38B44A" height="8.3333" style="stroke:none;stroke-width:1.0416666666666667;" width="83.3333" x="139.5833" y="360.7361"/><g id="State4"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="75" x="143.75" y="432.6111"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="143.75" x2="218.75" y1="468.6361" y2="468.6361"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="43.75" x="159.375" y="455.5949">State4</text></g><rect fill="#EB6536" height="620.1416" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="326.0417" x="18.2292" 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="21.3542" y="592.5944"/><line style="stroke:#D24C1D;stroke-width:1.5625;fill:none;" x1="18.2292" x2="344.2708" y1="589.4694" y2="589.4694"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="38.5417" x="161.9792" y="576.4282">Active</text><ellipse cx="40.1042" cy="630.6152" fill="#17A2B8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.NumLockOff"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="108.3333" x="69.2708" y="601.9694"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="69.2708" x2="177.6042" y1="637.9944" y2="637.9944"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="84.8958" y="624.9532">NumLockOff</text></g><g id="Active.NumLockOn"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="108.3333" x="68.2292" y="723.8444"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="68.2292" x2="176.5625" y1="759.8694" y2="759.8694"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="77.0833" x="83.8542" y="746.8282">NumLockOn</text></g>
link *start*Active to NumLockOff--><path d="M50.5208,630.6152 C54.8646,630.6152 59.1979,630.6152 63.5417,630.6152 " fill="none" id="*start*Active-to-NumLockOff" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="69.0313,630.6152,59.6563,626.4486,63.8229,630.6152,59.6563,634.7819,69.0313,630.6152" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[b6ef3c088f5474ecc81df30475e7d61b]
link NumLockOff to NumLockOn--><path d="M69.0208,657.3652 C56.5,664.4277 45.7813,671.834 42.1875,678.0111 C36.1458,688.4173 36.1667,694.6673 42.1875,705.0944 C47.2708,713.9069 54.75,721.1986 63.1146,727.1777 " fill="none" id="NumLockOff-to-NumLockOn" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="67.8438,730.3652,62.4096,721.6634,63.5286,727.4488,57.7432,728.5677,67.8438,730.3652" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="48.4375" y="696.8282">EvNumLockPressed</text><!--MD5=[3bfddee0d82dc74c927fbeb3d3f2e6a3]
link NumLockOn to NumLockOff--><path d="M167.75,723.6673 C173.4063,718.2298 178.3854,712.0319 181.7708,705.0944 C187.0521,694.2715 187,688.8548 181.7708,678.0111 C179.1875,672.6569 175.6563,667.7402 171.5938,663.2611 " fill="none" id="NumLockOn-to-NumLockOff" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="167.7292,659.2715,171.2571,668.905,171.3521,663.0132,177.2439,663.1083,167.7292,659.2715" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="127.0833" x="192.1875" y="696.8282">EvNumLockPressed</text><line style="stroke:#D24C1D;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="23.4375" x2="336.9792" y1="785.9111" y2="785.9111"/><ellipse cx="40.1042" cy="821.8486" fill="#17A2B8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC87.CapsLockOff"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="112.5" x="69.2708" y="793.2027"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="69.2708" x2="181.7708" y1="829.2277" y2="829.2277"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="84.8958" y="816.1865">CapsLockOff</text></g><g id="Active.CONC87.CapsLockOn"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="112.5" x="68.2292" y="915.0777"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="68.2292" x2="180.7292" y1="951.1027" y2="951.1027"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="81.25" x="83.8542" y="938.0615">CapsLockOn</text></g><!--MD5=[70bdb58272bc1a7d9e9d21dfe0316432]
link *start*CONC87 to CapsLockOff--><path d="M50.7813,821.8486 C55.0938,821.8486 59.4063,821.8486 63.7188,821.8486 " fill="none" id="*start*CONC87-to-CapsLockOff" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="69.1771,821.8486,59.8021,817.6819,63.9688,821.8486,59.8021,826.0152,69.1771,821.8486" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[dc4675bd3056f3ef68701d9e8e02a3f3]
link CapsLockOff to CapsLockOn--><path d="M68.8542,848.9423 C56.3854,855.859 45.7917,863.109 42.1875,869.2444 C36.0833,879.6194 36.1146,885.9319 42.1875,896.3277 C47.3542,905.1715 54.8958,912.4527 63.3438,918.4111 " fill="none" id="CapsLockOff-to-CapsLockOn" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="68.125,921.5881,62.6358,912.9209,63.7914,918.6991,58.0133,919.8547,68.125,921.5881" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="48.4375" y="888.0615">EvCapsLockPressed</text><!--MD5=[79e17b083e07746bd1a647600952cab6]
link CapsLockOn to CapsLockOff--><path d="M171.6979,914.8381 C177.4375,909.4423 182.4792,903.2652 185.9375,896.3277 C191.3021,885.5569 191.2604,880.0361 185.9375,869.2444 C183.2917,863.8902 179.7083,858.984 175.5833,854.5256 " fill="none" id="CapsLockOn-to-CapsLockOff" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="171.6563,850.5673,175.281,860.1648,175.3167,854.2724,181.2092,854.3081,171.6563,850.5673" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="196.3542" y="888.0615">EvCapsLockPressed</text><line style="stroke:#D24C1D;stroke-width:1.5625;stroke-dasharray:8.0,10.0;" x1="23.4375" x2="336.9792" y1="977.1444" y2="977.1444"/><ellipse cx="40.1042" cy="1013.0819" fill="#17A2B8" rx="10.4167" ry="10.4167" style="stroke:none;stroke-width:1.0416666666666667;"/><g id="Active.CONC95.ScrollLockOff"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="113.5417" x="69.7917" y="984.436"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="69.7917" x2="183.3333" y1="1020.461" y2="1020.461"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="85.4167" y="1007.4198">ScrollLockOff</text></g><g id="Active.CONC95.ScrollLockOn"><rect fill="#EB6536" height="56.8583" rx="13.0208" ry="13.0208" style="stroke:#D24C1D;stroke-width:1.5625;" width="113.5417" x="69.7917" y="1106.311"/><line style="stroke:#D24C1D;stroke-width:1.5625;" x1="69.7917" x2="183.3333" y1="1142.336" y2="1142.336"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="82.2917" x="85.4167" y="1129.2948">ScrollLockOn</text></g><!--MD5=[8676698f49c1acec7e35e8e65e103748]
link *start*CONC95 to ScrollLockOff--><path d="M50.5729,1013.0819 C55.125,1013.0819 59.6771,1013.0819 64.2292,1013.0819 " fill="none" id="*start*CONC95-to-ScrollLockOff" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="69.5729,1013.0819,60.1979,1008.9152,64.3646,1013.0819,60.1979,1017.2485,69.5729,1013.0819" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[da4e1e55b4a6de250eca2c82023085fa]
link ScrollLockOff to ScrollLockOn--><path d="M69.7917,1035.4777 C59.5938,1041.936 50.3125,1050.1444 44.2708,1060.4777 C38.1979,1070.8735 38.1979,1077.1652 44.2708,1087.561 C49.3646,1096.2798 56.7708,1103.4881 65.0833,1109.4048 " fill="none" id="ScrollLockOff-to-ScrollLockOn" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="69.7917,1112.561,64.323,1103.8808,65.4649,1109.6617,59.6841,1110.8036,69.7917,1112.561" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="50.5208" y="1079.2948">EvCapsLockPressed</text><!--MD5=[6ad2c621f2407b82317910f4deb17639]
link ScrollLockOn to ScrollLockOff--><path d="M173.7813,1106.0715 C179.5208,1100.6756 184.5625,1094.4985 188.0208,1087.561 C193.3854,1076.7902 193.3854,1071.2485 188.0208,1060.4777 C185.375,1055.1652 181.7917,1050.3006 177.6875,1045.8944 " fill="none" id="ScrollLockOn-to-ScrollLockOff" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="173.7813,1041.9673,177.4447,1051.5501,177.4567,1045.6576,183.3492,1045.6695,173.7813,1041.9673" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="131.25" x="197.3958" y="1079.2948">EvCapsLockPressed</text><!--MD5=[242ad121cef04112e9b0ee8f25f52375]
link *start to fork_state--><path d="M180.2083,78.7048 C180.2083,93.5382 180.2083,121.7569 180.2083,136.1632 " fill="none" id="*start-to-fork_state" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="180.2083,141.7153,184.375,132.3403,180.2083,136.5069,176.0417,132.3403,180.2083,141.7153" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[44dd36eb382d4fffd186e8c447a61da0]
link fork_state to State2--><path d="M178.375,150.3298 C173.0313,159.4548 157.0313,186.7673 143.9375,209.1319 " fill="none" id="fork_state-to-State2" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="141.1875,213.8298,149.5227,207.8485,143.8211,209.3364,142.3332,203.6348,141.1875,213.8298" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[43d4d70f9cd19f132a5eb1ce9d85c890]
link fork_state to State3--><path d="M182.2917,150.3298 C188.3646,159.4965 206.6042,186.9965 221.4583,209.4132 " fill="none" id="fork_state-to-State3" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="224.3854,213.8298,222.652,203.7181,221.4964,209.4962,215.7182,208.3406,224.3854,213.8298" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[8cf5ef3a64654818495211b4c165bd62]
link State2 to join_state--><path d="M111.0417,271.3923 C104.2188,289.2153 99.5729,312.1736 110.4167,329.4861 C120.7813,346.0382 141.6354,354.8194 158.0417,359.3507 " fill="none" id="State2-to-join_state" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="163.4167,360.7257,155.3717,354.3593,158.3718,359.431,153.3002,362.4311,163.4167,360.7257" style="stroke:#E95420;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="98.9583" x="116.6667" y="321.2199">some message</text><!--MD5=[183fde86cac17ac230b97143534e47db]
link State3 to join_state--><path d="M242.2917,271.2986 C240.875,289.0903 236.8333,312.0382 226.0417,329.4861 C217.9792,342.5278 203.0521,352.4653 192.6563,358.2257 " fill="none" id="State3-to-join_state" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="187.9583,360.7048,198.1936,360.0039,192.5621,358.2693,194.2967,352.6378,187.9583,360.7048" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[1e473d623208eebf6d5ebd6e9bc5a11d]
link join_state to State4--><path d="M181.25,369.0798 C181.25,378.1319 181.25,405.0694 181.25,427.3194 " fill="none" id="join_state-to-State4" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="181.25,432.5798,185.4167,423.2048,181.25,427.3715,177.0833,423.2048,181.25,432.5798" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[0a70b1a7cf318979336334b4227eefe4]
link State4 to Active--><path d="M181.25,490.1111 C181.25,504.934 181.25,524.8507 181.25,547.809 " fill="none" id="State4-to-Active" style="stroke:#E95420;stroke-width:3.125;"/><polygon fill="#E95420" points="181.25,553.059,185.4167,543.684,181.25,547.8507,177.0833,543.684,181.25,553.059" style="stroke:#E95420;stroke-width:3.125;"/><!--MD5=[baa0e653cea9081dc57bd27ecad85a53]
@startuml
!$THEME = "united"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#007bff"
!$INDIGO = "#6610f2"
!$PURPLE = "#772953"
!$PINK = "#e83e8c"
!$RED = "#df382c"
!$ORANGE = "#e95420"
!$YELLOW = "#efb73e"
!$GREEN = "#38b44a"
!$TEAL = "#20c997"
!$CYAN = "#17a2b8"
!$WHITE = "#fff"
!$GRAY = "#868e96"
!$GRAYDARK = "#333"
!$PRIMARY = "#e95420"
!$SECONDARY = "#aea79f"
!$SUCCESS = "#38b44a"
!$INFO = "#17a2b8"
!$WARNING = "#efb73e"
!$DANGER = "#df382c"
!$LIGHT = "#e9ecef"
!$DARK = "#772953"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#d24c1d"
!$PRIMARY_LIGHT = "#eb6536"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_DARK = "#9d968f"
!$SECONDARY_LIGHT = "#b6b0a9"
!$SECONDARY_TEXT = $WHITE
!$INFO_DARK = "#1592a6"
!$INFO_LIGHT = "#2eabbf"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#32a243"
!$SUCCESS_LIGHT = "#4cbc5c"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#d7a538"
!$WARNING_LIGHT = "#f1be51"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#c93228"
!$DANGER_LIGHT = "#e24c41"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#6b254b"
!$DARK_LIGHT = "#853e64"
!$LIGHT_DARK = "#d2d4d7"
!$LIGHT_LIGHT = "#ebeef1"
!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
!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_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 $PRIMARY
BorderColor $SECONDARY_DARK
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
}
skinparam legend {
BackgroundColor $SECONDARY
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 $SECONDARY_LIGHT
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
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
ReferenceHeaderBackgroundColor $SECONDARY
}
!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 $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 $SECONDARY
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
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 $SECONDARY_LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $SECONDARY
BorderColor $PRIMARY
FontColor $PRIMARY
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()
BackgroundColor $PRIMARY_LIGHT
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_DARK
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 ArrowColor #772953
skinparam stereotype {
CBackgroundColor #b6b0a9
CBorderColor #9d968f
ABackgroundColor #4cbc5c
ABorderColor #32a243
IBackgroundColor #e24c41
IBorderColor #c93228
EBackgroundColor #f1be51
EBorderColor #d7a538
NBackgroundColor #2eabbf
NBorderColor #1592a6
}
skinparam title {
FontColor #e95420
BorderColor #9d968f
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #b6b0a9-#aea79f
}
skinparam legend {
BackgroundColor #aea79f
BorderColor #9d968f
FontColor #e9ecef
}
skinparam swimlane {
BorderColor #17a2b8
BorderThickness 2
TitleBackgroundColor #b6b0a9-#aea79f
TitleFontColor #e95420
}
skinparam activity {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
BarColor #38b44a
StartColor #17a2b8
EndColor #17a2b8
DiamondBackgroundColor #b6b0a9
DiamondBorderColor #9d968f
DiamondFontColor #fff
}
skinparam participant {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam arrow {
Thickness 3
Color #e95420
FontColor #fff
}
skinparam sequence {
BorderColor #e95420
TitleFontColor #e95420
BackgroundColor transparent
StartColor #e95420
EndColor #e95420
BoxBackgroundColor transparent
BoxBorderColor #772953
BoxFontColor $DARk
LifeLineBorderColor #aea79f
LifeLineBorderThickness 2
LifeLineBackgroundColor #9d968f
GroupBorderColor #772953
GroupFontColor #772953
GroupHeaderFontColor #17a2b8
GroupBackgroundColor #aea79f
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #772953
DividerBorderColor #772953
DividerBorderThickness 2
DividerFontColor #e9ecef
ReferenceBackgroundColor transparent
ReferenceBorderColor #772953
ReferenceFontColor #772953
ReferenceHeaderFontColor #17a2b8
ReferenceHeaderBackgroundColor #aea79f
}
skinparam partition {
BorderColor #e95420
FontColor #e95420
BackgroundColor transparent
}
skinparam collections {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam control {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam entity {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam boundary {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam agent {
BackgroundColor #efb73e
BorderColor #f1be51
FontColor #772953
}
skinparam note {
BorderThickness 1
BackgroundColor #17a2b8
BorderColor #1592a6
FontColor #fff
}
skinparam artifact {
BackgroundColor #772953
BorderColor #6b254b
FontColor #e9ecef
}
skinparam component {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam interface {
BackgroundColor #c93228
BorderColor #df382c
FontColor #772953
}
skinparam storage {
BackgroundColor #efb73e
BorderColor #d7a538
FontColor #fff
}
skinparam node {
BackgroundColor #aea79f
BorderColor #e9ecef
FontColor #e9ecef
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #772953
}
skinparam database {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam class {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
HeaderBackgroundColor #eb6536
StereotypeFontColor #772953
BorderThickness 1
AttributeFontColor #772953
AttributeFontSize 11
}
skinparam object {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
StereotypeFontColor #772953
BorderThickness 1
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam usecase {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
BorderThickness 2
StereotypeFontColor #e95420
}
skinparam rectangle {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
BackgroundColor #b6b0a9
BorderThickness 2
StereotypeFontColor #e95420
}
skinparam package {
BackgroundColor #aea79f
BorderColor #e95420
FontColor #e95420
BorderThickness 2
}
skinparam folder {
BackgroundColor #b6b0a9
BorderColor #efb73e
FontColor #efb73e
BorderThickness 2
}
skinparam frame {
BackgroundColor #b6b0a9
BorderColor #17a2b8
FontColor #17a2b8
BorderThickness 2
}
skinparam state {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
BackgroundColor #eb6536
StartColor #17a2b8
EndColor #17a2b8
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam queue {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
skinparam card {
BackgroundColor #17a2b8
BorderColor #1592a6
FontColor #fff
}
skinparam file {
BackgroundColor #9d968f
BorderColor #e9ecef
FontColor #e9ecef
}
skinparam stack {
FontColor #fff
BorderColor #d24c1d
BackgroundColor #e95420
}
title State Diagram - united 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>