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

133 lines
9.9 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="405px" preserveAspectRatio="none" style="width:586px;height:405px;background:#00000000;" version="1.1" viewBox="0 0 586 405" width="586px" zoomAndPan="magnify"><defs><filter height="300%" id="f1imqpvw7n4uae" 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><ellipse cx="120" cy="38.6982" fill="#000000" filter="url(#f1imqpvw7n4uae)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><polygon fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" points="103,68.6982,137,68.6982,149,80.6982,137,92.6982,103,92.6982,91,80.6982,103,68.6982" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="34" x="103" y="84.5063">color?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="19" x="72" y="78.104">red</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="41" x="149" y="78.104">not red</text><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="92" x="11" y="112.6982"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="72" x="21" y="133.8369">action red</text><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="33" y="166.667"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="43" y="187.8057">foo1</text><polygon fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" points="120,210.6357,132,222.6357,120,234.6357,108,222.6357,120,210.6357" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.0;" x1="5" x2="5" y1="2.7451" y2="396.542"/><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="120" x="214.5" y="112.6982"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="100" x="224.5" y="133.8369">action not red</text><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="250.5" y="166.667"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="260.5" y="187.8057">foo2</text><line style="stroke:#000000;stroke-width:2.0;" x1="195" x2="195" y1="2.7451" y2="396.542"/><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="387.5" y="254.6357"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="397.5" y="275.7744">foo3</text><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="387.5" y="308.6045"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="397.5" y="329.7432">foo4</text><line style="stroke:#000000;stroke-width:2.0;" x1="360" x2="360" y1="2.7451" y2="396.542"/><rect fill="#FEFECE" filter="url(#f1imqpvw7n4uae)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="48" x="495.5" y="362.5732"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="505.5" y="383.7119">stop</text><line style="stroke:#000000;stroke-width:2.0;" x1="469" x2="46
@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>
|Actor_For_red|
start
if (color?) is (red) then
:**action red**;
:foo1;
else (not red)
|Actor_For_no_red|
:**action not red**;
:foo2;
endif
|Next_Actor|
:foo3;
:foo4;
|Final_Actor|
: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>
|Actor_For_red|
start
if (color?) is (red) then
:**action red**;
:foo1;
else (not red)
|Actor_For_no_red|
:**action not red**;
:foo2;
endif
|Next_Actor|
:foo3;
:foo4;
|Final_Actor|
: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>