Files
clang-uml/docs/test_cases/t20001_sequence.svg
2023-12-22 22:30:06 +01:00

111 lines
14 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="688px" preserveAspectRatio="none" style="width:304px;height:688px;background:#FFFFFF;" version="1.1" viewBox="0 0 304 688" width="304px" zoomAndPan="magnify">
<defs>
<style type="text/css">a:hover { text-decoration: underline; }</style>
</defs>
<g>
<text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="229" x="36.5" y="28.0059">Basic sequence diagram example</text>
<rect fill="#FFFFFF" height="515.0001" style="stroke:#181818;stroke-width:1.0;" width="10" x="76.5" y="84.5999"/>
<rect fill="#FFFFFF" height="30" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="106.1999"/>
<rect fill="#FFFFFF" height="14" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="260.9999"/>
<rect fill="#FFFFFF" height="156.2" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="369.7999"/>
<rect fill="#FFFFFF" height="25" style="stroke:#181818;stroke-width:1.0;" width="10" x="171.5" y="407.4"/>
<rect fill="#FFFFFF" height="28" style="stroke:#181818;stroke-width:1.0;" width="10" x="171.5" y="477"/>
<rect fill="#FFFFFF" height="30" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="555.6"/>
<rect fill="#FFFFFF" height="30" style="stroke:#181818;stroke-width:1.0;" width="10" x="281.5" y="165.7999"/>
<rect fill="#FFFFFF" height="259.4001" style="stroke:#181818;stroke-width:1.0;" width="10" x="281.5" y="340.1999"/>
<line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="81" x2="81" y1="74.5999" y2="653.2"/>
<line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="171" x2="171" y1="74.5999" y2="653.2"/>
<line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5.0,5.0;" x1="286" x2="286" y1="74.5999" y2="653.2"/>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L61" target="_top" title="tmain" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L61" xlink:show="new" xlink:title="tmain" xlink:type="simple">
<rect fill="#E2E2F0" height="30.7999" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="59" x="52" y="42.7999"/>
<text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="45" x="59" y="62.8059">tmain()</text>
<rect fill="#E2E2F0" height="30.7999" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="59" x="52" y="652.2"/>
<text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="45" x="59" y="672.2059">tmain()</text>
</a>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L13" target="_top" title="A" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L13" xlink:show="new" xlink:title="A" xlink:type="simple">
<rect fill="#E2E2F0" height="30.7999" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="23" x="160" y="42.7999"/>
<text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="9" x="167" y="62.8059">A</text>
<rect fill="#E2E2F0" height="30.7999" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="23" x="160" y="652.2"/>
<text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="9" x="167" y="672.2059">A</text>
</a>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L36" target="_top" title="B" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L36" xlink:show="new" xlink:title="B" xlink:type="simple">
<rect fill="#E2E2F0" height="30.7999" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="23" x="275" y="42.7999"/>
<text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="9" x="282" y="62.8059">B</text>
<rect fill="#E2E2F0" height="30.7999" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="23" x="275" y="652.2"/>
<text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="9" x="282" y="672.2059">B</text>
</a>
<rect fill="#FFFFFF" height="515.0001" style="stroke:#181818;stroke-width:1.0;" width="10" x="76.5" y="84.5999"/>
<rect fill="#FFFFFF" height="30" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="106.1999"/>
<rect fill="#FFFFFF" height="14" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="260.9999"/>
<rect fill="#FFFFFF" height="156.2" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="369.7999"/>
<rect fill="#FFFFFF" height="25" style="stroke:#181818;stroke-width:1.0;" width="10" x="171.5" y="407.4"/>
<rect fill="#FFFFFF" height="28" style="stroke:#181818;stroke-width:1.0;" width="10" x="171.5" y="477"/>
<rect fill="#FFFFFF" height="30" style="stroke:#181818;stroke-width:1.0;" width="10" x="166.5" y="555.6"/>
<rect fill="#FFFFFF" height="30" style="stroke:#181818;stroke-width:1.0;" width="10" x="281.5" y="165.7999"/>
<rect fill="#FFFFFF" height="259.4001" style="stroke:#181818;stroke-width:1.0;" width="10" x="281.5" y="340.1999"/>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L63" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L63" xlink:show="new" xlink:title="" xlink:type="simple">
<polygon fill="#181818" points="154.5,102.1999,164.5,106.1999,154.5,110.1999,158.5,106.1999" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="86.5" x2="160.5" y1="106.1999" y2="106.1999"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="17" x="93.5" y="100.6769">A()</text>
</a>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L64" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L64" xlink:show="new" xlink:title="" xlink:type="simple">
<polygon fill="#181818" points="269.5,161.7999,279.5,165.7999,269.5,169.7999,273.5,165.7999" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="86.5" x2="275.5" y1="165.7999" y2="165.7999"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="39" x="93.5" y="160.2769">B(A &amp;)</text>
</a>
<path d="M13,208.7999 L13,233.7999 L149,233.7999 L149,218.7999 L139,208.7999 L13,208.7999 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/>
<path d="M139,208.7999 L139,218.7999 L149,218.7999 L139,208.7999 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="115" x="19" y="225.8769">Just add 2 numbers</text>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L67" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L67" xlink:show="new" xlink:title="" xlink:type="simple">
<polygon fill="#181818" points="154.5,256.9999,164.5,260.9999,154.5,264.9999,158.5,260.9999" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="86.5" x2="160.5" y1="260.9999" y2="260.9999"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="61" x="93.5" y="255.4769">add(int,int)</text>
</a>
<polygon fill="#181818" points="97.5,270.9999,87.5,274.9999,97.5,278.9999,93.5,274.9999" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="91.5" x2="170.5" y1="274.9999" y2="274.9999"/>
<path d="M5,287.9999 L5,312.9999 L159,312.9999 L159,297.9999 L149,287.9999 L5,287.9999 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/>
<path d="M149,287.9999 L149,297.9999 L159,297.9999 L149,287.9999 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="133" x="11" y="305.0769">And now add another 2</text>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L70" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L70" xlink:show="new" xlink:title="" xlink:type="simple">
<polygon fill="#181818" points="269.5,336.1999,279.5,340.1999,269.5,344.1999,273.5,340.1999" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="86.5" x2="275.5" y1="340.1999" y2="340.1999"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="120" x="93.5" y="334.6769">wrap_add3(int,int,int)</text>
</a>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L52" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L52" xlink:show="new" xlink:title="" xlink:type="simple">
<polygon fill="#181818" points="187.5,365.7999,177.5,369.7999,187.5,373.7999,183.5,369.7999" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="181.5" x2="280.5" y1="369.7999" y2="369.7999"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="86" x="193.5" y="364.2769">add3(int,int,int)</text>
</a>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L25" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L25" xlink:show="new" xlink:title="" xlink:type="simple">
<line style="stroke:#181818;stroke-width:1.0;" x1="176.5" x2="223.5" y1="394.4" y2="394.4"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="223.5" x2="223.5" y1="394.4" y2="407.4"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="182.5" x2="223.5" y1="407.4" y2="407.4"/>
<polygon fill="#181818" points="192.5,403.4,182.5,407.4,192.5,411.4,188.5,407.4" style="stroke:#181818;stroke-width:1.0;"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="61" x="188.5" y="388.877">add(int,int)</text>
</a>
<line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="181.5" x2="223.5" y1="431.4" y2="431.4"/>
<line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="223.5" x2="223.5" y1="431.4" y2="444.4"/>
<line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="176.5" x2="223.5" y1="444.4" y2="444.4"/>
<polygon fill="#181818" points="186.5,440.4,176.5,444.4,186.5,448.4,182.5,444.4" style="stroke:#181818;stroke-width:1.0;"/>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L26" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L26" xlink:show="new" xlink:title="" xlink:type="simple">
<line style="stroke:#181818;stroke-width:1.0;" x1="181.5" x2="223.5" y1="469" y2="469"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="223.5" x2="223.5" y1="469" y2="482"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="182.5" x2="223.5" y1="482" y2="482"/>
<polygon fill="#181818" points="192.5,478,182.5,482,192.5,486,188.5,482" style="stroke:#181818;stroke-width:1.0;"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" text-decoration="underline" textLength="78" x="188.5" y="463.477">log_result(int)</text>
</a>
<polygon fill="#181818" points="269.5,522,279.5,526,269.5,530,273.5,526" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="171.5" x2="275.5" y1="526" y2="526"/>
<a href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L53" target="_top" title="" xlink:actuate="onRequest" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t20001/t20001.cc#L53" xlink:show="new" xlink:title="" xlink:type="simple">
<polygon fill="#181818" points="187.5,551.6,177.5,555.6,187.5,559.6,183.5,555.6" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;" x1="181.5" x2="280.5" y1="555.6" y2="555.6"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" text-decoration="underline" textLength="78" x="193.5" y="550.077">log_result(int)</text>
</a>
<polygon fill="#181818" points="92.5,595.6,82.5,599.6,92.5,603.6,88.5,599.6" style="stroke:#181818;stroke-width:1.0;"/>
<line style="stroke:#181818;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="86.5" x2="285.5" y1="599.6" y2="599.6"/>
<path d="M19,612.6 L19,637.6 L144,637.6 L144,622.6 L134,612.6 L19,612.6 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/>
<path d="M134,612.6 L134,622.6 L144,622.6 L134,612.6 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/>
<text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="104" x="25" y="629.677">Main test function</text>
</g>
</svg>