176 lines
14 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="409px" preserveAspectRatio="none" style="width:602px;height:409px;" version="1.1" viewBox="0 0 602 409" width="602px" zoomAndPan="magnify"><defs/><g><rect fill="none" height="26.2969" style="stroke:none;stroke-width:1.0;" width="292" x="150.75" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="282" x="155.75" y="22.9951">Class Diagram - resume-light theme</text><!--MD5=[b4fa10df80476353258f72a232547d63]
class AbstractList--><rect codeLine="10" fill="#FEFECE" height="48" id="AbstractList" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="112" x="199.5" y="218.2969"/><ellipse cx="214.5" cy="234.2969" fill="#A9DCDF" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M214.6094,229.6406 L213.4531,234.7188 L215.7813,234.7188 L214.6094,229.6406 Z M213.125,227.4063 L216.1094,227.4063 L219.4688,239.7969 L217.0156,239.7969 L216.25,236.7344 L212.9688,236.7344 L212.2188,239.7969 L209.7813,239.7969 L213.125,227.4063 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="80" x="228.5" y="239.1436">AbstractList</text><line style="stroke:#A80036;stroke-width:1.5;" x1="200.5" x2="310.5" y1="250.2969" y2="250.2969"/><line style="stroke:#A80036;stroke-width:1.5;" x1="200.5" x2="310.5" y1="258.2969" y2="258.2969"/><!--MD5=[8e34b16d8d8f96f4a11290cd523ed859]
class AbstractCollection--><rect codeLine="11" fill="#FEFECE" height="48" id="AbstractCollection" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="157" x="7" y="218.2969"/><ellipse cx="22" cy="234.2969" fill="#A9DCDF" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M22.1094,229.6406 L20.9531,234.7188 L23.2813,234.7188 L22.1094,229.6406 Z M20.625,227.4063 L23.6094,227.4063 L26.9688,239.7969 L24.5156,239.7969 L23.75,236.7344 L20.4688,236.7344 L19.7188,239.7969 L17.2813,239.7969 L20.625,227.4063 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="125" x="36" y="239.1436">AbstractCollection</text><line style="stroke:#A80036;stroke-width:1.5;" x1="8" x2="163" y1="250.2969" y2="250.2969"/><line style="stroke:#A80036;stroke-width:1.5;" x1="8" x2="163" y1="258.2969" y2="258.2969"/><!--MD5=[3d4177ac58b4411586d067f34e84928f]
class List--><rect codeLine="12" fill="#FEFECE" height="48" id="List" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="55" x="220" y="68.7969"/><ellipse cx="235" cy="84.7969" fill="#B4A7E5" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M230.9219,80.5625 L230.9219,78.4063 L238.3125,78.4063 L238.3125,80.5625 L235.8438,80.5625 L235.8438,88.6406 L238.3125,88.6406 L238.3125,90.7969 L230.9219,90.7969 L230.9219,88.6406 L233.3906,88.6406 L233.3906,80.5625 L230.9219,80.5625 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="23" x="249" y="89.6436">List</text><line style="stroke:#A80036;stroke-width:1.5;" x1="221" x2="274" y1="100.7969" y2="100.7969"/><line style="stroke:#A80036;stroke-width:1.5;" x1="221" x2="274" y1="108.7969" y2="108.7969"/><!--MD5=[c160724f8e3bb89ca8141a12554ac2e3]
class Collection--><rect codeLine="13" fill="#FEFECE" height="48" id="Collection" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="100" x="77.5" y="68.7969"/><ellipse cx="92.5" cy="84.7969" fill="#B4A7E5" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M88.4219,80.5625 L88.4219,78.4063 L95.8125,78.4063 L95.8125,80.5625 L93.3438,80.5625 L93.3438,88.6406 L95.8125,88.6406 L95.8125,90.7969 L88.4219,90.7969 L88.4219,88.6406 L90.8906,88.6406 L90.8906,80.5625 L88.4219,80.5625 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="68" x="106.5" y="89.6436">Collection</text><line style="stroke:#A80036;stroke-width:1.5;" x1="78.5" x2="176.5" y1="100.7969" y2="100.7969"/><line style="stroke:#A80036;stroke-width:1.5;" x1="78.5" x2="176.5" y1="108.7969" y2="108.7969"/><!--MD5=[ab8871ed637f40707b866ba6597734bc]
class ArrayList--><rect codeLine="22" fill="#FEFECE" height="80.5938" id="ArrayList" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="160" x="175.5" y="327.2969"/><ellipse cx="222.75" cy="343.2969" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M225.7188,348.9375 Q225.1406,349.2344 224.5,349.375 Q223.8594,349.5313 223.1563,349.5313 Q220.6563,349.5313 219.3281,347.8906 Q218.0156,346.2344 218.0156,343.1094 Q218.0156,339.9844 219.3281,338.3281 Q220.6563,336.6719 223.1563,336.6719 Q223.8594,336.6719 224.5,336.8281 Q225.1563,336.9844 225.7188,337.2813 L225.7188,340 Q225.0938,339.4219 224.5,339.1563 Q223.9063,338.875 223.2813,338.875 Q221.9375,338.875 221.25,339.9531 Q220.5625,341.0156 220.5625,343.1094 Q220.5625,345.2031 221.25,346.2813 Q221.9375,347.3438 223.2813,347.3438 Q223.9063,347.3438 224.5,347.0781 Q225.0938,346.7969 225.7188,346.2188 L225.7188,348.9375 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="57" x="243.25" y="348.1436">ArrayList</text><line style="stroke:#A80036;stroke-width:1.5;" x1="176.5" x2="334.5" y1="359.2969" y2="359.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="148" x="181.5" y="376.292">Object[] elementData</text><line style="stroke:#A80036;stroke-width:1.5;" x1="176.5" x2="334.5" y1="383.5938" y2="383.5938"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="38" x="181.5" y="400.5889">size()</text><!--MD5=[15b68e006199004da79ea2a4d117d8e9]
class TimeUnit--><rect codeLine="27" fill="#FEFECE" height="96.8906" id="TimeUnit" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="93" x="310" y="44.2969"/><ellipse cx="325" cy="60.2969" fill="#EB937F" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M329.1094,66.2969 L321.3906,66.2969 L321.3906,53.9063 L329.1094,53.9063 L329.1094,56.0625 L323.8438,56.0625 L323.8438,58.7344 L328.6094,58.7344 L328.6094,60.8906 L323.8438,60.8906 L323.8438,64.1406 L329.1094,64.1406 L329.1094,66.2969 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="61" x="339" y="65.1436">TimeUnit</text><line style="stroke:#A80036;stroke-width:1.5;" x1="311" x2="402" y1="76.2969" y2="76.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="38" x="316" y="93.292">DAYS</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="50" x="316" y="109.5889">HOURS</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="62" x="316" y="125.8857">MINUTES</text><line style="stroke:#A80036;stroke-width:1.5;" x1="311" x2="402" y1="133.1875" y2="133.1875"/><!--MD5=[0c8287f799745f7b534bf75518604c1e]
class SuppressWarnings--><rect codeLine="33" fill="#FEFECE" height="48" id="SuppressWarnings" rx="5" ry="5" style="stroke:#A80036;stroke-width:1.5;" width="162" x="438.5" y="68.7969"/><ellipse cx="453.5" cy="84.7969" fill="#E3664A" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M455.5781,85.2656 Q455.5781,84.3281 455.1563,83.7969 Q454.7344,83.2656 453.9844,83.2656 Q453.25,83.2656 452.8281,83.7969 Q452.4219,84.3281 452.4219,85.2656 Q452.4219,86.2188 452.8281,86.75 Q453.25,87.2813 453.9844,87.2813 Q454.7344,87.2813 455.1563,86.75 Q455.5781,86.2188 455.5781,85.2656 Z M457.125,88.6719 L455.5,88.6719 L455.5,88 Q455.1719,88.4375 454.75,88.6406 Q454.3281,88.8438 453.7188,88.8438 Q452.3594,88.8438 451.5313,87.875 Q450.7031,86.8906 450.7031,85.2656 Q450.7031,83.6719 451.5313,82.7031 Q452.3594,81.7188 453.7188,81.7188 Q454.3125,81.7188 454.7656,81.9219 Q455.2188,82.125 455.5,82.5156 L455.5,82.1719 Q455.5,81.0469 454.875,80.4375 Q454.25,79.8125 453.1094,79.8125 Q451.3906,79.8125 450.2969,81.3438 Q449.2031,82.8594 449.2031,85.2969 Q449.2031,87.8438 450.4531,89.3438 Q451.7188,90.8438 453.8281,90.8438 Q454.4844,90.8438 455.1094,90.6563 Q455.7344,90.4688 456.3125,90.0781 L457.0781,91.5313 Q456.4063,91.9844 455.6094,92.2031 Q454.8125,92.4375 453.9063,92.4375 Q451,92.4375 449.2656,90.5 Q447.5469,88.5781 447.5469,85.2969 Q447.5469,82.0781 449.0938,80.1563 Q450.6563,78.2188 453.2188,78.2188 Q455.0156,78.2188 456.0625,79.3125 Q457.125,80.4063 457.125,82.2813 L457.125,88.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="130" x="467.5" y="89.6436">SuppressWarnings</text><line style="stroke:#A80036;stroke-width:1.5;" x1="439.5" x2="599.5" y1="100.7969" y2="100.7969"/><line style="stroke:#A80036;stroke-width:1.5;" x1="439.5" x2="599.5" y1="108.7969" y2="108.7969"/><!--MD5=[00308d07b6a5721fb0cf5861877e6652]
reverse link List to AbstractList--><path codeLine="15" d="M249.85,137.1669 C251.28,163.5769 253.06,196.2869 254.23,217.9269 " fill="none" id="List-backto-AbstractList" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="none" points="242.84,137.1969,248.75,116.8469,256.82,136.4369,242.84,137.1969" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="112" x="252.5" y="184.3638">this is a message</text><!--MD5=[1822909749df1453bdd84de7a60a3406]
reverse link Collection to AbstractCollection--><path codeLine="16" d="M115.38,136.3769 C107.82,162.9269 98.38,196.0769 92.16,217.9269 " fill="none" id="Collection-backto-AbstractCollection" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="none" points="108.73,134.1669,120.94,116.8469,122.19,137.9969,108.73,134.1669" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[0159284274f96a472eb2618ad803aaca]
reverse link Collection to List--><path codeLine="18" d="M197.81,92.7969 C205.19,92.7969 212.57,92.7969 219.94,92.7969 " fill="none" id="Collection-backto-List" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="none" points="197.66,99.7969,177.66,92.7969,197.66,85.7969,197.66,99.7969" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[7a3a52e8f65ef1a8d8d29530ea5cd870]
reverse link AbstractCollection to AbstractList--><path codeLine="19" d="M184.4,242.2969 C189.31,242.2969 194.23,242.2969 199.15,242.2969 " fill="none" id="AbstractCollection-backto-AbstractList" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="none" points="184.19,249.2969,164.19,242.2969,184.19,235.2969,184.19,249.2969" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[40e4bb1af59cca28d4643aaff05088cc]
reverse link AbstractList to ArrayList--><path codeLine="20" d="M255.5,286.9669 C255.5,300.0569 255.5,314.3369 255.5,327.1569 " fill="none" id="AbstractList-backto-ArrayList" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="none" points="248.5,286.5269,255.5,266.5269,262.5,286.5269,248.5,286.5269" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[e95d2f1dead332407a4e2b2f7bfb9244]
@startuml
!$THEME = "resume-light"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
skinparam {
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
defaultTextAlignment center
shadowing false
RoundCorner 10
TitleFontSize 18
}
<style>
wbsDiagram {
LineColor #f0f0f0
BorderThickness 3
BackgroundColor #f9f9f9
FontColor #6a9fb5
:depth(0) {
fontSize 16
fontStyle bold
}
:depth(1) {
fontSize 14
padding 5
fontStyle bold
}
:depth(2) {
fontSize 12
padding 3
}
:depth(3) {
fontSize 10
padding 2
}
}
</style>
!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 {
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
defaultTextAlignment center
shadowing false
RoundCorner 10
TitleFontSize 18
}
<style>
wbsDiagram {
LineColor #f0f0f0
BorderThickness 3
BackgroundColor #f9f9f9
FontColor #6a9fb5
:depth(0) {
fontSize 16
fontStyle bold
}
:depth(1) {
fontSize 14
padding 5
fontStyle bold
}
:depth(2) {
fontSize 12
padding 3
}
:depth(3) {
fontSize 10
padding 2
}
}
</style>
title Class Diagram - resume-light 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>