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

830 lines
26 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="g1bo0tugfjryft0" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F4A1A4"/><stop offset="100%" stop-color="#F3969A"/></linearGradient></defs><g><rect fill="url(#g1bo0tugfjryft0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#DB878B;stroke-width:1.0416666666666667;" width="335.4167" x="137.5" y="2.0833"/><text fill="#6CAF9C" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="308.3333" x="151.0417" y="33.4452">Class Diagram - minty theme</text><!--MD5=[b4fa10df80476353258f72a232547d63]
class AbstractList--><rect codeLine="10" fill="#86C8B5" height="52.6917" id="AbstractList" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="116.6667" x="197.3958" y="274.2778"/><ellipse cx="211.9792" cy="292.2902" fill="#67D1A7" rx="10.4167" ry="10.4167" style="stroke:#4DB88D;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:#78C2AD;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="310.3027" y2="310.3027"/><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="198.4375" x2="313.0208" y1="318.6361" y2="318.6361"/><!--MD5=[8e34b16d8d8f96f4a11290cd523ed859]
class AbstractCollection--><rect codeLine="11" fill="#86C8B5" height="52.6917" id="AbstractCollection" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="153.125" x="7.2917" y="274.2778"/><ellipse cx="21.875" cy="292.2902" fill="#67D1A7" rx="10.4167" ry="10.4167" style="stroke:#4DB88D;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:#78C2AD;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="310.3027" y2="310.3027"/><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="8.3333" x2="159.375" y1="318.6361" y2="318.6361"/><!--MD5=[3d4177ac58b4411586d067f34e84928f]
class List--><rect codeLine="12" fill="#86C8B5" height="52.6917" id="List" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="64.5833" x="216.1458" y="95.1111"/><ellipse cx="230.7292" cy="113.1236" fill="#FF8662" rx="10.4167" ry="10.4167" style="stroke:#E66C49;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:#78C2AD;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="131.1361" y2="131.1361"/><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="217.1875" x2="279.6875" y1="139.4694" y2="139.4694"/><!--MD5=[c160724f8e3bb89ca8141a12554ac2e3]
class Collection--><rect codeLine="13" fill="#86C8B5" height="52.6917" id="Collection" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="101.0417" x="71.875" y="95.1111"/><ellipse cx="86.4583" cy="113.1236" fill="#FF8662" rx="10.4167" ry="10.4167" style="stroke:#E66C49;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:#78C2AD;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="131.1361" y2="131.1361"/><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="72.9167" x2="171.875" y1="139.4694" y2="139.4694"/><!--MD5=[ab8871ed637f40707b866ba6597734bc]
class ArrayList--><rect codeLine="22" fill="#86C8B5" height="101.3763" id="ArrayList" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="152.0833" x="179.6875" y="390.9444"/><ellipse cx="218.1771" cy="408.9569" fill="#F4A1A4" rx="10.4167" ry="10.4167" style="stroke:#DB878B;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:#78C2AD;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="426.9694" y2="426.9694"/><text fill="#343A40" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="129.1667" x="191.1458" y="447.8643">Object[] elementData</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="180.7292" x2="330.7292" y1="459.6451" y2="459.6451"/><text fill="#343A40" 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="#86C8B5" height="125.7187" id="TimeUnit" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="97.9167" x="317.1875" y="58.6528"/><ellipse cx="331.7708" cy="76.6652" fill="#FFD376" rx="10.4167" ry="10.4167" style="stroke:#E6B95D;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:#78C2AD;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="94.6777" y2="94.6777"/><text fill="#343A40" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="33.3333" x="328.6458" y="115.5726">DAYS</text><text fill="#343A40" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="42.7083" x="328.6458" y="139.915">HOURS</text><text fill="#343A40" font-family="Verdana" font-size="11.4583" lengthAdjust="spacing" textLength="54.1667" x="328.6458" y="164.2573">MINUTES</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="318.2292" x2="414.0625" y1="176.0381" y2="176.0381"/><!--MD5=[0c8287f799745f7b534bf75518604c1e]
class SuppressWarnings--><rect codeLine="33" fill="#86C8B5" height="52.6917" id="SuppressWarnings" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="165.625" x="452.0833" y="95.1111"/><ellipse cx="466.6667" cy="113.1236" fill="#7BC9D9" rx="10.4167" ry="10.4167" style="stroke:#61B0C0;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:#78C2AD;stroke-width:1.0416666666666667;" x1="453.125" x2="616.6667" y1="131.1361" y2="131.1361"/><line style="stroke:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;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:#78C2AD;stroke-width:3.125;"/><!--MD5=[87f653e011771446f099b6db96dbd7be]
@startuml
!$THEME = "minty"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$BLUE = "#007bff"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#ff7851"
!$ORANGE = "#fd7e14"
!$YELLOW = "#ffce67"
!$GREEN = "#56cc9d"
!$TEAL = "#20c997"
!$CYAN = "#6cc3d5"
!$WHITE = "#fff"
!$GRAY = "#888"
!$GRAYDARK = "#343a40"
!$PRIMARY = "#78c2ad"
!$SECONDARY = "#f3969a"
!$SUCCESS = "#56cc9d"
!$INFO = "#6cc3d5"
!$WARNING = "#ffce67"
!$DANGER = "#ff7851"
!$LIGHT = "#f8f9fa"
!$DARK = "#343a40"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#6caf9c"
!$PRIMARY_LIGHT = "#86c8b5"
!$PRIMARY_TEXT = $WHITE
!$SECONDARY_DARK = "#db878b"
!$SECONDARY_LIGHT = "#f4a1a4"
!$SECONDARY_TEXT = $WHITE
!$INFO_DARK = "#61b0c0"
!$INFO_LIGHT = "#7bc9d9"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#4db88d"
!$SUCCESS_LIGHT = "#67d1a7"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#e6b95d"
!$WARNING_LIGHT = "#ffd376"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#e66c49"
!$DANGER_LIGHT = "#ff8662"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#2f343a"
!$DARK_LIGHT = "#484e53"
!$LIGHT_DARK = "#dfe0e1"
!$LIGHT_LIGHT = "#f9fafb"
!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
BackgroundColor $PRIMARY_LIGHT
!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_DARK
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 $DARK
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BackgroundColor $SECONDARY_LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $SECONDARY
BorderColor $PRIMARY
FontColor $PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $SECONDARY_LIGHT
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $SECONDARY_LIGHT
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
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 #343a40
skinparam stereotype {
CBackgroundColor #f4a1a4
CBorderColor #db878b
ABackgroundColor #67d1a7
ABorderColor #4db88d
IBackgroundColor #ff8662
IBorderColor #e66c49
EBackgroundColor #ffd376
EBorderColor #e6b95d
NBackgroundColor #7bc9d9
NBorderColor #61b0c0
}
skinparam title {
FontColor #6caf9c
BorderColor #db878b
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #f4a1a4-#f3969a
}
skinparam legend {
BackgroundColor #f3969a
BorderColor #db878b
FontColor #f8f9fa
}
skinparam swimlane {
BorderColor #6cc3d5
BorderThickness 2
TitleBackgroundColor #f4a1a4-#f3969a
TitleFontColor #78c2ad
}
skinparam activity {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
BarColor #56cc9d
StartColor #6cc3d5
EndColor #6cc3d5
DiamondBackgroundColor #f4a1a4
DiamondBorderColor #db878b
DiamondFontColor #fff
}
skinparam participant {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam arrow {
Thickness 3
Color #78c2ad
FontColor #fff
}
skinparam sequence {
BorderColor #78c2ad
TitleFontColor #78c2ad
BackgroundColor transparent
StartColor #78c2ad
EndColor #78c2ad
BoxBackgroundColor transparent
BoxBorderColor #343a40
BoxFontColor $DARk
LifeLineBorderColor #f3969a
LifeLineBorderThickness 2
LifeLineBackgroundColor #db878b
GroupBorderColor #343a40
GroupFontColor #343a40
GroupHeaderFontColor #6cc3d5
GroupBackgroundColor #f3969a
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #343a40
DividerBorderColor #343a40
DividerBorderThickness 2
DividerFontColor #f8f9fa
ReferenceBackgroundColor transparent
ReferenceBorderColor #343a40
ReferenceFontColor #343a40
ReferenceHeaderFontColor #6cc3d5
ReferenceHeaderBackgroundColor #f3969a
}
skinparam partition {
BorderColor #78c2ad
FontColor #78c2ad
BackgroundColor transparent
}
skinparam collections {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam control {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam entity {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam boundary {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam agent {
BackgroundColor #ffce67
BorderColor #ffd376
FontColor #343a40
}
skinparam note {
BorderThickness 1
BackgroundColor #6cc3d5
BorderColor #61b0c0
FontColor #fff
}
skinparam artifact {
BackgroundColor #343a40
BorderColor #2f343a
FontColor #f8f9fa
}
skinparam component {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam interface {
BackgroundColor #e66c49
BorderColor #ff7851
FontColor #343a40
}
skinparam storage {
BackgroundColor #ffce67
BorderColor #e6b95d
FontColor #fff
}
skinparam node {
BackgroundColor #f3969a
BorderColor #f8f9fa
FontColor #f8f9fa
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #343a40
}
skinparam database {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam class {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
HeaderBackgroundColor #86c8b5
StereotypeFontColor #343a40
BorderThickness 1
AttributeFontColor #343a40
AttributeFontSize 11
}
skinparam object {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
StereotypeFontColor #343a40
BorderThickness 1
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam usecase {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
BorderThickness 2
StereotypeFontColor #78c2ad
}
skinparam rectangle {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
BackgroundColor #f4a1a4
BorderThickness 2
StereotypeFontColor #78c2ad
}
skinparam package {
BackgroundColor #f3969a
BorderColor #78c2ad
FontColor #78c2ad
BorderThickness 2
}
skinparam folder {
BackgroundColor #f4a1a4
BorderColor #ffce67
FontColor #ffce67
BorderThickness 2
}
skinparam frame {
BackgroundColor #f4a1a4
BorderColor #6cc3d5
FontColor #6cc3d5
BorderThickness 2
}
skinparam state {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
StartColor #6cc3d5
EndColor #6cc3d5
AttributeFontColor #fff
AttributeFontSize 11
}
skinparam queue {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
skinparam card {
BackgroundColor #6cc3d5
BorderColor #61b0c0
FontColor #fff
}
skinparam file {
BackgroundColor #db878b
BorderColor #f8f9fa
FontColor #f8f9fa
}
skinparam stack {
FontColor #fff
BorderColor #78c2ad
BackgroundColor #86c8b5
}
title Class Diagram - minty 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>