demo_doc/puml/resume-light/activity-ex.svg

158 lines
10 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="564px" preserveAspectRatio="none" style="width:321px;height:564px;background:#00000000;" version="1.1" viewBox="0 0 321 564" width="321px" zoomAndPan="magnify"><defs><filter height="300%" id="f1giw6qea45un" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="none" height="26.2969" style="stroke:none;stroke-width:1.0;" width="308" x="5" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="298" x="10" y="22.9951">Activity Diagram - resume-light theme</text><ellipse cx="158" cy="47.2969" fill="#000000" filter="url(#f1giw6qea45un)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1giw6qea45un)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="50" x="133" y="77.2969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="30" x="143" y="98.4355">start</text><rect fill="#000000" height="6" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="266" x="27.5" y="131.2656"/><rect fill="#FFFFFF" filter="url(#f1giw6qea45un)" height="151.2344" style="stroke:#000000;stroke-width:2.0;" width="94" x="39.5" y="148.0674"/><path d="M128.5,148.0674 L128.5,157.3643 L118.5,167.3643 L39.5,167.3643 " fill="none" style="stroke:#000000;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="79" x="42.5" y="162.0625">My Partition</text><rect fill="#FEFECE" filter="url(#f1giw6qea45un)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="65" y="184.3643"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="75" y="205.5029">foo1</text><rect fill="#FEFECE" filter="url(#f1giw6qea45un)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="65" y="253.333"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="75" y="274.4717">foo2</text><path d="M229.5,215.1182 L229.5,223.6846 L209.5,227.6846 L229.5,231.6846 L229.5,240.251 A0,0 0 0 0 229.5,240.251 L281.5,240.251 A0,0 0 0 0 281.5,240.251 L281.5,225.1182 L271.5,215.1182 L229.5,215.1182 A0,0 0 0 0 229.5,215.1182 " fill="#FBFB77" filter="url(#f1giw6qea45un)" style="stroke:#A80036;stroke-width:1.0;"/><path d="M271.5,215.1182 L271.5,225.1182 L281.5,225.1182 L271.5,215.1182 " fill="#FBFB77" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="31" x="235.5" y="232.1851">Note</text><rect fill="#FEFECE" filter="url(#f1giw6qea45un)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="161.5" y="210.7002"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="171.5" y="231.8389">foo3</text><rect fill="#000000" height="6" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="266" x="27.5" y="319.3018"/><rect fill="#FEFECE" filter="url(#f1giw6qea45un)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="134" y="393.7041"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="144" y="414.8428">foo5</text><polygon fill="#FEFECE" filter="url(#f1giw6qea45un)" points="145.5,345.3018,170.5,345.3018,182.5,357.3018,170.5,369.3018,145.5,369.3018,133.5,357.3018,145.5,345.3018" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#00
@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 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 {
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 Activity Diagram - resume-light 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>