demo_doc/puml/hacker/class-ex.svg
2021-06-25 21:37:59 +08:00

879 lines
30 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="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="goxv6o413uytr0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#151515"/><stop offset="100%" stop-color="#000000"/></linearGradient><linearGradient id="goxv6o413uytr1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#D3F198"/><stop offset="100%" stop-color="#B5E853"/></linearGradient></defs><g><rect fill="url(#goxv6o413uytr0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#B5E853;stroke-width:1.0416666666666667;" width="345.8333" x="132.2917" y="2.0833"/><text fill="#B5E853" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="318.75" x="145.8333" y="33.4452">Class Diagram - hacker theme</text><!--MD5=[b4fa10df80476353258f72a232547d63]
class AbstractList--><rect codeLine="10" fill="url(#goxv6o413uytr1)" height="52.6917" id="AbstractList" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="289.4694"/><rect codeLine="10" fill="none" height="52.6917" id="AbstractList" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><ellipse cx="211.9792" cy="292.2902" fill="#A6BA7A" rx="10.4167" ry="10.4167" style="stroke:#FFFFFF;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="#151515" 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:#D3F198;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="310.3027" y2="310.3027"/><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="318.6361" y2="318.6361"/><!--MD5=[8e34b16d8d8f96f4a11290cd523ed859]
class AbstractCollection--><rect codeLine="11" fill="url(#goxv6o413uytr1)" height="52.6917" id="AbstractCollection" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="289.4694"/><rect codeLine="11" fill="none" height="52.6917" id="AbstractCollection" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><ellipse cx="21.875" cy="292.2902" fill="#A6BA7A" rx="10.4167" ry="10.4167" style="stroke:#FFFFFF;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="#151515" 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:#D3F198;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="310.3027" y2="310.3027"/><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="318.6361" y2="318.6361"/><!--MD5=[3d4177ac58b4411586d067f34e84928f]
class List--><rect codeLine="12" fill="url(#goxv6o413uytr1)" height="52.6917" id="List" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="110.3027"/><rect codeLine="12" fill="none" height="52.6917" id="List" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><ellipse cx="230.7292" cy="113.1236" fill="#BD6768" rx="10.4167" ry="10.4167" style="stroke:#FFFFFF;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="#151515" 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:#D3F198;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="131.1361" y2="131.1361"/><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="139.4694" y2="139.4694"/><!--MD5=[c160724f8e3bb89ca8141a12554ac2e3]
class Collection--><rect codeLine="13" fill="url(#goxv6o413uytr1)" height="52.6917" id="Collection" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="110.3027"/><rect codeLine="13" fill="none" height="52.6917" id="Collection" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><ellipse cx="86.4583" cy="113.1236" fill="#BD6768" rx="10.4167" ry="10.4167" style="stroke:#FFFFFF;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="#151515" 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:#D3F198;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="131.1361" y2="131.1361"/><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="139.4694" y2="139.4694"/><!--MD5=[ab8871ed637f40707b866ba6597734bc]
class ArrayList--><rect codeLine="22" fill="url(#goxv6o413uytr1)" height="101.3763" id="ArrayList" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="406.1361"/><rect codeLine="22" fill="none" height="101.3763" id="ArrayList" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><ellipse cx="218.1771" cy="408.9569" fill="#557F91" rx="10.4167" ry="10.4167" style="stroke:#88B2C4;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="#151515" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="57.2917" x="242.2396" y="413.9282">ArrayList</text><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="426.9694" y2="426.9694"/><text fill="#151515" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="129.1667" x="191.1458" y="447.8643">Object[] elementData</text><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="459.6451" y2="459.6451"/><text fill="#151515" 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="url(#goxv6o413uytr1)" height="125.7187" id="TimeUnit" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="73.8444"/><rect codeLine="27" fill="none" height="125.7187" id="TimeUnit" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><ellipse cx="331.7708" cy="76.6652" fill="#F6CC91" rx="10.4167" ry="10.4167" style="stroke:#FFFFFF;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="#151515" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="56.25" x="350.5208" y="81.6366">TimeUnit</text><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="94.6777" y2="94.6777"/><text fill="#151515" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="328.6458" y="115.5726">DAYS</text><text fill="#151515" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="42.7083" x="328.6458" y="139.915">HOURS</text><text fill="#151515" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="54.1667" x="328.6458" y="164.2573">MINUTES</text><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="176.0381" y2="176.0381"/><!--MD5=[0c8287f799745f7b534bf75518604c1e]
class SuppressWarnings--><rect codeLine="33" fill="url(#goxv6o413uytr1)" height="52.6917" id="SuppressWarnings" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><rect fill="url(#goxv6o413uytr1)" height="36.025" rx="20.8333" ry="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><rect fill="url(#goxv6o413uytr1)" height="20.8333" style="stroke:url(#goxv6o413uytr1);stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="110.3027"/><rect codeLine="33" fill="none" height="52.6917" id="SuppressWarnings" rx="20.8333" ry="20.8333" style="stroke:#D3F198;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><ellipse cx="466.6667" cy="113.1236" fill="#BB91B2" rx="10.4167" ry="10.4167" style="stroke:#885E7F;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="#151515" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="123.9583" x="485.4167" y="118.0949">SuppressWarnings</text><line style="stroke:#D3F198;stroke-width:1.0416666666666667;" x1="453.125" x2="616.6667" y1="131.1361" y2="131.1361"/><line style="stroke:#D3F198;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;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:#B5E853;stroke-width:3.125;"/><!--MD5=[90602543a4f99f748b0a2a2001681e96]
@startuml
!$THEME = "hacker"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam BackgroundColor $BGCOLOR
skinparam useBetaStyle false
!$PRIMARY = "#b5e853"
!$PRIMARY_LIGHT = "#d3f198"
!$PRIMARY_DARK = "#6d8b32"
!$PRIMARY_TEXT = "#151515"
!$SECONDARY = "#6a9fb5"
!$SECONDARY_LIGHT = "#88b2c4"
!$SECONDARY_DARK = "#557f91"
!$SECONDARY_TEXT = "#fefefe"
!$SUCCESS = "#90a959"
!$SUCCESS_LIGHT = "#a6ba7a"
!$INFO = "#aa759f"
!$INFO_LIGHT = "#bb91b2"
!$INFO_DARK = "#885E7F"
!$WARNING = "#f4bf75"
!$WARNING_LIGHT = "#f6cc91"
!$WARNING_TEXT = "#151515"
!$DANGER = "#ac4142"
!$DANGER_LIGHT = "#bd6768"
!$LIGHT = "#151515"
!$DARK = "#eaeaea"
!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_LIGHT
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 40
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 5
skinparam ArrowColor $DARK
skinparam stereotype {
CBackgroundColor $SECONDARY_DARK
CBorderColor $SECONDARY_LIGHT
ABackgroundColor $SUCCESS_LIGHT
ABorderColor $SUCCESS_DARK
IBackgroundColor $DANGER_LIGHT
IBorderColor $DANGER_DARK
EBackgroundColor $WARNING_LIGHT
EBorderColor $WARNING_DARK
NBackgroundColor $INFO_LIGHT
NBorderColor $INFO_DARK
}
skinparam title {
FontColor $PRIMARY
BorderColor $PRIMARY
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $LIGHT-black
}
skinparam legend {
BackgroundColor $SECONDARY
BorderColor $SECONDARY_DARK
FontColor $DARK
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
TitleFontColor $PRIMARY
}
!endsub
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $SUCCESS
StartColor $INFO
EndColor $INFO
DiamondBackgroundColor $SECONDARY_LIGHT-$SECONDARY
DiamondBorderColor $SECONDARY_LIGHT
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
BorderThickness 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 $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_TEXT
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderBackgroundColor $LIGHT
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY
BackgroundColor $LIGHT-black
}
!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 $WARNING_LIGHT-$WARNING
BorderColor $WARNING_LIGHT
FontColor $DARK
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $INFO_LIGHT-$INFO_DARK
BorderColor $INFO_DARK
FontColor $WHITE
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $DARK
BorderColor white
FontColor $LIGHT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_LIGHT-$DANGER
BorderColor $DANGER_LIGHT
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_LIGHT-$WARNING
BorderColor $WARNING_LIGHT
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $LIGHT-black
BorderColor $PRIMARY_LIGHT
FontColor $DARK
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $DARK
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
BackgroundColor $LIGHT-black
BorderColor $PRIMARY_LIGHT
FontColor $DARK
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $LIGHT
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $LIGHT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
BackgroundColor $BGCOLOR
BorderColor $PRIMARY
BorderThickness 2
FontColor $PRIMARY_DARK
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $LIGHT
BorderColor $PRIMARY
FontColor $PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $LIGHT-black
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $LIGHT-black
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_LIGHT-$INFO
BorderColor $INFO_LIGHT
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
BorderColor $SECONDARY_LIGHT
FontColor $DARK
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!if %variable_exists("NEWSTYLE")
<style>
wbsDiagram {
LineColor $PRIMARY
BorderThickness 3
BackgroundColor $LIGHT-black
FontColor $PRIMARY
: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>
<style>
mindmapDiagram {
LineColor $PRIMARY
BorderThickness 3
BackgroundColor $LIGHT-black
FontColor $PRIMARY
: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 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 40
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 5
skinparam ArrowColor #eaeaea
skinparam stereotype {
CBackgroundColor #557f91
CBorderColor #88b2c4
ABackgroundColor #a6ba7a
ABorderColor $SUCCESS_DARK
IBackgroundColor #bd6768
IBorderColor $DANGER_DARK
EBackgroundColor #f6cc91
EBorderColor $WARNING_DARK
NBackgroundColor #bb91b2
NBorderColor #885E7F
}
skinparam title {
FontColor #b5e853
BorderColor #b5e853
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #151515-black
}
skinparam legend {
BackgroundColor #6a9fb5
BorderColor #557f91
FontColor #eaeaea
}
skinparam swimlane {
BorderColor #aa759f
BorderThickness 2
TitleBackgroundColor #88b2c4-#6a9fb5
TitleFontColor #b5e853
}
skinparam activity {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
BarColor #90a959
StartColor #aa759f
EndColor #aa759f
DiamondBackgroundColor #88b2c4-#6a9fb5
DiamondBorderColor #88b2c4
DiamondFontColor #fefefe
}
skinparam participant {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
BorderThickness 2
}
skinparam actor {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
FontColor #eaeaea
}
skinparam arrow {
Thickness 3
Color #b5e853
FontColor $FGCOLOR
}
skinparam sequence {
BorderColor #b5e853
TitleFontColor #b5e853
BackgroundColor transparent
StartColor #b5e853
EndColor #b5e853
BoxBackgroundColor transparent
BoxBorderColor #eaeaea
BoxFontColor $DARk
LifeLineBorderColor #6a9fb5
LifeLineBorderThickness 2
LifeLineBackgroundColor #557f91
GroupBorderColor #eaeaea
GroupFontColor #eaeaea
GroupHeaderFontColor $INFO_TEXT
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #eaeaea
DividerBorderColor #eaeaea
DividerBorderThickness 2
DividerFontColor #151515
ReferenceBackgroundColor transparent
ReferenceBorderColor #eaeaea
ReferenceFontColor #eaeaea
ReferenceHeaderBackgroundColor #151515
}
skinparam partition {
BorderColor #b5e853
FontColor #b5e853
BackgroundColor #151515-black
}
skinparam collections {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
}
skinparam control {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
FontColor #eaeaea
}
skinparam entity {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
FontColor #eaeaea
}
skinparam boundary {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
FontColor #eaeaea
}
skinparam agent {
BackgroundColor #f6cc91-#f4bf75
BorderColor #f6cc91
FontColor #eaeaea
}
skinparam note {
BorderThickness 1
BackgroundColor #bb91b2-#885E7F
BorderColor #885E7F
FontColor $WHITE
}
skinparam artifact {
BackgroundColor #eaeaea
BorderColor white
FontColor #151515
}
skinparam component {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
}
skinparam interface {
BackgroundColor #bd6768-#ac4142
BorderColor #bd6768
FontColor #eaeaea
}
skinparam storage {
BackgroundColor #f6cc91-#f4bf75
BorderColor #f6cc91
FontColor #151515
}
skinparam node {
BackgroundColor #151515-black
BorderColor #d3f198
FontColor #eaeaea
}
skinparam cloud {
BackgroundColor transparent
BorderColor #eaeaea
FontColor #eaeaea
}
skinparam database {
BackgroundColor #151515-black
BorderColor #d3f198
FontColor #eaeaea
}
skinparam class {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
HeaderBackgroundColor #d3f198-#b5e853
StereotypeFontColor #eaeaea
BorderThickness 1
AttributeFontColor #151515
AttributeFontSize 11
}
skinparam object {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
StereotypeFontColor #eaeaea
BorderThickness 1
AttributeFontColor #151515
AttributeFontSize 11
}
skinparam usecase {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
BorderThickness 2
StereotypeFontColor #b5e853
}
skinparam rectangle {
BackgroundColor transparent
BorderColor #b5e853
BorderThickness 2
FontColor #6d8b32
StereotypeFontColor #b5e853
}
skinparam package {
BackgroundColor #151515
BorderColor #b5e853
FontColor #b5e853
BorderThickness 2
}
skinparam folder {
BackgroundColor #151515-black
BorderColor #f4bf75
FontColor #f4bf75
BorderThickness 2
}
skinparam frame {
BackgroundColor #151515-black
BorderColor #aa759f
FontColor #aa759f
BorderThickness 2
}
skinparam state {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
StartColor #aa759f
EndColor #aa759f
AttributeFontColor #fefefe
AttributeFontSize 11
}
skinparam queue {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
}
skinparam card {
BackgroundColor #bb91b2-#aa759f
BorderColor #bb91b2
FontColor $INFO_TEXT
}
skinparam file {
BackgroundColor #88b2c4-#6a9fb5
BorderColor #88b2c4
FontColor #eaeaea
}
skinparam stack {
FontColor #151515
BorderColor #d3f198
BackgroundColor #d3f198-#b5e853
}
title Class Diagram - hacker 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>