demo_doc/puml/sandstone/class-ex.svg

832 lines
29 KiB
XML
Raw 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="498.9583px" preserveAspectRatio="none" style="width:625px;height:498px;background:#00000000;" version="1.1" viewBox="0 0 625 498" width="625px" zoomAndPan="magnify"><defs><linearGradient id="g686kz0vlmgw80" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#999890"/><stop offset="100%" stop-color="#8E8C84"/></linearGradient></defs><g><rect fill="url(#g686kz0vlmgw80)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#807E77;stroke-width:1.0416666666666667;" width="381.25" x="114.5833" y="2.0833"/><text fill="#325D88" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="354.1667" x="128.125" y="33.4452">Class Diagram - sandstone theme</text><!--MD5=[b4fa10df80476353258f72a232547d63]
class AbstractList--><rect codeLine="10" fill="#325D88" height="52.6917" id="AbstractList" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="306.1361"/><rect codeLine="10" fill="none" height="52.6917" id="AbstractList" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><ellipse cx="211.9792" cy="292.2902" fill="#9ECB5D" rx="10.4167" ry="10.4167" style="stroke:#84B144;stroke-width:1.0416666666666667;"/><path d="M211.5723,289.2466 L210.7259,292.9738 L212.4349,292.9738 L211.5723,289.2466 Z M210.4818,287.6027 L212.679,287.6027 L215.1367,296.7173 L213.3301,296.7173 L212.7767,294.4712 L210.3678,294.4712 L209.8145,296.7173 L208.0078,296.7173 L210.4818,287.6027 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="75" x="230.7292" y="297.2616">AbstractList</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="310.3027" y2="310.3027"/><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="318.6361" y2="318.6361"/><!--MD5=[8e34b16d8d8f96f4a11290cd523ed859]
class AbstractCollection--><rect codeLine="11" fill="#325D88" height="52.6917" id="AbstractCollection" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="306.1361"/><rect codeLine="11" fill="none" height="52.6917" id="AbstractCollection" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><ellipse cx="21.875" cy="292.2902" fill="#9ECB5D" rx="10.4167" ry="10.4167" style="stroke:#84B144;stroke-width:1.0416666666666667;"/><path d="M21.4681,289.2466 L20.6217,292.9738 L22.3307,292.9738 L21.4681,289.2466 Z M20.3776,287.6027 L22.5749,287.6027 L25.0326,296.7173 L23.2259,296.7173 L22.6725,294.4712 L20.2637,294.4712 L19.7103,296.7173 L17.9036,296.7173 L20.3776,287.6027 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="111.4583" x="40.625" y="297.2616">AbstractCollection</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="310.3027" y2="310.3027"/><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="318.6361" y2="318.6361"/><!--MD5=[3d4177ac58b4411586d067f34e84928f]
class List--><rect codeLine="12" fill="#325D88" height="52.6917" id="List" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="126.9694"/><rect codeLine="12" fill="none" height="52.6917" id="List" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><ellipse cx="230.7292" cy="113.1236" fill="#AE423F" rx="10.4167" ry="10.4167" style="stroke:#C34B47;stroke-width:1.0416666666666667;"/><path d="M227.6204,110.2915 L227.6204,108.6965 L233.0404,108.6965 L233.0404,110.2915 L231.2337,110.2915 L231.2337,116.216 L233.0404,116.216 L233.0404,117.8111 L227.6204,117.8111 L227.6204,116.216 L229.4271,116.216 L229.4271,110.2915 L227.6204,110.2915 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="22.9167" x="249.4792" y="118.0949">List</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="131.1361" y2="131.1361"/><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="139.4694" y2="139.4694"/><!--MD5=[c160724f8e3bb89ca8141a12554ac2e3]
class Collection--><rect codeLine="13" fill="#325D88" height="52.6917" id="Collection" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="126.9694"/><rect codeLine="13" fill="none" height="52.6917" id="Collection" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><ellipse cx="86.4583" cy="113.1236" fill="#AE423F" rx="10.4167" ry="10.4167" style="stroke:#C34B47;stroke-width:1.0416666666666667;"/><path d="M83.3496,110.2915 L83.3496,108.6965 L88.7695,108.6965 L88.7695,110.2915 L86.9629,110.2915 L86.9629,116.216 L88.7695,116.216 L88.7695,117.8111 L83.3496,117.8111 L83.3496,116.216 L85.1563,116.216 L85.1563,110.2915 L83.3496,110.2915 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="59.375" x="105.2083" y="118.0949">Collection</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="131.1361" y2="131.1361"/><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="139.4694" y2="139.4694"/><!--MD5=[ab8871ed637f40707b866ba6597734bc]
class ArrayList--><rect codeLine="22" fill="#325D88" height="101.3763" id="ArrayList" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="422.8027"/><rect codeLine="22" fill="none" height="101.3763" id="ArrayList" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><ellipse cx="218.1771" cy="408.9569" fill="#999890" rx="10.4167" ry="10.4167" style="stroke:#807E77;stroke-width:1.0416666666666667;"/><path d="M220.0814,413.384 Q219.6582,413.5956 219.1862,413.7095 Q218.7142,413.8234 218.2096,413.8234 Q216.3542,413.8234 215.3776,412.619 Q214.4173,411.3983 214.4173,409.1034 Q214.4173,406.7922 215.3776,405.5878 Q216.3542,404.3671 218.2096,404.3671 Q218.7142,404.3671 219.1862,404.481 Q219.6745,404.5787 220.0814,404.8065 L220.0814,406.8085 Q219.6257,406.3853 219.1862,406.19 Q218.7467,405.9784 218.291,405.9784 Q217.2982,405.9784 216.7936,406.7759 Q216.2891,407.5572 216.2891,409.1034 Q216.2891,410.6333 216.7936,411.4146 Q217.2982,412.1958 218.291,412.1958 Q218.7467,412.1958 219.1862,412.0005 Q219.6257,411.8052 220.0814,411.382 L220.0814,413.384 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="57.2917" x="242.2396" y="413.9282">ArrayList</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="426.9694" y2="426.9694"/><text fill="#FFFFFF" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="129.1667" x="191.1458" y="447.8643">Object[] elementData</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="459.6451" y2="459.6451"/><text fill="#FFFFFF" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="191.1458" y="480.54">size()</text><!--MD5=[15b68e006199004da79ea2a4d117d8e9]
class TimeUnit--><rect codeLine="27" fill="#325D88" height="125.7187" id="TimeUnit" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="90.5111"/><rect codeLine="27" fill="none" height="125.7187" id="TimeUnit" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><ellipse cx="331.7708" cy="76.6652" fill="#F58950" rx="10.4167" ry="10.4167" style="stroke:#DC7036;stroke-width:1.0416666666666667;"/><path d="M334.3099,81.3527 L328.6296,81.3527 L328.6296,72.2382 L334.3099,72.2382 L334.3099,73.8332 L330.4362,73.8332 L330.4362,75.7863 L333.9355,75.7863 L333.9355,77.3814 L330.4362,77.3814 L330.4362,79.7577 L334.3099,79.7577 L334.3099,81.3527 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="56.25" x="350.5208" y="81.6366">TimeUnit</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="94.6777" y2="94.6777"/><text fill="#FFFFFF" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="328.6458" y="115.5726">DAYS</text><text fill="#FFFFFF" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="42.7083" x="328.6458" y="139.915">HOURS</text><text fill="#FFFFFF" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="54.1667" x="328.6458" y="164.2573">MINUTES</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="176.0381" y2="176.0381"/><!--MD5=[0c8287f799745f7b534bf75518604c1e]
class SuppressWarnings--><rect codeLine="33" fill="#325D88" height="52.6917" id="SuppressWarnings" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><rect fill="#476D94" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><rect fill="#476D94" height="4.1667" style="stroke:#476D94;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="126.9694"/><rect codeLine="33" fill="none" height="52.6917" id="SuppressWarnings" rx="4.1667" ry="4.1667" style="stroke:#2D547A;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><ellipse cx="466.6667" cy="113.1236" fill="#3EB3E3" rx="10.4167" ry="10.4167" style="stroke:#259ACA;stroke-width:1.0416666666666667;"/><path d="M467.9199,112.9283 Q467.9199,112.2284 467.6107,111.8378 Q467.3014,111.4471 466.748,111.4471 Q466.2109,111.4471 465.9017,111.8378 Q465.5924,112.2284 465.5924,112.9283 Q465.5924,113.6119 465.9017,114.0025 Q466.2109,114.3931 466.748,114.3931 Q467.3014,114.3931 467.6107,114.0025 Q467.9199,113.6119 467.9199,112.9283 Z M469.0592,115.4185 L467.8548,115.4185 L467.8548,114.9302 Q467.627,115.2395 467.3014,115.4022 Q466.9922,115.5487 466.5527,115.5487 Q465.5599,115.5487 464.9414,114.8326 Q464.3229,114.1001 464.3229,112.9283 Q464.3229,111.7401 464.9251,111.024 Q465.5436,110.3078 466.5527,110.3078 Q466.9922,110.3078 467.3177,110.4543 Q467.6432,110.6008 467.8548,110.8938 L467.8548,110.6496 Q467.8548,109.8195 467.3991,109.3638 Q466.9434,108.9081 466.1133,108.9081 Q464.8438,108.9081 464.0299,110.0311 Q463.2324,111.1379 463.2324,112.9283 Q463.2324,114.8 464.1602,115.9231 Q465.0879,117.0298 466.6341,117.0298 Q467.1224,117.0298 467.5781,116.8833 Q468.0339,116.7369 468.457,116.4439 L469.0104,117.5181 Q468.5221,117.8599 467.9362,118.0227 Q467.3503,118.2017 466.6992,118.2017 Q464.5508,118.2017 463.2813,116.7694 Q462.0117,115.3534 462.0117,112.9283 Q462.0117,110.5682 463.151,109.1522 Q464.3066,107.7362 466.1784,107.7362 Q467.513,107.7362 468.278,108.5337 Q469.0592,109.3313 469.0592,110.731 L469.0592,115.4185 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="123.9583" x="485.4167" y="118.0949">SuppressWarnings</text><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="453.125" x2="616.6667" y1="131.1361" y2="131.1361"/><line style="stroke:#2D547A;stroke-width:1.0416666666666667;" x1="453.125" x2="616.6667" y1="139.4694" y2="139.4694"/><!--MD5=[00308d07b6a5721fb0cf5861877e6652]
reverse link List to AbstractList--><path codeLine="15" d="M250.3646,169.6423 C251.75,203.059 253.5417,246.7257 254.6667,274.0173 " fill="none" id="List-backto-AbstractList" style="stroke:#325D88;stroke-width:3.125;"/><polygon fill="none" points="243.0729,169.5798,249.5,148.4653,257.6354,168.9757,243.0729,169.5798" style="stroke:#325D88;stroke-width:3.125;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="114.5833" x="258.8542" y="234.7616">this is a message</text><!--MD5=[1822909749df1453bdd84de7a60a3406]
reverse link Collection to AbstractCollection--><path codeLine="16" d="M112.2917,169.1632 C105,202.6423 95.4375,246.6007 89.4688,274.0173 " fill="none" id="Collection-backto-AbstractCollection" style="stroke:#325D88;stroke-width:3.125;"/><polygon fill="none" points="105.2396,167.2673,116.7917,148.4653,119.4896,170.3715,105.2396,167.2673" style="stroke:#325D88;stroke-width:3.125;"/><!--MD5=[0159284274f96a472eb2618ad803aaca]
reverse link Collection to List--><path codeLine="18" d="M194.25,121.6736 C201.5208,121.6736 208.8021,121.6736 216.0729,121.6736 " fill="none" id="Collection-backto-List" style="stroke:#325D88;stroke-width:3.125;"/><polygon fill="none" points="193.9375,128.9653,173.1042,121.6736,193.9375,114.3819,193.9375,128.9653" style="stroke:#325D88;stroke-width:3.125;"/><!--MD5=[7a3a52e8f65ef1a8d8d29530ea5cd870]
reverse link AbstractCollection to AbstractList--><path codeLine="19" d="M181.75,300.8403 C186.8646,300.8403 191.9792,300.8403 197.0938,300.8403 " fill="none" id="AbstractCollection-backto-AbstractList" style="stroke:#325D88;stroke-width:3.125;"/><polygon fill="none" points="181.5625,308.1319,160.7292,300.8403,181.5625,293.5486,181.5625,308.1319" style="stroke:#325D88;stroke-width:3.125;"/><!--MD5=[40e4bb1af59cca28d4643aaff05088cc]
reverse link AbstractList to ArrayList--><path codeLine="20" d="M255.7292,348.7257 C255.7292,362.2361 255.7292,377.0278 255.7292,390.7048 " fill="none" id="AbstractList-backto-ArrayList" style="stroke:#325D88;stroke-width:3.125;"/><polygon fill="none" points="248.4375,348.4444,255.7292,327.6111,263.0208,348.4444,248.4375,348.4444" style="stroke:#325D88;stroke-width:3.125;"/><!--MD5=[c510108dfd699917f73769a095cc2121]
@startuml
!$THEME = "sandstone"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#325d88"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#d9534f"
!$ORANGE = "#f47c3c"
!$YELLOW = "#ffc107"
!$GREEN = "#93c54b"
!$TEAL = "#20c997"
!$CYAN = "#29abe0"
!$WHITE = "#fff"
!$GRAY = "#8e8c84"
!$GRAYDARK = "#3e3f3a"
!$PRIMARY = "#325d88"
!$SECONDARY = "#8e8c84"
!$SUCCESS = "#93c54b"
!$INFO = "#29abe0"
!$WARNING = "#f47c3c"
!$DANGER = "#d9534f"
!$LIGHT = "#f8f5f0"
!$DARK = "#3e3f3a"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#2d547a"
!$PRIMARY_LIGHT = "#476d94"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_DARK = "#807e77"
!$SECONDARY_LIGHT = "#999890"
!$SECONDARY_TEXT = $WHITE
!$INFO_DARK = "#259aca"
!$INFO_LIGHT = "#3eb3e3"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#84b144"
!$SUCCESS_LIGHT = "#9ecb5d"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#dc7036"
!$WARNING_LIGHT = "#f58950"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#c34b47"
!$DANGER_LIGHT = "#AE423F"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#383934"
!$DARK_LIGHT = "#51524e"
!$LIGHT_DARK = "#dfddd8"
!$LIGHT_LIGHT = "#f9f6f2"
!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
GroupBodyBackgroundColor $BGCOLOR
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 $PRIMARY_TEXT
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 Class Diagram - $THEME theme
!else
title Class Diagram
!endif
'skinparam BackgroundColor transparent
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|- - AbstractList: this is a message
Collection <|- - AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|- - ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
annotation SuppressWarnings
@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 #3e3f3a
skinparam stereotype {
CBackgroundColor #999890
CBorderColor #807e77
ABackgroundColor #9ecb5d
ABorderColor #84b144
IBackgroundColor #AE423F
IBorderColor #c34b47
EBackgroundColor #f58950
EBorderColor #dc7036
NBackgroundColor #3eb3e3
NBorderColor #259aca
}
skinparam title {
FontColor #325d88
BorderColor #807e77
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #999890-#8e8c84
}
skinparam legend {
BackgroundColor #8e8c84
BorderColor #807e77
FontColor #f8f5f0
}
skinparam swimlane {
BorderColor #29abe0
BorderThickness 2
TitleBackgroundColor #999890-#8e8c84
TitleFontColor #325d88
}
skinparam activity {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
BarColor #93c54b
StartColor #29abe0
EndColor #29abe0
DiamondBackgroundColor #999890
DiamondBorderColor #807e77
DiamondFontColor #fff
}
skinparam participant {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam arrow {
Thickness 3
Color #325d88
FontColor #fff
}
skinparam sequence {
BorderColor #325d88
TitleFontColor #325d88
BackgroundColor transparent
StartColor #325d88
EndColor #325d88
BoxBackgroundColor transparent
BoxBorderColor #3e3f3a
BoxFontColor $DARk
LifeLineBorderColor #8e8c84
LifeLineBorderThickness 2
LifeLineBackgroundColor #807e77
GroupBorderColor #3e3f3a
GroupFontColor #3e3f3a
GroupHeaderFontColor #29abe0
GroupBackgroundColor #8e8c84
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #3e3f3a
DividerBorderColor #3e3f3a
DividerBorderThickness 2
DividerFontColor #f8f5f0
ReferenceBackgroundColor transparent
ReferenceBorderColor #3e3f3a
ReferenceFontColor #3e3f3a
ReferenceHeaderFontColor #29abe0
ReferenceHeaderBackgroundColor #8e8c84
}
skinparam partition {
BorderColor #325d88
FontColor #325d88
BackgroundColor transparent
}
skinparam collections {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam control {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam entity {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam boundary {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam agent {
BackgroundColor #f47c3c
BorderColor #f58950
FontColor #3e3f3a
}
skinparam note {
BorderThickness 1
BackgroundColor #29abe0
BorderColor #259aca
FontColor #fff
}
skinparam artifact {
BackgroundColor #3e3f3a
BorderColor #383934
FontColor #f8f5f0
}
skinparam component {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam interface {
BackgroundColor #c34b47
BorderColor #d9534f
FontColor #3e3f3a
}
skinparam storage {
BackgroundColor #f47c3c
BorderColor #dc7036
FontColor #fff
}
skinparam node {
BackgroundColor #8e8c84
BorderColor #f8f5f0
FontColor #f8f5f0
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #3e3f3a
}
skinparam database {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam class {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
HeaderBackgroundColor #476d94
StereotypeFontColor #3e3f3a
BorderThickness 1
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam object {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
StereotypeFontColor #3e3f3a
BorderThickness 1
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam usecase {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
BorderThickness 2
StereotypeFontColor #325d88
}
skinparam rectangle {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
BackgroundColor #999890
BorderThickness 2
StereotypeFontColor #325d88
}
skinparam package {
BackgroundColor #8e8c84
BorderColor #325d88
FontColor #325d88
BorderThickness 2
}
skinparam folder {
BackgroundColor #999890
BorderColor #f47c3c
FontColor #f47c3c
BorderThickness 2
}
skinparam frame {
BackgroundColor #999890
BorderColor #29abe0
FontColor #29abe0
BorderThickness 2
}
skinparam state {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
BackgroundColor #476d94
StartColor #29abe0
EndColor #29abe0
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam queue {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
skinparam card {
BackgroundColor #29abe0
BorderColor #259aca
FontColor #fff
}
skinparam file {
BackgroundColor #807e77
BorderColor #f8f5f0
FontColor #f8f5f0
}
skinparam stack {
FontColor #fff
BorderColor #2d547a
BackgroundColor #325d88
}
title Class Diagram - sandstone theme
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|- - AbstractList: this is a message
Collection <|- - AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|- - ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
annotation SuppressWarnings
@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>