Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkeisuke/0768da3bbe08d0982ba7d737845d42b4 to your computer and use it in GitHub Desktop.
Save kkeisuke/0768da3bbe08d0982ba7d737845d42b4 to your computer and use it in GitHub Desktop.
シーケンス図を書き始めるためのテンプレート
@startuml
A -> B: step1
activate B
B -> C: step2
activate C
C --> C: action
C -> B: step3
deactivate C
B -> A: step4
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:219px;height:257px;" version="1.1" viewBox="0 0 219 257" width="219px" zoomAndPan="magnify"><defs><filter height="300%" id="f1atuac04o2lry" 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(#f1atuac04o2lry)" height="129.5313" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="81.5" y="69.2969"/><rect fill="#FFFFFF" filter="url(#f1atuac04o2lry)" height="71.2656" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="151.5" y="98.4297"/><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="86.5" x2="86.5" y1="38.2969" y2="216.9609"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="156.5" x2="156.5" y1="38.2969" y2="216.9609"/><rect fill="#FEFECE" filter="url(#f1atuac04o2lry)" 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(#f1atuac04o2lry)" 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(#f1atuac04o2lry)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="72.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="79.5" y="22.9951">B</text><rect fill="#FEFECE" filter="url(#f1atuac04o2lry)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="72.5" y="215.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="79.5" y="235.9561">B</text><rect fill="#FEFECE" filter="url(#f1atuac04o2lry)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="142.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="149.5" y="22.9951">C</text><rect fill="#FEFECE" filter="url(#f1atuac04o2lry)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="24" x="142.5" y="215.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="149.5" y="235.9561">C</text><rect fill="#FFFFFF" filter="url(#f1atuac04o2lry)" height="129.5313" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="81.5" y="69.2969"/><rect fill="#FFFFFF" filter="url(#f1atuac04o2lry)" height="71.2656" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="151.5" y="98.4297"/><polygon fill="#A80036" points="69.5,65.2969,79.5,69.2969,69.5,73.2969,73.5,69.2969" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="21.5" x2="75.5" y1="69.2969" y2="69.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="36" x="28.5" y="64.3638">step1</text><polygon fill="#A80036" points="139.5,94.4297,149.5,98.4297,139.5,102.4297,143.5,98.4297" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="91.5" x2="145.5" y1="98.4297" y2="98.4297"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="36" x="98.5" y="93.4966">step2</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="161.5" x2="203.5" y1="127.6953" y2="127.6953"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="203.5" x2="203.5" y1="127.6953" y2="140.6953"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="162.5" x2="203.5" y1="140.6953" y2="140.6953"/><polygon fill="#A80036" points="172.5,136.6953,162.5,140.6953,172.5,144.6953,168.5,140.6953" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="39" x="168.5" y="122.6294">action</text><polygon fill="#A80036" points="102.5,165.6953,92.5,169.6953,102.5,173.6953,98.5,169.6953" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="96.5" x2="155.5" y1="169.6953" y2="169.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="36" x="108.5" y="164.7622">step3</text><polygon fill="#A80036" points="32.5,194.8281,22.5,198.8281,32.5,202.8281,28.5,198.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="26.5" x2="85.5" y1="198.8281" y2="198.8281"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="36" x="38.5" y="193.895">step4</text></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment