demo_doc/puml/silver/object-ex.svg

856 lines
20 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="326.0417px" preserveAspectRatio="none" style="width:561px;height:326px;background:#00000000;" version="1.1" viewBox="0 0 561 326" width="561.4583px" zoomAndPan="magnify"><defs><linearGradient id="gt5cy4ejf1id90" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#DEDEDE"/><stop offset="100%" stop-color="#D6D6D6"/></linearGradient><linearGradient id="gt5cy4ejf1id91" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#EEEEEE"/><stop offset="100%" stop-color="#BEBEBE"/></linearGradient></defs><g><rect fill="url(#gt5cy4ejf1id90)" height="52.4028" rx="4.1667" ry="4.1667" style="stroke:#ABABAB;stroke-width:1.0416666666666667;" width="352.0833" x="97.6563" y="2.0833"/><text fill="#EEEEEE" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="318.75" x="114.3229" y="36.5702">Object Diagram - silver theme</text><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="7.2917" y="64.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="22.9167" y="87.8866">Object01</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="8.3333" x2="96.875" y1="100.9277" y2="100.9277"/><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="7.2917" y="239.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="22.9167" y="262.8866">Object02</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="8.3333" x2="96.875" y1="275.9277" y2="275.9277"/><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="134.375" y="64.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="150" y="87.8866">Object03</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="135.4167" x2="223.9583" y1="100.9277" y2="100.9277"/><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="134.375" y="239.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="150" y="262.8866">Object04</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="135.4167" x2="223.9583" y1="275.9277" y2="275.9277"/><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="261.4583" y="64.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="277.0833" y="87.8866">Object05</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="262.5" x2="351.0417" y1="100.9277" y2="100.9277"/><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="261.4583" y="239.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="277.0833" y="262.8866">Object06</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="262.5" x2="351.0417" y1="275.9277" y2="275.9277"/><rect fill="url(#gt5cy4ejf1id91)" height="52.6917" rx="7.8125" ry="7.8125" style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" width="90.625" x="412.5" y="64.9028"/><text fill="#336699" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="428.125" y="87.8866">Object07</text><line style="stroke:#F1F1F1;stroke-width:1.0416666666666667;" x1="413.5417" x2="502.0833" y1="100.9277" y2="100.9277"/><rec
reverse link Object01 to Object02--><path codeLine="21" d="M52.6042,139.3923 C52.6042,171.6423 52.6042,213.2465 52.6042,239.6423 " fill="none" id="Object01-backto-Object02" style="stroke:#EEEEEE;stroke-width:3.125;"/><polygon fill="none" points="45.3125,139.2257,52.6042,118.3923,59.8958,139.2257,45.3125,139.2257" style="stroke:#EEEEEE;stroke-width:3.125;"/><!--MD5=[d21c20b16b3ff22abbc2c8af84931b60]
reverse link Object03 to Object04--><path codeLine="22" d="M179.6875,132.0903 C179.6875,165.1111 179.6875,211.2048 179.6875,239.6423 " fill="none" id="Object03-backto-Object04" style="stroke:#EEEEEE;stroke-width:3.125;"/><polygon fill="#EEEEEE" points="179.6875,118.3923,175.5208,124.6423,179.6875,130.8923,183.8542,124.6423,179.6875,118.3923" style="stroke:#EEEEEE;stroke-width:3.125;"/><!--MD5=[ade907096602ef8d7fe19339b46bff0e]
reverse link Object05 to Object06--><path codeLine="23" d="M306.7708,132.0903 C306.7708,165.1111 306.7708,211.2048 306.7708,239.6423 " fill="none" id="Object05-backto-Object06" style="stroke:#EEEEEE;stroke-width:3.125;"/><polygon points="306.7708,118.3923,302.6042,124.6423,306.7708,130.8923,310.9375,124.6423,306.7708,118.3923" style="stroke:#EEEEEE;stroke-width:3.125;fill:none;"/><text fill="#303030" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="8.3333" x="287.526" y="220.6453">4</text><!--MD5=[17488501a7bed181c851ca0c615fb4f2]
link Object07 to Object08--><path codeLine="24" d="M457.8125,118.3923 C457.8125,143.4548 457.8125,182.1632 457.8125,213.5694 " fill="none" id="Object07-Object08" style="stroke:#EEEEEE;stroke-width:3.125;stroke-dasharray:7.0,7.0;"/><text fill="#303030" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="78.125" x="467.1875" y="171.2199">some labels</text><!--MD5=[43167c998530d690ffdc5028f2028b36]
@startuml
!$THEME = "silver"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
!$WHITE = "#FFF"
!$GRAY_DARK = "#4d4d4d"
!$GRAY = "#737373"
!$LIGHT = "#ffffff"
!$DARK = "#303030"
!$FGCOLOR = $DARK
!$PRIMARY = "#eeeeee"
!$PRIMARY_LIGHT = "#f1f1f1"
!$PRIMARY_DARK = "#bebebe"
!$PRIMARY_TEXT = "#336699"
!$SECONDARY = "#d6d6d6"
!$SECONDARY_LIGHT = "#dedede"
!$SECONDARY_DARK = "#ababab"
!$SECONDARY_TEXT = $LIGHT
!$INFO = "#336699"
!$INFO_LIGHT = "#5c85ad"
!$INFO_DARK = "#29527a"
!$INFO_TEXT = $WHITE
!$SUCCESS = "#339933"
!$SUCCESS_LIGHT = "#5cad5c"
!$SUCCESS_DARK = "#297a29"
!$SUCCESS_TEXT = $WHITE
!$WARNING = "#ffae42"
!$WARNING_LIGHT = "#ffbe68"
!$WARNING_DARK = "#cc8b35"
!$WARNING_TEXT = $WHITE
!$DANGER = "#ff3333"
!$DANGER_LIGHT = "#ff5c5c"
!$DANGER_DARK = "#cc2929"
!$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-$PRIMARY_DARK
!endprocedure
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
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 $SECONDARY_TEXT
}
!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-$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 $DARK
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
BorderColor $PRIMARY
TitleFontColor $PRIMARY
BackgroundColor $BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
BoxBackgroundColor $BGCOLOR
BoxBorderColor $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_DARK
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 #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 $SECONDARY_LIGHT-$SECONDARY_DARK
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 $PRIMARY_LIGHT-$PRIMARY_DARK
BorderColor $PRIMARY_LIGHT
FontColor $PRIMARY_TEXT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $DARK
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY_DARK
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 9
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $LIGHT
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 $PRIMARY_LIGHT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
$primary_scheme()
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $PRIMARY-$PRIMARY_DARK
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $PRIMARY-$PRIMARY_DARK
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_LIGHT-$INFO
BorderColor $INFO
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!if %variable_exists("$THEME")
title Object Diagram - $THEME theme
!else
title Object Diagram
!endif
'skinparam BackgroundColor transparent
object Object01
object Object02
object Object03
object Object04
object Object05
object Object06
object Object07
object Object08
Object08 : name = "Dummy"
Object08 : id = 123
Object01 <|- - Object02
Object03 *- - Object04
Object05 o- - "4" Object06
Object07 .. Object08 : some labels
@enduml
@startuml
skinparam backgroundColor transparent
skinparam useBetaStyle false
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 15
skinparam ParticipantPadding 30
skinparam BoxPadding 30
skinparam Padding 8
skinparam ArrowColor #737373
skinparam stereotype {
CBackgroundColor #dedede
CBorderColor #ababab
ABackgroundColor #5cad5c
ABorderColor #297a29
IBackgroundColor #ff5c5c
IBorderColor #cc2929
EBackgroundColor #ffbe68
EBorderColor #cc8b35
NBackgroundColor #5c85ad
NBorderColor #29527a
}
skinparam title {
FontColor #eeeeee
BorderColor #ababab
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor #dedede-#d6d6d6
}
skinparam legend {
BackgroundColor #d6d6d6
BorderColor #ababab
FontColor #ffffff
}
skinparam swimlane {
BorderColor #336699
BorderThickness 2
TitleBackgroundColor #dedede-#d6d6d6
TitleFontColor #eeeeee
}
skinparam activity {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BarColor #339933
StartColor #336699
EndColor #336699
DiamondBackgroundColor #d6d6d6-#ababab
DiamondBorderColor #ababab
DiamondFontColor #ffffff
}
skinparam participant {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
FontColor #303030
}
skinparam arrow {
Thickness 3
Color #eeeeee
FontColor #303030
}
skinparam sequence {
BorderColor #eeeeee
TitleFontColor #eeeeee
BackgroundColor transparent
StartColor #eeeeee
EndColor #eeeeee
BoxBackgroundColor transparent
BoxBorderColor #737373
BoxFontColor #303030
LifeLineBorderColor #ababab
LifeLineBorderThickness 2
LifeLineBackgroundColor #dedede
GroupBorderColor #737373
GroupFontColor #303030
GroupHeaderFontColor #336699
GroupBackgroundColor transparent
GroupBodyBackgroundColor transparent
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #FFF-#ffffff
DividerBorderColor #737373
DividerBorderThickness 2
DividerFontColor #303030
ReferenceBackgroundColor transparent
ReferenceBorderColor #737373
ReferenceFontColor #303030
ReferenceHeaderFontColor #336699
}
skinparam partition {
BorderColor #eeeeee
FontColor #bebebe
BackgroundColor transparent
}
skinparam collections {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam control {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam entity {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam boundary {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam agent {
BackgroundColor #orange
BorderColor #999999
FontColor #333333
}
skinparam note {
BorderThickness 1
BackgroundColor #5c85ad-#336699
BorderColor #336699
FontColor #FFF
}
skinparam artifact {
BackgroundColor #dedede-#ababab
BorderColor #ababab
FontColor #ffffff
}
skinparam component {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam interface {
BackgroundColor #ff5c5c
BorderColor #ff3333
FontColor #303030
}
skinparam storage {
BackgroundColor #ffbe68-#ffae42
BorderColor #ffae42
FontColor #FFF
}
skinparam node {
BackgroundColor #f1f1f1-#bebebe
BorderColor #f1f1f1
FontColor #336699
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #303030
}
skinparam database {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
FontColor #303030
}
skinparam class {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
HeaderBackgroundColor #f1f1f1-#bebebe
StereotypeFontColor #303030
BorderThickness 1
AttributeFontColor #303030
AttributeFontSize 9
}
skinparam object {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
StereotypeFontColor #ffffff
BorderThickness 1
AttributeFontColor #ffffff
AttributeFontSize 11
}
skinparam usecase {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BorderThickness 2
StereotypeFontColor #eeeeee
}
skinparam rectangle {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BackgroundColor #f1f1f1
BorderThickness 2
StereotypeFontColor #eeeeee
}
skinparam package {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
BorderThickness 2
}
skinparam folder {
BackgroundColor #eeeeee-#bebebe
BorderColor #ffae42
FontColor #ffae42
BorderThickness 2
}
skinparam frame {
BackgroundColor #eeeeee-#bebebe
BorderColor #336699
FontColor #336699
BorderThickness 2
}
skinparam state {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
StartColor #336699
EndColor #336699
AttributeFontColor #ffffff
AttributeFontSize 11
}
skinparam queue {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
skinparam card {
BackgroundColor #5c85ad-#336699
BorderColor #336699
FontColor #FFF
}
skinparam file {
BackgroundColor #dedede-#d6d6d6
BorderColor #ffffff
FontColor #ffffff
}
skinparam stack {
FontColor #336699
BorderColor #f1f1f1
BackgroundColor #eeeeee-#bebebe
}
title Object Diagram - silver theme
object Object01
object Object02
object Object03
object Object04
object Object05
object Object06
object Object07
object Object08
Object08 : name = "Dummy"
Object08 : id = 123
Object01 <|- - Object02
Object03 *- - Object04
Object05 o- - "4" Object06
Object07 .. Object08 : some labels
@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>