Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yeoupooh/1a206b9c5696487016111c7b277ca6a3 to your computer and use it in GitHub Desktop.
Save yeoupooh/1a206b9c5696487016111c7b277ca6a3 to your computer and use it in GitHub Desktop.
@startuml
autonumber
A -> B: step
activate B
B -> C: step
activate C
C --> C: action
C -> B: step
deactivate C
B -> A: step
deactivate B
@enduml
Display the source blob
Display the rendered blob
Raw
<?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="257px" preserveAspectRatio="none" style="width:242px;height:257px;" version="1.1" viewBox="0 0 242 257" width="242px" zoomAndPan="magnify"><defs><filter height="300%" id="f1i0juznzln3bo" 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="#FFFFFF" filter="url(#f1i0juznzln3bo)" height="129.5313" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="86.5" y="69.4297"/><rect fill="#FFFFFF" filter="url(#f1i0juznzln3bo)" height="71.2656" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="161.5" y="98.5625"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="21" x2="21" y1="38.2969" y2="216.9609"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="91.5" x2="91.5" y1="38.2969" y2="216.9609"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="166.5" x2="166.5" y1="38.2969" y2="216.9609"/><rect fill="#FEFECE" filter="url(#f1i0juznzln3bo)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="23" x="8" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="9" x="15" y="22.9951">A</text><rect fill="#FEFECE" filter="url(#f1i0juznzln3bo)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="23" x="8" y="215.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="9" x="15" y="235.9561">A</text><rect fill="#FEFECE" filter="url(#f1i0juznzln3bo)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="77.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="84.5" y="22.9951">B</text><rect fill="#FEFECE" filter="url(#f1i0juznzln3bo)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="77.5" y="215.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="84.5" y="235.9561">B</text><rect fill="#FEFECE" filter="url(#f1i0juznzln3bo)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="152.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="159.5" y="22.9951">C</text><rect fill="#FEFECE" filter="url(#f1i0juznzln3bo)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="152.5" y="215.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="159.5" y="235.9561">C</text><rect fill="#FFFFFF" filter="url(#f1i0juznzln3bo)" height="129.5313" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="86.5" y="69.4297"/><rect fill="#FFFFFF" filter="url(#f1i0juznzln3bo)" height="71.2656" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="161.5" y="98.5625"/><polygon fill="#A80036" points="74.5,65.4297,84.5,69.4297,74.5,73.4297,78.5,69.4297" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="21.5" x2="80.5" y1="69.4297" y2="69.4297"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="28.5" y="64.3638">1</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="28" x="41.5" y="64.3638">step</text><polygon fill="#A80036" points="149.5,94.5625,159.5,98.5625,149.5,102.5625,153.5,98.5625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="96.5" x2="155.5" y1="98.5625" y2="98.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="103.5" y="93.4966">2</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="28" x="116.5" y="93.4966">step</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="171.5" x2="213.5" y1="127.6953" y2="127.6953"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="213.5" x2="213.5" y1="127.6953" y2="140.6953"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="172.5" x2="213.5" y1="140.6953" y2="140.6953"/><polygon fill="#A80036" points="182.5,136.6953,172.5,140.6953,182.5,144.6953,178.5,140.6953" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="178.5" y="122.6294">3</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="39" x="191.5" y="122.6294">action</text><polygon fill="#A80036" points="107.5,165.8281,97.5,169.8281,107.5,173.8281,103.5,169.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="101.5" x2="165.5" y1="169.8281" y2="169.8281"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="113.5" y="164.7622">4</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="28" x="126.5" y="164.7622">step</text><polygon fill="#A80036" points="32.5,194.9609,22.5,198.9609,32.5,202.9609,28.5,198.9609" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="26.5" x2="90.5" y1="198.9609" y2="198.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="38.5" y="193.895">5</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="28" x="51.5" y="193.895">step</text><!--MD5=[fbab36c4d6a6c208e048b1cf62eef866]
@startuml
autonumber
A -> B: step
activate B
B -> C: step
activate C
C - -> C: action
C -> B: step
deactivate C
B -> A: step
deactivate B
@enduml
PlantUML version 1.2019.11(Sun Sep 22 10:02:15 UTC 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_222-heroku-b10
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment