demo_doc/puml/minty/object-ex.svg

804 lines
19 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="288.5417px" preserveAspectRatio="none" style="width:533px;height:288px;background:#00000000;" version="1.1" viewBox="0 0 533 288" width="533.3333px" zoomAndPan="magnify"><defs><linearGradient id="g1cw681k3upamm0" 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(#g1cw681k3upamm0)" height="46.1528" rx="4.1667" ry="4.1667" style="stroke:#DB878B;stroke-width:1.0416666666666667;" width="348.9583" x="85.1563" y="2.0833"/><text fill="#6CAF9C" font-family="Verdana" font-size="20.8333" lengthAdjust="spacing" textLength="321.875" x="98.6979" y="33.4452">Object Diagram - minty theme</text><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="7.2917" y="58.6528"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="19.7917" y="78.5116">Object01</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="8.3333" x2="90.625" y1="88.4277" y2="88.4277"/><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="7.2917" y="214.9028"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="19.7917" y="234.7616">Object02</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="8.3333" x2="90.625" y1="244.6777" y2="244.6777"/><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="128.125" y="58.6528"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="140.625" y="78.5116">Object03</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="129.1667" x2="211.4583" y1="88.4277" y2="88.4277"/><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="128.125" y="214.9028"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="140.625" y="234.7616">Object04</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="129.1667" x2="211.4583" y1="244.6777" y2="244.6777"/><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="248.9583" y="58.6528"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="261.4583" y="78.5116">Object05</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="250" x2="332.2917" y1="88.4277" y2="88.4277"/><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="248.9583" y="214.9028"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="261.4583" y="234.7616">Object06</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="250" x2="332.2917" y1="244.6777" y2="244.6777"/><rect fill="#86C8B5" height="46.4417" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="84.375" x="393.75" y="58.6528"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="406.25" y="78.5116">Object07</text><line style="stroke:#78C2AD;stroke-width:1.0416666666666667;" x1="394.7917" x2="477.0833" y1="88.4277" y2="88.4277"/><rect fill="#86C8B5" height="86.793" rx="4.1667" ry="4.1667" style="stroke:#78C2AD;stroke-width:1.0416666666666667;" width="131.25" x="370.3125" y="195.1111"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="59.375" x="406.
reverse link Object01 to Object02--><path codeLine="21" d="M49.4792,126.5278 C49.4792,155.2673 49.4792,191.7778 49.4792,214.8507 " fill="none" id="Object01-backto-Object02" style="stroke:#78C2AD;stroke-width:3.125;"/><polygon fill="none" points="42.1875,126.3819,49.4792,105.5486,56.7708,126.3819,42.1875,126.3819" style="stroke:#78C2AD;stroke-width:3.125;"/><!--MD5=[d21c20b16b3ff22abbc2c8af84931b60]
reverse link Object03 to Object04--><path codeLine="22" d="M170.3125,119.4444 C170.3125,149.0173 170.3125,189.8403 170.3125,214.8507 " fill="none" id="Object03-backto-Object04" style="stroke:#78C2AD;stroke-width:3.125;"/><polygon fill="#78C2AD" points="170.3125,105.5486,166.1458,111.7986,170.3125,118.0486,174.4792,111.7986,170.3125,105.5486" style="stroke:#78C2AD;stroke-width:3.125;"/><!--MD5=[ade907096602ef8d7fe19339b46bff0e]
reverse link Object05 to Object06--><path codeLine="23" d="M291.1458,119.4444 C291.1458,149.0173 291.1458,189.8403 291.1458,214.8507 " fill="none" id="Object05-backto-Object06" style="stroke:#78C2AD;stroke-width:3.125;"/><polygon points="291.1458,105.5486,286.9792,111.7986,291.1458,118.0486,295.3125,111.7986,291.1458,105.5486" style="stroke:#78C2AD;stroke-width:3.125;fill:none;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="8.3333" x="275.2018" y="198.5373">4</text><!--MD5=[17488501a7bed181c851ca0c615fb4f2]
link Object07 to Object08--><path codeLine="24" d="M435.9375,105.5486 C435.9375,128.934 435.9375,166.1423 435.9375,195.059 " fill="none" id="Object07-Object08" style="stroke:#78C2AD;stroke-width:3.125;stroke-dasharray:7.0,7.0;"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="78.125" x="442.1875" y="155.5949">some labels</text><!--MD5=[aa1947d14b8089b6e746f06bb25d5160]
@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 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 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 Object Diagram - minty 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>