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/e6894a0580637ce71abae3fc8e121694 to your computer and use it in GitHub Desktop.
Save kkeisuke/e6894a0580637ce71abae3fc8e121694 to your computer and use it in GitHub Desktop.
ユースケース図のテンプレート
@startuml
actor A
actor B
A -up-> (up)
A -right-> (center)
A -down-> (down)
A -left-> (left)
B -up-> (up)
B -left-> (center)
B -right-> (right)
B -down-> (down)
@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="280px" preserveAspectRatio="none" style="width:372px;height:280px;" version="1.1" viewBox="0 0 372 280" width="372px" zoomAndPan="magnify"><defs><filter height="300%" id="f1ns2gr0kyxuxs" 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><!--entity A--><ellipse cx="92.5" cy="106.5" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="8" ry="8" style="stroke: #A80036; stroke-width: 2.0;"/><path d="M92.5,114.5 L92.5,141.5 M79.5,122.5 L105.5,122.5 M92.5,141.5 L79.5,156.5 M92.5,141.5 L105.5,156.5 " fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" style="stroke: #A80036; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="9" x="88" y="176.4951">A</text><!--entity B--><ellipse cx="262.5" cy="106.5" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="8" ry="8" style="stroke: #A80036; stroke-width: 2.0;"/><path d="M262.5,114.5 L262.5,141.5 M249.5,122.5 L275.5,122.5 M262.5,141.5 L249.5,156.5 M262.5,141.5 L275.5,156.5 " fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" style="stroke: #A80036; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="10" x="257.5" y="176.4951">B</text><ellipse cx="177.3421" cy="21.8737" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="16.5921" ry="13.8737" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="18" x="168.3421" y="26.5221">up</text><ellipse cx="176.8198" cy="138.0236" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="34.8198" ry="14.5236" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="45" x="154.3198" y="142.6721">center</text><ellipse cx="177.3701" cy="255.0236" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="29.8701" ry="14.5236" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="38" x="158.3701" y="259.6721">down</text><ellipse cx="23.8492" cy="138.0236" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="17.8492" ry="14.5236" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="21" x="13.3492" y="142.6721">left</text><ellipse cx="336.9203" cy="138.0236" fill="#FEFECE" filter="url(#f1ns2gr0kyxuxs)" rx="24.9203" ry="14.5236" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="31" x="321.4203" y="142.6721">right</text><!--link up to A--><path d="M165.469,38.465 C150.216,58.922 123.322,94.991 106.648,117.354 " fill="none" id="up-A" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="168.539,34.348,159.9527,39.1726,165.5504,38.3566,166.3664,43.9542,168.539,34.348" style="stroke: #A80036; stroke-width: 1.0;"/><!--link A to center--><path d="M106.609,138 C116.6,138 126.59,138 136.58,138 " fill="none" id="A-center" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="141.805,138,132.805,134,136.805,138,132.805,142,141.805,138" style="stroke: #A80036; stroke-width: 1.0;"/><!--link A to down--><path d="M106.612,158.769 C122.92,180.8325 149.035,216.1654 164.453,237.0251 " fill="none" id="A-down" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="167.574,241.2467,165.4417,231.6314,164.6023,237.2256,159.0081,236.3862,167.574,241.2467" style="stroke: #A80036; stroke-width: 1.0;"/><!--link left to A--><path d="M47.2745,138 C57.2413,138 67.208,138 77.1748,138 " fill="none" id="left-A" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="42.0625,138,51.0625,142,47.0625,138,51.0625,134,42.0625,138" style="stroke: #A80036; stroke-width: 1.0;"/><!--link up to B--><path d="M188.531,38.465 C203.784,58.922 230.678,94.991 247.352,117.354 " fill="none" id="up-B" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="185.461,34.348,187.6336,43.9542,188.4496,38.3566,194.0473,39.1726,185.461,34.348" style="stroke: #A80036; stroke-width: 1.0;"/><!--link center to B--><path d="M217.393,138 C227.334,138 237.274,138 247.214,138 " fill="none" id="center-B" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="212.195,138,221.195,142,217.195,138,221.195,134,212.195,138" style="stroke: #A80036; stroke-width: 1.0;"/><!--link B to right--><path d="M276.648,138 C286.552,138 296.456,138 306.36,138 " fill="none" id="B-right" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="311.539,138,302.539,134,306.539,138,302.539,142,311.539,138" style="stroke: #A80036; stroke-width: 1.0;"/><!--link B to down--><path d="M247.388,158.769 C231.08,180.8325 204.965,216.1654 189.547,237.0251 " fill="none" id="B-down" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="186.426,241.2467,194.9919,236.3862,189.3977,237.2256,188.5583,231.6314,186.426,241.2467" style="stroke: #A80036; stroke-width: 1.0;"/></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment