demo_doc/puml/resume-light/sequence-ex.svg
2021-06-25 21:37:59 +08:00

248 lines
30 KiB
XML

<?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="1071px" preserveAspectRatio="none" style="width:933px;height:1071px;background:#00000000;" version="1.1" viewBox="0 0 933 1071" width="933px" zoomAndPan="magnify"><defs><filter height="300%" id="f1vtmxzmrb8ymi" 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="329" x="298" y="22.6406"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="319" x="303" y="40.6357">Sequence Diagram - resume-light theme</text><rect fill="#DDDDDD" height="995" style="stroke:#A80036;stroke-width:1.0;" width="187" x="703" y="55.9375"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="114" x="739.5" y="68.0044">Internal Service</text><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="157.4688" style="stroke:#A80036;stroke-width:1.0;" width="10" x="331.5" y="266.6328"/><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="322.9375" style="stroke:#000000;stroke-width:2.0;" width="906" x="10" y="555.3047"/><rect height="164.4688" style="stroke:none;stroke-width:1.0;fill:none;" width="906" x="10" y="669.8359"/><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="77.3984" style="stroke:#000000;stroke-width:2.0;" width="886" x="20" y="749.9063"/><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="46.2656" style="stroke:#000000;stroke-width:2.0;" width="866" x="30" y="774.0391"/><rect height="43.9375" style="stroke:none;stroke-width:1.0;fill:none;" width="906" x="10" y="834.3047"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="60" x2="60" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="60" x2="60" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="60" x2="60" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="206" x2="206" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="206" x2="206" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="206" x2="206" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="336" x2="336" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="336" x2="336" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="336" x2="336" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="463" x2="463" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="463" x2="463" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="463" x2="463" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="609" x2="609" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="609" x2="609" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="609" x2="609" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="668" x2="668" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="668" x2="668" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="668" x2="668" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="730" x2="730" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="730" x2="730" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="730" x2="730" y1="490.0391" y2="964.6406"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="824" x2="824" y1="138.2344" y2="449.2344"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;stroke-dasharray:1.0,4.0;" x1="824" x2="824" y1="449.2344" y2="490.0391"/><line style="stroke:#A80036;stroke-width:1.0;fill:none;" x1="824" x2="824" y1="490.0391" y2="964.6406"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="40" y="134.9326">Foo1</text><ellipse cx="60.5" cy="64.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="8" ry="8" style="stroke:#A80036;stroke-width:2.0;"/><path d="M60.5,72.9375 L60.5,99.9375 M47.5,80.9375 L73.5,80.9375 M60.5,99.9375 L47.5,114.9375 M60.5,99.9375 L73.5,114.9375 " fill="none" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="40" y="976.6357">Foo1</text><ellipse cx="60.5" cy="989.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="8" ry="8" style="stroke:#A80036;stroke-width:2.0;"/><path d="M60.5,997.9375 L60.5,1024.9375 M47.5,1005.9375 L73.5,1005.9375 M60.5,1024.9375 L47.5,1039.9375 M60.5,1024.9375 L73.5,1039.9375 " fill="none" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="186" y="134.9326">Foo2</text><path d="M186,93.9375 L186,117.9375 M186,105.9375 L203,105.9375 " fill="none" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:2.0;"/><ellipse cx="215" cy="105.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="12" ry="12" style="stroke:#A80036;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="186" y="976.6357">Foo2</text><path d="M186,983.9375 L186,1007.9375 M186,995.9375 L203,995.9375 " fill="none" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:2.0;"/><ellipse cx="215" cy="995.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="12" ry="12" style="stroke:#A80036;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="316" y="134.9326">Foo3</text><ellipse cx="336.5" cy="105.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="12" ry="12" style="stroke:#A80036;stroke-width:2.0;"/><polygon fill="#A80036" points="332.5,93.9375,338.5,88.9375,336.5,93.9375,338.5,98.9375,332.5,93.9375" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="316" y="976.6357">Foo3</text><ellipse cx="336.5" cy="995.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="12" ry="12" style="stroke:#A80036;stroke-width:2.0;"/><polygon fill="#A80036" points="332.5,983.9375,338.5,978.9375,336.5,983.9375,338.5,988.9375,332.5,983.9375" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="443" y="134.9326">Foo4</text><ellipse cx="463.5" cy="105.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="12" ry="12" style="stroke:#A80036;stroke-width:2.0;"/><line style="stroke:#A80036;stroke-width:2.0;" x1="451.5" x2="475.5" y1="119.9375" y2="119.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="443" y="976.6357">Foo4</text><ellipse cx="463.5" cy="995.9375" fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" rx="12" ry="12" style="stroke:#A80036;stroke-width:2.0;"/><line style="stroke:#A80036;stroke-width:2.0;" x1="451.5" x2="475.5" y1="1009.9375" y2="1009.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="589" y="134.9326">Foo5</text><path d="M591.5,85.9375 C591.5,75.9375 609.5,75.9375 609.5,75.9375 C609.5,75.9375 627.5,75.9375 627.5,85.9375 L627.5,111.9375 C627.5,121.9375 609.5,121.9375 609.5,121.9375 C609.5,121.9375 591.5,121.9375 591.5,111.9375 L591.5,85.9375 " fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:1.5;"/><path d="M591.5,85.9375 C591.5,95.9375 609.5,95.9375 609.5,95.9375 C609.5,95.9375 627.5,95.9375 627.5,85.9375 " fill="none" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="589" y="976.6357">Foo5</text><path d="M591.5,989.9375 C591.5,979.9375 609.5,979.9375 609.5,979.9375 C609.5,979.9375 627.5,979.9375 627.5,989.9375 L627.5,1015.9375 C627.5,1025.9375 609.5,1025.9375 609.5,1025.9375 C609.5,1025.9375 591.5,1025.9375 591.5,1015.9375 L591.5,989.9375 " fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:1.5;"/><path d="M591.5,989.9375 C591.5,999.9375 609.5,999.9375 609.5,999.9375 C609.5,999.9375 627.5,999.9375 627.5,989.9375 " fill="none" style="stroke:#A80036;stroke-width:1.5;"/><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="49" x="644" y="98.9375"/><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="49" x="640" y="102.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="647" y="122.9326">Foo6</text><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="49" x="644" y="963.6406"/><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="49" x="640" y="967.6406"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="35" x="647" y="987.6357">Foo6</text><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="42" x="707" y="102.9375"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="28" x="714" y="122.9326">Bob</text><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="42" x="707" y="963.6406"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="28" x="714" y="983.6357">Bob</text><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="46.5938" style="stroke:#A80036;stroke-width:1.5;" width="119" x="763" y="86.6406"/><ellipse cx="781" cy="104.6406" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M783.9688,110.2813 Q783.3906,110.5781 782.75,110.7188 Q782.1094,110.875 781.4063,110.875 Q778.9063,110.875 777.5781,109.2344 Q776.2656,107.5781 776.2656,104.4531 Q776.2656,101.3281 777.5781,99.6719 Q778.9063,98.0156 781.4063,98.0156 Q782.1094,98.0156 782.75,98.1719 Q783.4063,98.3281 783.9688,98.625 L783.9688,101.3438 Q783.3438,100.7656 782.75,100.5 Q782.1563,100.2188 781.5313,100.2188 Q780.1875,100.2188 779.5,101.2969 Q778.8125,102.3594 778.8125,104.4531 Q778.8125,106.5469 779.5,107.625 Q780.1875,108.6875 781.5313,108.6875 Q782.1563,108.6875 782.75,108.4219 Q783.3438,108.1406 783.9688,107.5625 L783.9688,110.2813 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="77" x="798" y="106.6357">«Testable»</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="32" x="820.5" y="122.9326">Alice</text><rect fill="#FEFECE" filter="url(#f1vtmxzmrb8ymi)" height="46.5938" style="stroke:#A80036;stroke-width:1.5;" width="119" x="763" y="963.6406"/><ellipse cx="781" cy="981.6406" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M783.9688,987.2813 Q783.3906,987.5781 782.75,987.7188 Q782.1094,987.875 781.4063,987.875 Q778.9063,987.875 777.5781,986.2344 Q776.2656,984.5781 776.2656,981.4531 Q776.2656,978.3281 777.5781,976.6719 Q778.9063,975.0156 781.4063,975.0156 Q782.1094,975.0156 782.75,975.1719 Q783.4063,975.3281 783.9688,975.625 L783.9688,978.3438 Q783.3438,977.7656 782.75,977.5 Q782.1563,977.2188 781.5313,977.2188 Q780.1875,977.2188 779.5,978.2969 Q778.8125,979.3594 778.8125,981.4531 Q778.8125,983.5469 779.5,984.625 Q780.1875,985.6875 781.5313,985.6875 Q782.1563,985.6875 782.75,985.4219 Q783.3438,985.1406 783.9688,984.5625 L783.9688,987.2813 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="77" x="798" y="983.6357">«Testable»</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="32" x="820.5" y="999.9326">Alice</text><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="157.4688" style="stroke:#A80036;stroke-width:1.0;" width="10" x="331.5" y="266.6328"/><rect fill="#EEEEEE" height="3" style="stroke:#EEEEEE;stroke-width:1.0;" width="926" x="0" y="168.8008"/><line style="stroke:#000000;stroke-width:1.0;" x1="0" x2="926" y1="168.8008" y2="168.8008"/><line style="stroke:#000000;stroke-width:1.0;" x1="0" x2="926" y1="171.8008" y2="171.8008"/><rect fill="#EEEEEE" height="23.1328" style="stroke:#000000;stroke-width:2.0;" width="108" x="409" y="158.2344"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="89" x="415" y="174.3013">Initialization</text><polygon fill="#A80036" points="194.5,208.5,204.5,212.5,194.5,216.5,198.5,212.5" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="60.5" x2="200.5" y1="212.5" y2="212.5"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="67.5" y="207.4341">[001]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="79" x="110.5" y="207.4341">To boundary</text><polygon fill="#A80036" points="319.5,262.6328,329.5,266.6328,319.5,270.6328,323.5,266.6328" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="206.5" x2="325.5" y1="266.6328" y2="266.6328"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="213.5" y="261.5669">[002]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="63" x="256.5" y="261.5669">To control</text><rect fill="#FFFFFF" filter="url(#f1vtmxzmrb8ymi)" height="53.0703" style="stroke:#000000;stroke-width:2.0;" width="189" x="440" y="274.6328"/><polygon fill="#EEEEEE" points="440,274.6328,506,274.6328,506,281.6328,496,291.6328,440,291.6328,440,274.6328" style="stroke:#000000;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="21" x="453" y="288.6997">ref</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="92" x="490.5" y="306.7715">This can be on</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="78" x="497.5" y="320.7402">several lines</text><polygon fill="#A80036" points="451.5,349.8359,461.5,353.8359,451.5,357.8359,455.5,353.8359" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="341.5" x2="457.5" y1="353.8359" y2="353.8359"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="348.5" y="348.77">[003]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="55" x="391.5" y="348.77">To entity</text><polygon fill="#A80036" points="597.5,378.9688,607.5,382.9688,597.5,386.9688,601.5,382.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="463.5" x2="603.5" y1="382.9688" y2="382.9688"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="470.5" y="377.9028">[004]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="79" x="513.5" y="377.9028">To database</text><polygon fill="#A80036" points="352.5,390.9688,342.5,394.9688,352.5,398.9688,348.5,394.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="346.5" x2="608.5" y1="394.9688" y2="394.9688"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="358.5" y="408.0356">[005]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="39" x="401.5" y="408.0356">return</text><polygon fill="#A80036" points="217.5,420.1016,207.5,424.1016,217.5,428.1016,213.5,424.1016" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="211.5" x2="335.5" y1="424.1016" y2="424.1016"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="223.5" y="437.1685">[006]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="39" x="266.5" y="437.1685">return</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="33" x="395" y="473.4448">Some</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="58" x="432" y="473.4448">long delay</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="0" x="494" y="473.4448"/><polygon fill="#A80036" points="656.5,507.1719,666.5,511.1719,656.5,515.1719,660.5,511.1719" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="60.5" x2="662.5" y1="511.1719" y2="511.1719"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="67.5" y="506.106">[007]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="86" x="110.5" y="506.106">To collections</text><polygon fill="#A80036" points="474.5,519.1719,464.5,523.1719,474.5,527.1719,470.5,523.1719" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="468.5" x2="667.5" y1="523.1719" y2="523.1719"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="480.5" y="536.2388">[008]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="130" x="523.5" y="536.2388">$success("success")</text><path d="M10,555.3047 L79,555.3047 L79,562.3047 L69,572.3047 L10,572.3047 L10,555.3047 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="322.9375" style="stroke:#000000;stroke-width:2.0;" width="906" x="10" y="555.3047"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="19" x="25" y="568.3716">alt</text><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacing" textLength="112" x="94" y="567.5151">[successful case]</text><polygon fill="#A80036" points="812.5,589.5703,822.5,593.5703,812.5,597.5703,816.5,593.5703" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="60.5" x2="818.5" y1="593.5703" y2="593.5703"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="67.5" y="588.5044">[009]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="157" x="110.5" y="588.5044">Authentication Accepted</text><polygon fill="#A80036" points="71.5,601.5703,61.5,605.5703,71.5,609.5703,67.5,605.5703" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="65.5" x2="823.5" y1="605.5703" y2="605.5703"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="77.5" y="618.6372">[010]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="51" x="120.5" y="618.6372">success</text><path d="M675,635.7031 L675,660.7031 L815,660.7031 L815,645.7031 L805,635.7031 L675,635.7031 " fill="#FBFB77" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:1.0;"/><path d="M805,635.7031 L805,645.7031 L815,645.7031 L805,635.7031 " fill="#FBFB77" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="110" x="690" y="652.77">this is a first note</text><line style="stroke:#000000;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="10" x2="916" y1="670.8359" y2="670.8359"/><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacing" textLength="138" x="15" y="681.0464">[some kind of failure]</text><polygon fill="#A80036" points="812.5,701.7734,822.5,705.7734,812.5,709.7734,816.5,705.7734" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="60.5" x2="818.5" y1="705.7734" y2="705.7734"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="67.5" y="700.7075">[011]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="139" x="110.5" y="700.7075">Authentication Failure</text><polygon fill="#A80036" points="71.5,713.7734,61.5,717.7734,71.5,721.7734,67.5,717.7734" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="65.5" x2="823.5" y1="717.7734" y2="717.7734"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="77.5" y="730.8403">[012]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="145" x="120.5" y="730.8403">$failure("Bad request")</text><path d="M20,749.9063 L162,749.9063 L162,756.9063 L152,766.9063 L20,766.9063 L20,749.9063 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="77.3984" style="stroke:#000000;stroke-width:2.0;" width="886" x="20" y="749.9063"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="97" x="35" y="762.9731">My own label</text><path d="M30,774.0391 L107,774.0391 L107,781.0391 L97,791.0391 L30,791.0391 L30,774.0391 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="46.2656" style="stroke:#000000;stroke-width:2.0;" width="866" x="30" y="774.0391"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="32" x="45" y="787.106">loop</text><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacing" textLength="81" x="122" y="786.2495">[1000 times]</text><polygon fill="#A80036" points="71.5,791.1719,61.5,795.1719,71.5,799.1719,67.5,795.1719" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="65.5" x2="823.5" y1="795.1719" y2="795.1719"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="77.5" y="808.2388">[013]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="74" x="120.5" y="808.2388">DNS Attack</text><line style="stroke:#000000;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="10" x2="916" y1="835.3047" y2="835.3047"/><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacing" textLength="104" x="15" y="845.5151">[Just a Warning]</text><polygon fill="#A80036" points="812.5,866.2422,822.5,870.2422,812.5,874.2422,816.5,870.2422" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="60.5" x2="818.5" y1="870.2422" y2="870.2422"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="39" x="67.5" y="865.1763">[014]</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="165" x="110.5" y="865.1763">$warning("Please repeat")</text><path d="M40,890.2422 L40,945.2422 L226,945.2422 L226,900.2422 L216,890.2422 L40,890.2422 " fill="#FBFB77" filter="url(#f1vtmxzmrb8ymi)" style="stroke:#A80036;stroke-width:1.0;"/><path d="M216,890.2422 L216,900.2422 L226,900.2422 L216,890.2422 " fill="#FBFB77" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="132" x="65" y="907.3091">this is a second note</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="78" x="65" y="922.4419">that is really</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="27" x="65" y="937.5747">long</text><rect fill="none" height="11.6406" style="stroke:none;stroke-width:1.0;" width="64" x="861" y="5"/><text fill="#888888" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="64" x="861" y="14.2822">Page Header</text><rect fill="none" height="11.6406" style="stroke:none;stroke-width:1.0;" width="56" x="434.5" y="1051.9375"/><text fill="#888888" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="56" x="434.5" y="1061.2197">Page 1 of 1</text><!--MD5=[9fdae137f7303538f84437ce325734ed]
@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 Sequence Diagram - $THEME theme
!else
title Sequence Diagram
!endif
'skinparam BackgroundColor transparent
skinparam responseMessageBelowArrow true
autonumber "<b>[000]"
header Page Header
footer Page %page% of %lastpage%
actor Foo1
boundary Foo2
control Foo3
entity Foo4
database Foo5
collections Foo6
participant Bob
participant Alice << (C,#ADD1B2) Testable >>
box "Internal Service"
participant Bob
participant Alice
end box
== Initialization ==
Foo1 -> Foo2 : To boundary
|||
Foo2 -> Foo3 ++: To control
ref over Foo4, Foo5
This can be on
several lines
end ref
Foo3 -> Foo4 : To entity
Foo4 -> Foo5 : To database
Foo5 - -> Foo3 - - : return
Foo3 - -> Foo2 - -: return
... Some ~~long delay~~ ...
Foo1 -> Foo6 : To collections
Foo6 - -> Foo4: $success("success")
group alt [successful case]
Foo1 -> Alice: Authentication Accepted
Alice - -> Foo1: success
note left of Alice: this is a first note
else some kind of failure
Foo1 -> Alice: Authentication Failure
Alice - -> Foo1: $failure("Bad request")
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: $warning("Please repeat")
end
note over Foo1, Foo2
this is a second note
that is really
long
end note
@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 Sequence Diagram - resume-light theme
skinparam responseMessageBelowArrow true
autonumber "<b>[000]"
header Page Header
footer Page %page% of %lastpage%
actor Foo1
boundary Foo2
control Foo3
entity Foo4
database Foo5
collections Foo6
participant Bob
participant Alice << (C,#ADD1B2) Testable >>
box "Internal Service"
participant Bob
participant Alice
end box
== Initialization ==
Foo1 -> Foo2 : To boundary
|||
Foo2 -> Foo3 ++: To control
ref over Foo4, Foo5
This can be on
several lines
end ref
Foo3 -> Foo4 : To entity
Foo4 -> Foo5 : To database
Foo5 - -> Foo3 - - : return
Foo3 - -> Foo2 - -: return
... Some ~~long delay~~ ...
Foo1 -> Foo6 : To collections
Foo6 - -> Foo4: $success("success")
group alt [successful case]
Foo1 -> Alice: Authentication Accepted
Alice - -> Foo1: success
note left of Alice: this is a first note
else some kind of failure
Foo1 -> Alice: Authentication Failure
Alice - -> Foo1: $failure("Bad request")
group My own label
loop 1000 times
Alice -> Foo1: DNS Attack
end
end
else Just a Warning
Foo1 -> Alice: $warning("Please repeat")
end
note over Foo1, Foo2
this is a second note
that is really
long
end note
@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>