demo_doc/puml/sketchy-outline/activity-ex.svg

812 lines
45 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="689.5833px" preserveAspectRatio="none" style="width:483px;height:689px;background:#00000000;" version="1.1" viewBox="0 0 483 689" width="483.3333px" zoomAndPan="magnify"><defs/><g><polygon points="16.6667,12.5,16.6667,12.7189,27.0591,12.0684,37.4516,12.7013,47.844,12.9163,58.2364,11.7569,68.6289,12.419,79.0213,12.0557,89.4138,12.1005,99.8062,12.429,110.1986,11.7798,120.5911,13.0767,130.9835,11.8435,141.376,12.294,151.7684,12.9499,162.1609,12.4106,172.5533,12.5711,182.9457,12.4667,193.3382,12.686,203.7306,12.7491,214.1231,13.1101,224.5155,13.199,234.9079,13.2076,245.3004,12.7652,255.6928,12.9829,266.0853,13.2315,276.4777,11.7488,286.8702,13.2068,297.2626,12.1911,307.655,13.0561,318.0475,11.9844,328.4399,12.4286,338.8324,13.2725,349.2248,12.4492,359.6172,12.6097,370.0097,12.8527,380.4021,12.9336,390.7946,12.4959,401.187,12.7992,411.5795,11.9037,421.9719,12.7962,432.3643,13.071,442.7568,12.9631,453.1492,13.1386,463.5417,12.5,463.4775,12.345,464.0443,12.5349,464.6376,12.7888,465.3016,13.2133,465.8726,13.4133,466.4879,13.7204,466.7065,13.8109,466.676,14.2864,466.8661,14.8533,467.2934,15.5185,467.2503,15.9888,467.7083,16.6667,467.5281,16.6667,467.9337,24.0169,467.8596,31.3672,467.9634,38.7174,467.5966,46.0677,467.7083,53.418,467.8107,53.4604,467.6537,54.0857,467.0686,54.5337,466.9453,55.173,466.7724,55.7917,466.4879,56.3642,466.5745,56.5733,465.8981,56.607,465.3709,57.0008,464.6466,56.9188,464.0409,57.1233,463.5417,57.5846,463.5417,58.1092,453.1492,56.8378,442.7568,58.1148,432.3643,57.7999,421.9719,57.3056,411.5795,57.2161,401.187,58.0625,390.7946,57.2728,380.4021,58.2012,370.0097,57.0089,359.6172,58.2278,349.2248,58.0891,338.8324,57.8398,328.4399,57.6338,318.0475,58.3415,307.655,58.2238,297.2626,57.7609,286.8702,57.864,276.4777,57.4489,266.0853,58.3309,255.6928,57.746,245.3004,57.7644,234.9079,56.9509,224.5155,57.1625,214.1231,58.1375,203.7306,58.0323,193.3382,57.5399,182.9457,57.249,172.5533,57.3566,162.1609,56.8699,151.7684,58.0167,141.376,58.355,130.9835,58.133,120.5911,58.3085,110.1986,57.4422,99.8062,57.6755,89.4138,57.1809,79.0213,57.8805,68.6289,57.8417,58.2364,58.16,47.844,57.3454,37.4516,57.4446,27.0591,58.0466,16.6667,57.5846,16.7421,57.7666,16.0093,57.1761,15.4624,57.0343,14.9187,56.9003,14.2285,56.4124,13.7204,56.3642,13.8338,56.4112,13.5591,55.8093,13.1999,55.1723,13.0338,54.6154,12.9778,54.104,12.5,53.418,12.3914,53.418,12.6094,46.0677,12.5992,38.7174,12.5402,31.3672,12.5489,24.0169,12.5,16.6667,12.5364,16.6817,12.5439,15.9945,12.8596,15.4349,13.0842,14.8376,13.4968,14.3181,13.7204,13.7204,13.7321,13.7487,14.3311,13.5282,14.8602,13.1389,15.4792,12.9665,16.0614,12.7055,16.6667,12.5" style="stroke:#4D4D4D;stroke-width:1.0416666666666667;fill:none;"/><text fill="#2E2E2E" font-family="Segoe Print" font-size="20.8333" lengthAdjust="spacing" textLength="428.125" x="26.0417" y="42.2546">Activity Diagram - sketchy-outline theme</text><polygon fill="#17A2B8" points="246.9325,73.66,245.4056,75.7464,243.5996,78.8022,241.0167,80.8615,238.3024,81.9877,236.1383,82.0854,233.3567,80.677,230.7322,79.7569,228.7401,77.8888,227.6951,75.7501,227.0754,74.0473,226.4683,71.823,225.4829,69.9089,226.2402,68.0401,226.9036,65.993,229.3933,64.3739,231.1449,62.2732,233.3129,61.5756,235.8903,60.9748,239.1955,61.3318,241.0058,62.1855,243.1105,62.5725,245.6697,65.1945,246.5618,67.9624,246.9494,69.8511,246.5104,72.9633" style="stroke:none;stroke-width:1.0416666666666667;"/><polygon points="218.2292,102.3763,218.2292,102.4493,225.5208,102.2324,232.8125,102.4434,240.1042,102.5151,247.3958,102.1286,254.6875,102.3763,254.6772,102.3514,256.4723,103.0022,258.3194,103.7788,260.2027,104.6427,261.9613,105.2055,263.8946,106.19,264.0722,106.2636,264.4552,107.9477,265.3567,109.8466,266.3214,111.7717,266.9181,113.5443,267.7083,115.3971,267.732,115.3971,267.6972,119.349,267.7703,123.3008,267.7914,127.2526,267.9117,131.2044,267.7083,135.1563,267.9
@startuml
!$THEME = "sketchy-outline"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
skinparam useBetaStyle false
skinparam handwritten true
skinparam shadowing false
!$BLUE = "#007bff"
!$INDIGO = "#6610f2"
!$PURPLE = "#6f42c1"
!$PINK = "#e83e8c"
!$RED = "#dc3545"
!$ORANGE = "#fd7e14"
!$YELLOW = "#ffc107"
!$GREEN = "#28a745"
!$TEAL = "#20c997"
!$CYAN = "#17a2b8"
!$WHITE = "#ffffff"
!$GRAY = "#868e96"
!$GRAYDARK = "#333333"
!$PRIMARY = "#333333"
!$SECONDARY = "#555555"
!$SUCCESS = "#28a745"
!$INFO = "#17a2b8"
!$WARNING = "#ffc107"
!$DANGER = "#dc3545"
!$LIGHT = "#ffffff"
!$DARK = "#555555"
!$FGCOLOR = $WHITE
!$PRIMARY_DARK = "#2e2e2e"
!$PRIMARY_LIGHT = "#474747"
!$PRIMARY_TEXT = "#2e2e2e"
!$SECONDARY_DARK = "#4d4d4d"
!$SECONDARY_LIGHT = "#666666"
!$SECONDARY_TEXT = $WHITE
!$INFO_DARK = "#1592a6"
!$INFO_LIGHT = "#2eabbf"
!$INFO_TEXT = $WHITE
!$SUCCESS_DARK = "#24963e"
!$SUCCESS_LIGHT = "#3eb058"
!$SUCCESS_TEXT = $WHITE
!$WARNING_DARK = "#e6ae06"
!$WARNING_LIGHT = "#ffc720"
!$WARNING_TEXT = $WHITE
!$DANGER_DARK = "#c6303e"
!$DANGER_LIGHT = "#e04958"
!$DANGER_TEXT = $WHITE
!$DARK_DARK = "#4d4d4d"
!$DARK_LIGHT = "#666666"
!$LIGHT_DARK = "#e6e6e6"
!$LIGHT_LIGHT = "#ffffff"
!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 $BGCOLOR
!endprocedure
skinparam defaultFontName "Segoe Print"
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 $BGCOLOR
CBorderColor $SECONDARY_DARK
ABackgroundColor $BGCOLOR
ABorderColor $SUCCESS_DARK
IBackgroundColor $BGCOLOR
IBorderColor $DANGER_DARK
EBackgroundColor $BGCOLOR
EBorderColor $WARNING_DARK
NBackgroundColor $BGCOLOR
NBorderColor $INFO_DARK
}
skinparam title {
FontColor $PRIMARY_TEXT
BorderColor $SECONDARY_DARK
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $BGCOLOR
}
skinparam legend {
BackgroundColor $BGCOLOR
BorderColor $SECONDARY_DARK
FontColor $PRIMARY_TEXT
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $BGCOLOR
TitleFontColor $PRIMARY_TEXT
}
!endsub
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $SUCCESS
StartColor $INFO
EndColor $INFO
DiamondBackgroundColor $BGCOLOR
DiamondBorderColor $SECONDARY_DARK
DiamondFontColor $PRIMARY_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 $PRIMARY_TEXT
}
!endsub
!startsub sequence
skinparam sequence {
BorderColor $PRIMARY
TitleFontColor $PRIMARY_TEXT
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
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 $BGCOLOR
BorderColor $DARK_DARK
FontColor $DARK_DARK
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $BGCOLOR
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $BGCOLOR
BorderColor $WARNING_DARK
FontColor $WARNING_DARK
}
!endsub
!startsub node
skinparam node {
BackgroundColor $BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor $PRIMARY_TEXT
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
HeaderBackgroundColor $BGCOLOR
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $DARK
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $PRIMARY_TEXT
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $BGCOLOR
BorderColor $PRIMARY
FontColor $PRIMARY
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $BGCOLOR
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $BGCOLOR
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 $BGCOLOR
BorderColor $INFO_DARK
FontColor $INFO_DARK
}
!endsub
!startsub file
skinparam file {
BackgroundColor $BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!if %variable_exists("$THEME")
title Activity Diagram - $THEME theme
!else
title Activity Diagram
!endif
'skinparam BackgroundColor black
start
:start;
fork
partition "My Partition" {
:foo1;
:foo2;
}
fork again
:foo3;
note right: Note
detach
endfork
if (foo4) then (yes)
:foo5;
detach
else (no)
stop
endif
:foo6;
detach
:foo7;
stop
@enduml
@startuml
skinparam backgroundColor transparent
skinparam useBetaStyle false
skinparam handwritten true
skinparam shadowing false
skinparam defaultFontName "Segoe Print"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 8
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 5
skinparam ArrowColor #555555
skinparam stereotype {
CBackgroundColor transparent
CBorderColor #4d4d4d
ABackgroundColor transparent
ABorderColor #24963e
IBackgroundColor transparent
IBorderColor #c6303e
EBackgroundColor transparent
EBorderColor #e6ae06
NBackgroundColor transparent
NBorderColor #1592a6
}
skinparam title {
FontColor #2e2e2e
BorderColor #4d4d4d
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor transparent
}
skinparam legend {
BackgroundColor transparent
BorderColor #4d4d4d
FontColor #2e2e2e
}
skinparam swimlane {
BorderColor #17a2b8
BorderThickness 2
TitleBackgroundColor transparent
TitleFontColor #2e2e2e
}
skinparam activity {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
BarColor #28a745
StartColor #17a2b8
EndColor #17a2b8
DiamondBackgroundColor transparent
DiamondBorderColor #4d4d4d
DiamondFontColor #2e2e2e
}
skinparam participant {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
ParticipantBorderThickness 2
}
skinparam actor {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam arrow {
Thickness 3
Color #333333
FontColor #2e2e2e
}
skinparam sequence {
BorderColor #333333
TitleFontColor #2e2e2e
BackgroundColor transparent
StartColor #333333
EndColor #333333
BoxBackgroundColor transparent
BoxBorderColor #555555
BoxFontColor #555555
LifeLineBorderColor #555555
LifeLineBorderThickness 2
LifeLineBackgroundColor #4d4d4d
GroupBorderColor #555555
GroupFontColor #555555
GroupHeaderFontColor #17a2b8
GroupBackgroundColor #555555
GroupHeaderBackgroundColor transparent
DividerBackgroundColor #555555
DividerBorderColor #555555
DividerBorderThickness 2
DividerFontColor #ffffff
ReferenceBackgroundColor transparent
ReferenceBorderColor #555555
ReferenceFontColor #555555
ReferenceHeaderFontColor #17a2b8
ReferenceHeaderBackgroundColor #555555
}
skinparam partition {
BorderColor #333333
FontColor #333333
BackgroundColor transparent
}
skinparam collections {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam control {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam entity {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam boundary {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam agent {
BackgroundColor #ffc107
BorderColor #ffc720
FontColor #555555
}
skinparam note {
BorderThickness 1
BackgroundColor #17a2b8
BorderColor #1592a6
FontColor #ffffff
}
skinparam artifact {
BackgroundColor transparent
BorderColor #4d4d4d
FontColor #4d4d4d
}
skinparam component {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam interface {
BackgroundColor transparent
BorderColor #dc3545
FontColor #555555
}
skinparam storage {
BackgroundColor transparent
BorderColor #e6ae06
FontColor #e6ae06
}
skinparam node {
BackgroundColor transparent
BorderColor #ffffff
FontColor #ffffff
}
skinparam cloud {
BackgroundColor transparent
BorderColor #F2FCFE
FontColor #2e2e2e
}
skinparam database {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam class {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
HeaderBackgroundColor transparent
StereotypeFontColor #555555
BorderThickness 1
AttributeFontColor #555555
AttributeFontSize 11
}
skinparam object {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
StereotypeFontColor #2e2e2e
BorderThickness 1
AttributeFontColor #2e2e2e
AttributeFontSize 11
}
skinparam usecase {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
BorderThickness 2
StereotypeFontColor #333333
}
skinparam rectangle {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
BorderThickness 2
StereotypeFontColor #333333
}
skinparam package {
BackgroundColor transparent
BorderColor #333333
FontColor #333333
BorderThickness 2
}
skinparam folder {
BackgroundColor transparent
BorderColor #ffc107
FontColor #ffc107
BorderThickness 2
}
skinparam frame {
BackgroundColor transparent
BorderColor #17a2b8
FontColor #17a2b8
BorderThickness 2
}
skinparam state {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
StartColor #17a2b8
EndColor #17a2b8
AttributeFontColor #ffffff
AttributeFontSize 11
}
skinparam queue {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
skinparam card {
BackgroundColor transparent
BorderColor #1592a6
FontColor #1592a6
}
skinparam file {
BackgroundColor transparent
BorderColor #ffffff
FontColor #ffffff
}
skinparam stack {
FontColor #2e2e2e
BorderColor #333333
BackgroundColor transparent
}
title Activity Diagram - sketchy-outline theme
start
:start;
fork
partition "My Partition" {
:foo1;
:foo2;
}
fork again
:foo3;
note right: Note
detach
endfork
if (foo4) then (yes)
:foo5;
detach
else (no)
stop
endif
:foo6;
detach
:foo7;
stop
@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>