demo_doc/puml/cyborg/class-ex.svg

852 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="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="g10k6a6gt3bqla0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#444444"/><stop offset="100%" stop-color="#555555"/></linearGradient></defs><g><rect fill="url(#g10k6a6gt3bqla0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#777777;stroke-width:1.0416666666666667;" width="344.7917" x="132.8125" y="2.0833"/><text fill="#2A9FD6" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="317.7083" x="146.3542" y="33.4452">Class Diagram - cyborg theme</text><!--MD5=[b4fa10df80476353258f72a232547d63]
class AbstractList--><rect codeLine="10" fill="#2A9FD6" height="52.6917" id="AbstractList" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><ellipse cx="211.9792" cy="292.2902" fill="#5F8F00" rx="10.4167" ry="10.4167" style="stroke:#92C233;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:#55B2DE;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="310.3027" y2="310.3027"/><line style="stroke:#55B2DE;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="318.6361" y2="318.6361"/><!--MD5=[8e34b16d8d8f96f4a11290cd523ed859]
class AbstractCollection--><rect codeLine="11" fill="#2A9FD6" height="52.6917" id="AbstractCollection" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><ellipse cx="21.875" cy="292.2902" fill="#5F8F00" rx="10.4167" ry="10.4167" style="stroke:#92C233;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:#55B2DE;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="310.3027" y2="310.3027"/><line style="stroke:#55B2DE;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="318.6361" y2="318.6361"/><!--MD5=[3d4177ac58b4411586d067f34e84928f]
class List--><rect codeLine="12" fill="#2A9FD6" height="52.6917" id="List" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><ellipse cx="230.7292" cy="113.1236" fill="#A30000" rx="10.4167" ry="10.4167" style="stroke:#D63333;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:#55B2DE;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="131.1361" y2="131.1361"/><line style="stroke:#55B2DE;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="139.4694" y2="139.4694"/><!--MD5=[c160724f8e3bb89ca8141a12554ac2e3]
class Collection--><rect codeLine="13" fill="#2A9FD6" height="52.6917" id="Collection" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><ellipse cx="86.4583" cy="113.1236" fill="#A30000" rx="10.4167" ry="10.4167" style="stroke:#D63333;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:#55B2DE;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="131.1361" y2="131.1361"/><line style="stroke:#55B2DE;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="139.4694" y2="139.4694"/><!--MD5=[ab8871ed637f40707b866ba6597734bc]
class ArrayList--><rect codeLine="22" fill="#2A9FD6" height="101.3763" id="ArrayList" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><ellipse cx="218.1771" cy="408.9569" fill="#777777" rx="10.4167" ry="10.4167" style="stroke:#444444;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:#55B2DE;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="426.9694" y2="426.9694"/><text fill="#222222" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="129.1667" x="191.1458" y="447.8643">Object[] elementData</text><line style="stroke:#55B2DE;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="459.6451" y2="459.6451"/><text fill="#222222" 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="#2A9FD6" height="125.7187" id="TimeUnit" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><ellipse cx="331.7708" cy="76.6652" fill="#CC6D00" rx="10.4167" ry="10.4167" style="stroke:#FFA033;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:#55B2DE;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="94.6777" y2="94.6777"/><text fill="#222222" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="328.6458" y="115.5726">DAYS</text><text fill="#222222" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="42.7083" x="328.6458" y="139.915">HOURS</text><text fill="#222222" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="54.1667" x="328.6458" y="164.2573">MINUTES</text><line style="stroke:#55B2DE;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="176.0381" y2="176.0381"/><!--MD5=[0c8287f799745f7b534bf75518604c1e]
class SuppressWarnings--><rect codeLine="33" fill="#2A9FD6" height="52.6917" id="SuppressWarnings" rx="4.1667" ry="4.1667" style="stroke:#55B2DE;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><rect fill="#227FAB" height="36.025" rx="4.1667" ry="4.1667" style="stroke:#227FAB;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><rect fill="#227FAB" height="4.1667" style="stroke:#227FAB;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:#55B2DE;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><ellipse cx="466.6667" cy="113.1236" fill="#9F161B" rx="10.4167" ry="10.4167" style="stroke:#AD5CD6;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:#55B2DE;stroke-width:1.0416666666666667;" x1="453.125" x2="616.6667" y1="131.1361" y2="131.1361"/><line style="stroke:#55B2DE;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;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:#2A9FD6;stroke-width:3.125;"/><!--MD5=[531185e8775a60811e5cab9e9e959595]
@startuml
!$THEME = "cyborg"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#2A9FD6"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#CC0000"
!$ORANGE = "#fd7e14"
!$YELLOW = "#FF8800"
!$GREEN = "#77B300"
!$TEAL = "#20c997"
!$CYAN = "#9933CC"
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#555"
!$PRIMARY = "#2A9FD6"
!$SECONDARY = "#555"
!$SUCCESS = "#77B300"
!$INFO = "#9933CC"
!$WARNING = "#FF8800"
!$DANGER = "#CC0000"
!$LIGHT = "#222"
!$DARK = "#ADAFAE"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#55B2DE"
!$PRIMARY_LIGHT = "#227FAB"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_DARK = "#777777"
!$SECONDARY_LIGHT = "#444444"
!$SECONDARY_TEXT = $WHITE
!$INFO_DARK = "#AD5CD6"
!$INFO_LIGHT = "#9F161B"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#92C233"
!$SUCCESS_LIGHT = "#5F8F00"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#FFA033"
!$WARNING_LIGHT = "#CC6D00"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#D63333"
!$DANGER_LIGHT = "#A30000"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#BDBFBE"
!$DARK_LIGHT = "#8A8C8B"
!$LIGHT_DARK = "#4E4E4E"
!$LIGHT_LIGHT = "#1B1B1B"
!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_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 $SECONDARY_DARK
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
}
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
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $PRIMARY
}
!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 $SECONDARY
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $SECONDARY
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $SECONDARY
ReferenceFontColor $SECONDARY_TEXT
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()
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
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 $DARK
FontColor $DARK
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $LIGHT
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub actor
skinparam actor {
FontColor $DARK
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $LIGHT
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BackgroundColor $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()
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 $DARK
FontColor $DARK
}
!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 #ADAFAE
skinparam stereotype {
CBackgroundColor #777777
CBorderColor #444444
ABackgroundColor #5F8F00
ABorderColor #92C233
IBackgroundColor #A30000
IBorderColor #D63333
EBackgroundColor #CC6D00
EBorderColor #FFA033
NBackgroundColor #9F161B
NBorderColor #AD5CD6
}
skinparam title {
FontColor #2A9FD6
BorderColor #777777
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #444444-#555
}
skinparam legend {
BackgroundColor #555
BorderColor #777777
FontColor #ADAFAE
}
skinparam swimlane {
BorderColor #9933CC
BorderThickness 2
TitleBackgroundColor #444444-#555
TitleFontColor #2A9FD6
}
skinparam activity {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
BarColor #77B300
StartColor #9933CC
EndColor #9933CC
DiamondBackgroundColor #444444
DiamondBorderColor #777777
DiamondFontColor #FFF
}
skinparam participant {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
FontColor #2A9FD6
}
skinparam arrow {
Thickness 3
Color #2A9FD6
FontColor #FFF
}
skinparam sequence {
BorderColor #2A9FD6
TitleFontColor #2A9FD6
BackgroundColor transparent
StartColor #2A9FD6
EndColor #2A9FD6
BoxBackgroundColor transparent
BoxBorderColor #ADAFAE
BoxFontColor $DARk
LifeLineBorderColor #555
LifeLineBorderThickness 2
LifeLineBackgroundColor #777777
GroupBorderColor #555
GroupFontColor #ADAFAE
GroupHeaderFontColor #9933CC
GroupBackgroundColor #555
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #ADAFAE
DividerBorderColor #ADAFAE
DividerBorderThickness 2
DividerFontColor #222
ReferenceBackgroundColor transparent
ReferenceBorderColor #555
ReferenceFontColor #FFF
ReferenceHeaderBackgroundColor #555
}
skinparam partition {
BorderColor #2A9FD6
FontColor #2A9FD6
BackgroundColor transparent
}
skinparam collections {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
}
skinparam control {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
FontColor #ADAFAE
}
skinparam entity {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
FontColor #ADAFAE
}
skinparam boundary {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
FontColor #ADAFAE
}
skinparam agent {
BackgroundColor #FF8800
BorderColor #CC6D00
FontColor #ADAFAE
}
skinparam note {
BorderThickness 1
BackgroundColor #9933CC
BorderColor #AD5CD6
FontColor #FFF
}
skinparam artifact {
BackgroundColor #ADAFAE
BorderColor #BDBFBE
FontColor #222
}
skinparam component {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
}
skinparam interface {
BackgroundColor #D63333
BorderColor #CC0000
FontColor #ADAFAE
}
skinparam storage {
BackgroundColor #FF8800
BorderColor #FFA033
FontColor #FFF
}
skinparam node {
BackgroundColor #555
BorderColor #ADAFAE
FontColor #ADAFAE
}
skinparam cloud {
BackgroundColor transparent
BorderColor #222
FontColor #ADAFAE
}
skinparam database {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
FontColor #ADAFAE
}
skinparam actor {
FontColor #ADAFAE
}
skinparam class {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
HeaderBackgroundColor #227FAB
StereotypeFontColor #ADAFAE
BorderThickness 1
AttributeFontColor #222
AttributeFontSize 11
}
skinparam object {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
StereotypeFontColor #ADAFAE
BorderThickness 1
AttributeFontColor #FFF
AttributeFontSize 11
}
skinparam usecase {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
BorderThickness 2
StereotypeFontColor #2A9FD6
}
skinparam rectangle {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
BackgroundColor #444444
BorderThickness 2
StereotypeFontColor #2A9FD6
}
skinparam package {
BackgroundColor #555
BorderColor #2A9FD6
FontColor #2A9FD6
BorderThickness 2
}
skinparam folder {
BackgroundColor #444444
BorderColor #FF8800
FontColor #FF8800
BorderThickness 2
}
skinparam frame {
BackgroundColor #444444
BorderColor #9933CC
FontColor #9933CC
BorderThickness 2
}
skinparam state {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
StartColor #9933CC
EndColor #9933CC
AttributeFontColor #FFF
AttributeFontSize 11
}
skinparam queue {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
}
skinparam card {
BackgroundColor #9933CC
BorderColor #AD5CD6
FontColor #FFF
}
skinparam file {
BackgroundColor #777777
BorderColor #ADAFAE
FontColor #ADAFAE
}
skinparam stack {
FontColor #FFF
BorderColor #55B2DE
BackgroundColor #2A9FD6
}
title Class Diagram - cyborg 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>