demo_doc/puml/bluegray/class-ex.svg

869 lines
30 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="561.4583px" preserveAspectRatio="none" style="width:650px;height:561px;background:#00000000;" version="1.1" viewBox="0 0 650 561" width="650px" zoomAndPan="magnify"><defs><linearGradient id="gngi4ukr4afgy0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F5F5F5"/><stop offset="100%" stop-color="#F2F2F2"/></linearGradient><linearGradient id="gngi4ukr4afgy1" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#33B2E2"/><stop offset="100%" stop-color="#009FDB"/></linearGradient></defs><g><rect fill="url(#gngi4ukr4afgy0)" height="52.4028" rx="4.1667" ry="4.1667" style="stroke:#C2C2C2;stroke-width:1.0416666666666667;" width="372.9167" x="131.25" y="2.0833"/><text fill="#009FDB" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="339.5833" x="147.9167" y="36.5702">Class Diagram - bluegray theme</text><!--MD5=[b4fa10df80476353258f72a232547d63]
class AbstractList--><rect codeLine="10" fill="url(#gngi4ukr4afgy1)" height="58.9417" id="AbstractList" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="122.9167" x="203.6458" y="311.7778"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="122.9167" x="203.6458" y="311.7778"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="122.9167" x="203.6458" y="343.6361"/><rect codeLine="10" fill="none" height="58.9417" id="AbstractList" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="122.9167" x="203.6458" y="311.7778"/><ellipse cx="218.2292" cy="332.9152" fill="#C4CA33" rx="10.4167" ry="10.4167" style="stroke:#919700;stroke-width:1.0416666666666667;"/><path d="M217.8223,329.8716 L216.9759,333.5988 L218.6849,333.5988 L217.8223,329.8716 Z M216.7318,328.2277 L218.929,328.2277 L221.3867,337.3423 L219.5801,337.3423 L219.0267,335.0962 L216.6178,335.0962 L216.0645,337.3423 L214.2578,337.3423 L216.7318,328.2277 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="75" x="240.1042" y="337.8866">AbstractList</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="204.6875" x2="325.5208" y1="354.0527" y2="354.0527"/><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="204.6875" x2="325.5208" y1="362.3861" y2="362.3861"/><!--MD5=[8e34b16d8d8f96f4a11290cd523ed859]
class AbstractCollection--><rect codeLine="11" fill="url(#gngi4ukr4afgy1)" height="58.9417" id="AbstractCollection" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="159.375" x="7.2917" y="311.7778"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="159.375" x="7.2917" y="311.7778"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="159.375" x="7.2917" y="343.6361"/><rect codeLine="11" fill="none" height="58.9417" id="AbstractCollection" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="159.375" x="7.2917" y="311.7778"/><ellipse cx="21.875" cy="332.9152" fill="#C4CA33" rx="10.4167" ry="10.4167" style="stroke:#919700;stroke-width:1.0416666666666667;"/><path d="M21.4681,329.8716 L20.6217,333.5988 L22.3307,333.5988 L21.4681,329.8716 Z M20.3776,328.2277 L22.5749,328.2277 L25.0326,337.3423 L23.2259,337.3423 L22.6725,335.0962 L20.2637,335.0962 L19.7103,337.3423 L17.9036,337.3423 L20.3776,328.2277 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="111.4583" x="43.75" y="337.8866">AbstractCollection</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="8.3333" x2="165.625" y1="354.0527" y2="354.0527"/><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="8.3333" x2="165.625" y1="362.3861" y2="362.3861"/><!--MD5=[3d4177ac58b4411586d067f34e84928f]
class List--><rect codeLine="12" fill="url(#gngi4ukr4afgy1)" height="58.9417" id="List" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="70.8333" x="222.3958" y="110.7361"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="70.8333" x="222.3958" y="110.7361"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="70.8333" x="222.3958" y="142.5944"/><rect codeLine="12" fill="none" height="58.9417" id="List" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="70.8333" x="222.3958" y="110.7361"/><ellipse cx="236.9792" cy="131.8736" fill="#D95555" rx="10.4167" ry="10.4167" style="stroke:#A62222;stroke-width:1.0416666666666667;"/><path d="M233.8704,129.0415 L233.8704,127.4465 L239.2904,127.4465 L239.2904,129.0415 L237.4837,129.0415 L237.4837,134.966 L239.2904,134.966 L239.2904,136.5611 L233.8704,136.5611 L233.8704,134.966 L235.6771,134.966 L235.6771,129.0415 L233.8704,129.0415 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="22.9167" x="258.8542" y="136.8449">List</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="223.4375" x2="292.1875" y1="153.0111" y2="153.0111"/><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="223.4375" x2="292.1875" y1="161.3444" y2="161.3444"/><!--MD5=[c160724f8e3bb89ca8141a12554ac2e3]
class Collection--><rect codeLine="13" fill="url(#gngi4ukr4afgy1)" height="58.9417" id="Collection" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="107.2917" x="71.875" y="110.7361"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="107.2917" x="71.875" y="110.7361"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="107.2917" x="71.875" y="142.5944"/><rect codeLine="13" fill="none" height="58.9417" id="Collection" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="107.2917" x="71.875" y="110.7361"/><ellipse cx="86.4583" cy="131.8736" fill="#D95555" rx="10.4167" ry="10.4167" style="stroke:#A62222;stroke-width:1.0416666666666667;"/><path d="M83.3496,129.0415 L83.3496,127.4465 L88.7695,127.4465 L88.7695,129.0415 L86.9629,129.0415 L86.9629,134.966 L88.7695,134.966 L88.7695,136.5611 L83.3496,136.5611 L83.3496,134.966 L85.1563,134.966 L85.1563,129.0415 L83.3496,129.0415 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" font-style="italic" lengthAdjust="spacing" textLength="59.375" x="108.3333" y="136.8449">Collection</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="72.9167" x2="178.125" y1="153.0111" y2="153.0111"/><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="72.9167" x2="178.125" y1="161.3444" y2="161.3444"/><!--MD5=[ab8871ed637f40707b866ba6597734bc]
class ArrayList--><rect codeLine="22" fill="url(#gngi4ukr4afgy1)" height="120.1263" id="ArrayList" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="158.3333" x="185.9375" y="434.6944"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="158.3333" x="185.9375" y="434.6944"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="158.3333" x="185.9375" y="466.5527"/><rect codeLine="22" fill="none" height="120.1263" id="ArrayList" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="158.3333" x="185.9375" y="434.6944"/><ellipse cx="224.4271" cy="455.8319" fill="#F5F5F5" rx="10.4167" ry="10.4167" style="stroke:#C2C2C2;stroke-width:1.0416666666666667;"/><path d="M226.3314,460.259 Q225.9082,460.4706 225.4362,460.5845 Q224.9642,460.6984 224.4596,460.6984 Q222.6042,460.6984 221.6276,459.494 Q220.6673,458.2733 220.6673,455.9784 Q220.6673,453.6672 221.6276,452.4628 Q222.6042,451.2421 224.4596,451.2421 Q224.9642,451.2421 225.4362,451.356 Q225.9245,451.4537 226.3314,451.6815 L226.3314,453.6835 Q225.8757,453.2603 225.4362,453.065 Q224.9967,452.8534 224.541,452.8534 Q223.5482,452.8534 223.0436,453.6509 Q222.5391,454.4322 222.5391,455.9784 Q222.5391,457.5083 223.0436,458.2896 Q223.5482,459.0708 224.541,459.0708 Q224.9967,459.0708 225.4362,458.8755 Q225.8757,458.6802 226.3314,458.257 L226.3314,460.259 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="57.2917" x="251.6146" y="460.8032">ArrayList</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="186.9792" x2="343.2292" y1="476.9694" y2="476.9694"/><text fill="#D2D2D2" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="129.1667" x="200.5208" y="500.9893">Object[] elementData</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="186.9792" x2="343.2292" y1="515.8951" y2="515.8951"/><text fill="#D2D2D2" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="200.5208" y="539.915">size()</text><!--MD5=[15b68e006199004da79ea2a4d117d8e9]
class TimeUnit--><rect codeLine="27" fill="url(#gngi4ukr4afgy1)" height="150.7187" id="TimeUnit" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="104.1667" x="329.6875" y="64.9028"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="104.1667" x="329.6875" y="64.9028"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="104.1667" x="329.6875" y="96.7611"/><rect codeLine="27" fill="none" height="150.7187" id="TimeUnit" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="104.1667" x="329.6875" y="64.9028"/><ellipse cx="344.2708" cy="86.0402" fill="#EE9033" rx="10.4167" ry="10.4167" style="stroke:#BB5D00;stroke-width:1.0416666666666667;"/><path d="M346.8099,90.7277 L341.1296,90.7277 L341.1296,81.6132 L346.8099,81.6132 L346.8099,83.2082 L342.9362,83.2082 L342.9362,85.1613 L346.4355,85.1613 L346.4355,86.7564 L342.9362,86.7564 L342.9362,89.1327 L346.8099,89.1327 L346.8099,90.7277 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="56.25" x="366.1458" y="91.0116">TimeUnit</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="330.7292" x2="432.8125" y1="107.1777" y2="107.1777"/><text fill="#D2D2D2" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="344.2708" y="131.1976">DAYS</text><text fill="#D2D2D2" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="42.7083" x="344.2708" y="161.79">HOURS</text><text fill="#D2D2D2" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="54.1667" x="344.2708" y="192.3823">MINUTES</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="330.7292" x2="432.8125" y1="207.2881" y2="207.2881"/><!--MD5=[0c8287f799745f7b534bf75518604c1e]
class SuppressWarnings--><rect codeLine="33" fill="url(#gngi4ukr4afgy1)" height="58.9417" id="SuppressWarnings" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="171.875" x="470.8333" y="110.7361"/><rect fill="url(#gngi4ukr4afgy1)" height="42.275" rx="10.4167" ry="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="171.875" x="470.8333" y="110.7361"/><rect fill="url(#gngi4ukr4afgy1)" height="10.4167" style="stroke:url(#gngi4ukr4afgy1);stroke-width:1.0416666666666667;" width="171.875" x="470.8333" y="142.5944"/><rect codeLine="33" fill="none" height="58.9417" id="SuppressWarnings" rx="10.4167" ry="10.4167" style="stroke:#33B2E2;stroke-width:1.0416666666666667;" width="171.875" x="470.8333" y="110.7361"/><ellipse cx="485.4167" cy="131.8736" fill="#3786BE" rx="10.4167" ry="10.4167" style="stroke:#04538B;stroke-width:1.0416666666666667;"/><path d="M486.6699,131.6783 Q486.6699,130.9784 486.3607,130.5878 Q486.0514,130.1971 485.498,130.1971 Q484.9609,130.1971 484.6517,130.5878 Q484.3424,130.9784 484.3424,131.6783 Q484.3424,132.3619 484.6517,132.7525 Q484.9609,133.1431 485.498,133.1431 Q486.0514,133.1431 486.3607,132.7525 Q486.6699,132.3619 486.6699,131.6783 Z M487.8092,134.1685 L486.6048,134.1685 L486.6048,133.6802 Q486.377,133.9895 486.0514,134.1522 Q485.7422,134.2987 485.3027,134.2987 Q484.3099,134.2987 483.6914,133.5826 Q483.0729,132.8501 483.0729,131.6783 Q483.0729,130.4901 483.6751,129.774 Q484.2936,129.0578 485.3027,129.0578 Q485.7422,129.0578 486.0677,129.2043 Q486.3932,129.3508 486.6048,129.6438 L486.6048,129.3996 Q486.6048,128.5695 486.1491,128.1138 Q485.6934,127.6581 484.8633,127.6581 Q483.5938,127.6581 482.7799,128.7811 Q481.9824,129.8879 481.9824,131.6783 Q481.9824,133.55 482.9102,134.6731 Q483.8379,135.7798 485.3841,135.7798 Q485.8724,135.7798 486.3281,135.6333 Q486.7839,135.4869 487.207,135.1939 L487.7604,136.2681 Q487.2721,136.6099 486.6862,136.7727 Q486.1003,136.9517 485.4492,136.9517 Q483.3008,136.9517 482.0313,135.5194 Q480.7617,134.1034 480.7617,131.6783 Q480.7617,129.3182 481.901,127.9022 Q483.0566,126.4862 484.9284,126.4862 Q486.263,126.4862 487.028,127.2837 Q487.8092,128.0813 487.8092,129.481 L487.8092,134.1685 Z " fill="#000000"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="123.9583" x="507.2917" y="136.8449">SuppressWarnings</text><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="471.875" x2="641.6667" y1="153.0111" y2="153.0111"/><line style="stroke:#33B2E2;stroke-width:1.0416666666666667;" x1="471.875" x2="641.6667" y1="161.3444" y2="161.3444"/><!--MD5=[00308d07b6a5721fb0cf5861877e6652]
reverse link List to AbstractList--><path codeLine="15" d="M259.6354,191.2361 C261.0208,229.1319 262.8854,279.9861 264.0417,311.4548 " fill="none" id="List-backto-AbstractList" style="stroke:#009FDB;stroke-width:3.125;"/><polygon fill="none" points="252.3542,191.4861,258.875,170.3923,266.9271,190.9444,252.3542,191.4861" style="stroke:#009FDB;stroke-width:3.125;"/><text fill="#5A5A5A" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="114.5833" x="271.3542" y="269.1366">this is a message</text><!--MD5=[1822909749df1453bdd84de7a60a3406]
reverse link Collection to AbstractCollection--><path codeLine="16" d="M115.9271,190.9653 C108.5833,228.8923 98.6979,279.9132 92.5938,311.4548 " fill="none" id="Collection-backto-AbstractCollection" style="stroke:#009FDB;stroke-width:3.125;"/><polygon fill="none" points="108.7917,189.4653,119.9167,170.3923,123.1146,192.2361,108.7917,189.4653" style="stroke:#009FDB;stroke-width:3.125;"/><!--MD5=[0159284274f96a472eb2618ad803aaca]
reverse link Collection to List--><path codeLine="18" d="M200.4063,140.4236 C207.6771,140.4236 214.9479,140.4236 222.2188,140.4236 " fill="none" id="Collection-backto-List" style="stroke:#009FDB;stroke-width:3.125;"/><polygon fill="none" points="200.0938,147.7153,179.2604,140.4236,200.0938,133.1319,200.0938,147.7153" style="stroke:#009FDB;stroke-width:3.125;"/><!--MD5=[7a3a52e8f65ef1a8d8d29530ea5cd870]
reverse link AbstractCollection to AbstractList--><path codeLine="19" d="M188.0417,341.4653 C193.1667,341.4653 198.2813,341.4653 203.4063,341.4653 " fill="none" id="AbstractCollection-backto-AbstractList" style="stroke:#009FDB;stroke-width:3.125;"/><polygon fill="none" points="187.8333,348.7569,167,341.4653,187.8333,334.1736,187.8333,348.7569" style="stroke:#009FDB;stroke-width:3.125;"/><!--MD5=[40e4bb1af59cca28d4643aaff05088cc]
reverse link AbstractList to ArrayList--><path codeLine="20" d="M265.1042,392.434 C265.1042,405.9132 265.1042,420.6319 265.1042,434.559 " fill="none" id="AbstractList-backto-ArrayList" style="stroke:#009FDB;stroke-width:3.125;"/><polygon fill="none" points="257.8125,392.1007,265.1042,371.2673,272.3958,392.1007,257.8125,392.1007" style="stroke:#009FDB;stroke-width:3.125;"/><!--MD5=[21708c0789896d4b3b7cd024608bba02]
@startuml
!$THEME = "bluegray"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#fff"
!$GRAY_DARK = "#5a5a5a"
!$GRAY = "#959595"
!$PRIMARY = "#009fdb"
!$SECONDARY = "#f2f2f2"
!$SUCCESS = "#b5bd00"
!$INFO = "#0568ae"
!$WARNING = "#ea7400"
!$DANGER = "#cf2a2a"
!$LIGHT = "#d2d2d2"
!$DARK = "#5a5a5a"
!$FGCOLOR = $DARK
!$PRIMARY_LIGHT = "#33b2e2"
!$PRIMARY_DARK = "#007faf"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_LIGHT = "#f5f5f5"
!$SECONDARY_DARK = "#c2c2c2"
!$SECONDARY_TEXT = $DARK
!$INFO_LIGHT = "#3786be"
!$INFO_DARK = "#04538b"
!$INFO_TEXT = $WHITE
!$SUCCESS_LIGHT = "#c4ca33"
!$SUCCESS_DARK = "#919700"
!$SUCCESS_TEXT = $WHITE
!$WARNING_LIGHT = "#ee9033"
!$WARNING_DARK = "#bb5d00"
!$WARNING_TEXT = $WHITE
!$DANGER_LIGHT = "#d95555"
!$DANGER_DARK = "#a62222"
!$DANGER_TEXT = $WHITE
!procedure $success($msg)
<font color=$SUCCESS><b>$msg
!endprocedure
!procedure $failure($msg)
<font color=$DANGER><b>$msg
!endprocedure
!procedure $warning($msg)
<font color=$WARNING><b>$msg
!endprocedure
!procedure $primary_scheme()
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY_LIGHT
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endprocedure
!procedure $secondary_scheme()
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_DARK
BackgroundColor $WHITE-#fefefe
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 20
skinparam ParticipantPadding 30
skinparam BoxPadding 40
skinparam Padding 8
skinparam ArrowColor $GRAY
skinparam stereotype {
CBackgroundColor $SECONDARY_LIGHT
CBorderColor $SECONDARY_DARK
ABackgroundColor $SUCCESS_LIGHT
ABorderColor $SUCCESS_DARK
IBackgroundColor $DANGER_LIGHT
IBorderColor $DANGER_DARK
EBackgroundColor $WARNING_LIGHT
EBorderColor $WARNING_DARK
NBackgroundColor $INFO_LIGHT
NBorderColor $INFO_DARK
}
skinparam title {
FontColor $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 {
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
BarColor $SUCCESS
StartColor $INFO
EndColor $INFO
DiamondBackgroundColor $SECONDARY_LIGHT-$SECONDARY_DARK
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $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 $GRAY
BoxFontColor $DARK
LifeLineBorderColor $SECONDARY_DARK
LifeLineBorderThickness 2
LifeLineBackgroundColor $SECONDARY_LIGHT
GroupBorderColor $GRAY
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $BGCOLOR
GroupBodyBackgroundColor $BGCOLOR
GroupHeaderBackgroundColor $BGCOLOR
DividerBackgroundColor $WHITE-$LIGHT
DividerBorderColor $GRAY
DividerBorderThickness 2
DividerFontColor $DARK
ReferenceBackgroundColor $BGCOLOR
ReferenceBorderColor $GRAY
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY
BackgroundColor $BGCOLOR
}
!endsub
!startsub collections
skinparam collections {
$primary_scheme()
}
!endsub
!startsub control
skinparam control {
$primary_scheme()
FontColor $PRIMARY
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
FontColor $PRIMARY
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
FontColor $PRIMARY
}
!endsub
!startsub agent
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $INFO_LIGHT-$INFO
BorderColor $INFO
FontColor $WHITE
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $WHITE-$LIGHT
BorderColor $SECONDARY_DARK
FontColor $SECONDARY_TEXT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_LIGHT
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_LIGHT-$WARNING
BorderColor $WARNING
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
BorderColor $SECONDARY_DARK
FontColor $PRIMARY
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $PRIMARY
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
BorderColor $PRIMARY_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 {
$secondary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
FontColor $PRIMARY
BorderColor $PRIMARY_LIGHT
BackgroundColor $BGCOLOR
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $WHITE-$SECONDARY_LIGHT
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $WHITE-$SECONDARY_LIGHT
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
BorderColor $PRIMARY_DARK
StartColor $INFO
EndColor $INFO
AttributeFontColor $LIGHT
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_LIGHT-$INFO
BorderColor $INFO
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
BorderColor $INFO
FontColor $SECONDARY_TEXT
}
!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 20
skinparam ParticipantPadding 30
skinparam BoxPadding 40
skinparam Padding 8
skinparam ArrowColor #959595
skinparam stereotype {
CBackgroundColor #f5f5f5
CBorderColor #c2c2c2
ABackgroundColor #c4ca33
ABorderColor #919700
IBackgroundColor #d95555
IBorderColor #a62222
EBackgroundColor #ee9033
EBorderColor #bb5d00
NBackgroundColor #3786be
NBorderColor #04538b
}
skinparam title {
FontColor #009fdb
BorderColor #c2c2c2
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #f5f5f5-#f2f2f2
}
skinparam legend {
BackgroundColor #f2f2f2
BorderColor #c2c2c2
FontColor #5a5a5a
}
skinparam swimlane {
BorderColor #0568ae
BorderThickness 2
TitleBackgroundColor #f5f5f5-#f2f2f2
TitleFontColor #009fdb
}
skinparam activity {
FontColor #fff
BorderColor #009fdb
BackgroundColor #33b2e2-#009fdb
BarColor #b5bd00
StartColor #0568ae
EndColor #0568ae
DiamondBackgroundColor #f5f5f5-#c2c2c2
DiamondBorderColor #c2c2c2
DiamondFontColor #5a5a5a
}
skinparam participant {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
FontColor #009fdb
}
skinparam arrow {
Thickness 3
Color #009fdb
FontColor #5a5a5a
}
skinparam sequence {
BorderColor #009fdb
TitleFontColor #009fdb
BackgroundColor transparent
StartColor #009fdb
EndColor #009fdb
BoxBackgroundColor transparent
BoxBorderColor #959595
BoxFontColor #5a5a5a
LifeLineBorderColor #c2c2c2
LifeLineBorderThickness 2
LifeLineBackgroundColor #f5f5f5
GroupBorderColor #959595
GroupFontColor #5a5a5a
GroupHeaderFontColor #0568ae
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #fff-#d2d2d2
DividerBorderColor #959595
DividerBorderThickness 2
DividerFontColor #5a5a5a
ReferenceBackgroundColor transparent
ReferenceBorderColor #959595
ReferenceFontColor #5a5a5a
ReferenceHeaderFontColor #0568ae
}
skinparam partition {
BorderColor #009fdb
FontColor #009fdb
BackgroundColor transparent
}
skinparam collections {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
}
skinparam control {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
FontColor #009fdb
}
skinparam entity {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
FontColor #009fdb
}
skinparam boundary {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
FontColor #009fdb
}
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
skinparam note {
BorderThickness 1
BackgroundColor #3786be-#0568ae
BorderColor #0568ae
FontColor #fff
}
skinparam artifact {
BackgroundColor #fff-#d2d2d2
BorderColor #c2c2c2
FontColor #5a5a5a
}
skinparam component {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
}
skinparam interface {
BackgroundColor #d95555
BorderColor #cf2a2a
FontColor #5a5a5a
}
skinparam storage {
BackgroundColor #ee9033-#ea7400
BorderColor #ea7400
FontColor #fff
}
skinparam node {
BackgroundColor #f5f5f5-#f2f2f2
BorderColor #c2c2c2
FontColor #009fdb
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #009fdb
}
skinparam database {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
BorderColor #007faf
}
skinparam class {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
HeaderBackgroundColor #33b2e2-#009fdb
StereotypeFontColor #5a5a5a
BorderThickness 1
AttributeFontColor #d2d2d2
AttributeFontSize 11
}
skinparam object {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
StereotypeFontColor #5a5a5a
BorderThickness 1
AttributeFontColor #d2d2d2
AttributeFontSize 11
}
skinparam usecase {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
BorderThickness 2
StereotypeFontColor #009fdb
}
skinparam rectangle {
FontColor #5a5a5a
BorderColor #c2c2c2
BackgroundColor #fff-#fefefe
BorderThickness 2
StereotypeFontColor #009fdb
}
skinparam package {
FontColor #009fdb
BorderColor #33b2e2
BackgroundColor transparent
BorderThickness 2
}
skinparam folder {
BackgroundColor #fff-#f5f5f5
BorderColor #ea7400
FontColor #ea7400
BorderThickness 2
}
skinparam frame {
BackgroundColor #fff-#f5f5f5
BorderColor #0568ae
FontColor #0568ae
BorderThickness 2
}
skinparam state {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
BorderColor #007faf
StartColor #0568ae
EndColor #0568ae
AttributeFontColor #d2d2d2
AttributeFontSize 11
}
skinparam queue {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
}
skinparam card {
BackgroundColor #3786be-#0568ae
BorderColor #0568ae
FontColor #fff
}
skinparam file {
BackgroundColor #f5f5f5-#f2f2f2
BorderColor #0568ae
FontColor #5a5a5a
}
skinparam stack {
FontColor #fff
BorderColor #33b2e2
BackgroundColor #33b2e2-#009fdb
}
title Class Diagram - bluegray 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>