SequenceDiagram/spec/images/Reference.svg

21 lines
14 KiB
XML

<svg width="253.00646114349365" height="286.4" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-5 -5 253.00646114349365 286.4"><metadata>begin A, B, C, D, E, F
begin reference over B, C: My ref as R
simultaneously:
begin reference over D, E: Other ref as S
if
A -&gt; R
R -&gt; A
end
if
R -&gt; S
S -&gt; R
end
if
S -&gt; F
F -&gt; S
end
* -&gt; R
R &lt;- *
end R, S
</metadata><defs></defs><defs><mask id="R0LineMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-5" y="-5" width="253.00646114349365" height="286.4"></rect><rect x="69.50854539871216" y="35.6" width="30.219194412231445" height="11.4" fill="#000000"></rect><rect x="150.84322452545166" y="35.6" width="39.561485290527344" height="11.4" fill="#000000"></rect><rect x="52.005454540252686" y="35.6" width="58.3346791267395" height="220.79999999999998" fill="#000000" stroke="none" stroke-width="1.5" rx="2" ry="2"></rect><rect x="133.3401336669922" y="35.6" width="58.3346791267395" height="220.79999999999998" fill="#000000" stroke="none" stroke-width="1.5" rx="2" ry="2"></rect></mask></defs><g><rect x="52.005454540252686" y="35.6" width="58.3346791267395" height="220.79999999999998" fill="#FFFFFF" stroke="none" stroke-width="1.5" rx="2" ry="2"></rect><rect x="133.3401336669922" y="35.6" width="58.3346791267395" height="220.79999999999998" fill="#FFFFFF" stroke="none" stroke-width="1.5" rx="2" ry="2"></rect></g><g mask="url(#R0LineMask)"><line x1="24.00181818008423" y1="25.6" x2="24.00181818008423" y2="276.4" class="agent-2-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="62.005454540252686" y1="25.6" x2="62.005454540252686" y2="276.4" class="agent-6-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="100.34013366699219" y1="25.6" x2="100.34013366699219" y2="276.4" class="agent-7-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="143.3401336669922" y1="25.6" x2="143.3401336669922" y2="276.4" class="agent-13-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="181.6748127937317" y1="25.6" x2="181.6748127937317" y2="276.4" class="agent-14-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="219.34154605865479" y1="25.6" x2="219.34154605865479" y2="276.4" class="agent-17-line" fill="none" stroke="#000000" stroke-width="1"></line></g><g><g><g><path d="M69.50854539871216 35.6L69.50854539871216 46.300000000000004L67.50854539871216 48.300000000000004L52.005454540252686 48.300000000000004L52.005454540252686 35.6" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M69.50854539871216 35.6L69.50854539871216 46.300000000000004L67.50854539871216 48.300000000000004L52.005454540252686 48.300000000000004" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="52.005454540252686" y="35.6" width="58.3346791267395" height="220.79999999999998" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g><g><g><path d="M150.84322452545166 35.6L150.84322452545166 46.300000000000004L148.84322452545166 48.300000000000004L133.3401336669922 48.300000000000004L133.3401336669922 35.6" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M150.84322452545166 35.6L150.84322452545166 46.300000000000004L148.84322452545166 48.300000000000004L133.3401336669922 48.300000000000004" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="133.3401336669922" y="35.6" width="58.3346791267395" height="220.79999999999998" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g><g><g><path d="M25.498521327972412 51.300000000000004L25.498521327972412 62L23.498521327972412 64L14.001818180084229 64L14.001818180084229 51.300000000000004" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M25.498521327972412 51.300000000000004L25.498521327972412 62L23.498521327972412 64L14.001818180084229 64" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="14.001818180084229" y="51.300000000000004" width="106.33831548690796" height="47.699999999999996" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g><g><g><path d="M50.50215768814087 109L50.50215768814087 119.7L48.50215768814087 121.7L39.005454540252686 121.7L39.005454540252686 109" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M50.50215768814087 109L50.50215768814087 119.7L48.50215768814087 121.7L39.005454540252686 121.7" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="39.005454540252686" y="109" width="162.669358253479" height="47.69999999999999" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g><g><g><path d="M134.83683681488037 166.7L134.83683681488037 177.39999999999998L132.83683681488037 179.39999999999998L123.34013366699219 179.39999999999998L123.34013366699219 166.7" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M134.83683681488037 166.7L134.83683681488037 177.39999999999998L132.83683681488037 179.39999999999998L123.34013366699219 179.39999999999998" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="123.34013366699219" y="166.7" width="106.0014123916626" height="47.69999999999999" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g></g><g><rect x="10" y="0" width="28.003636360168457" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="48.00363636016846" y="0" width="28.003636360168457" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="86.00727272033691" y="0" width="28.665721893310547" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="129.0072727203369" y="0" width="28.665721893310547" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="167.67299461364746" y="0" width="28.003636360168457" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="205.67663097381592" y="0" width="27.329830169677734" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><path d="M24.00181818008423 72L49.005454540252686 72" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="46.505454540252686 77 51.505454540252686 72 46.505454540252686 67" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M52.005454540252686 87L27.00181818008423 87" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="29.50181818008423 82 24.50181818008423 87 29.50181818008423 92" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M110.34013366699219 129.7L130.3401336669922 129.7" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="127.84013366699219 134.7 132.8401336669922 129.7 127.84013366699219 124.69999999999999" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M133.3401336669922 144.7L113.34013366699219 144.7" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="115.84013366699219 139.7 110.84013366699219 144.7 115.84013366699219 149.7" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M191.6748127937317 187.39999999999998L216.34154605865479 187.39999999999998" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="213.84154605865479 192.39999999999998 218.84154605865479 187.39999999999998 213.84154605865479 182.39999999999998" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M219.34154605865479 202.39999999999998L194.6748127937317 202.39999999999998" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="197.1748127937317 197.39999999999998 192.1748127937317 202.39999999999998 197.1748127937317 207.39999999999998" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M41.005454540252686 229.39999999999998L49.005454540252686 229.39999999999998" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="46.505454540252686 234.39999999999998 51.505454540252686 229.39999999999998 46.505454540252686 224.39999999999998" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><circle cx="39.005454540252686" cy="229.39999999999998" r="2" fill="#000000" stroke="#000000" stroke-width="1"></circle><path d="M113.34013366699219 244.39999999999998L121.34013366699219 244.39999999999998" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="115.84013366699219 239.39999999999998 110.84013366699219 244.39999999999998 115.84013366699219 249.39999999999998" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><circle cx="123.34013366699219" cy="244.39999999999998" r="2" fill="#000000" stroke="#000000" stroke-width="1"></circle></g><g><g class="region"><rect x="10" y="0" width="28.003636360168457" height="25.6" fill="transparent" class="outline"></rect><text x="24.00181818008423" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">A</text></g><g class="region"><rect x="48.00363636016846" y="0" width="28.003636360168457" height="25.6" fill="transparent" class="outline"></rect><text x="62.005454540252686" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">B</text></g><g class="region"><rect x="86.00727272033691" y="0" width="28.665721893310547" height="25.6" fill="transparent" class="outline"></rect><text x="100.34013366699219" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">C</text></g><g class="region"><rect x="129.0072727203369" y="0" width="28.665721893310547" height="25.6" fill="transparent" class="outline"></rect><text x="143.3401336669922" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">D</text></g><g class="region"><rect x="167.67299461364746" y="0" width="28.003636360168457" height="25.6" fill="transparent" class="outline"></rect><text x="181.6748127937317" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">E</text></g><g class="region"><rect x="205.67663097381592" y="0" width="27.329830169677734" height="25.6" fill="transparent" class="outline"></rect><text x="219.34154605865479" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">F</text></g><g class="region"><rect x="52.005454540252686" y="35.6" width="58.3346791267395" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="55.005454540252686" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="45.6">ref</text><text x="74.50854539871216" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="left" y="44.6">My ref</text></g><g class="region"><rect x="133.3401336669922" y="35.6" width="58.3346791267395" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="136.3401336669922" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="45.6">ref</text><text x="155.84322452545166" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="left" y="44.6">Other ref</text></g><g class="region"><rect x="14.001818180084229" y="51.300000000000004" width="106.33831548690796" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="17.00181818008423" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="61.300000000000004">if</text></g><g class="region"><path d="M24.00181818008423,67L52.005454540252686,67L52.005454540252686,77L24.00181818008423,77Z" fill="transparent" class="outline"></path></g><g class="region"><path d="M52.005454540252686,82L24.00181818008423,82L24.00181818008423,92L52.005454540252686,92Z" fill="transparent" class="outline"></path></g><g class="region"><rect x="39.005454540252686" y="109" width="162.669358253479" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="42.005454540252686" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="119">if</text></g><g class="region"><path d="M110.34013366699219,124.69999999999999L133.3401336669922,124.69999999999999L133.3401336669922,134.7L110.34013366699219,134.7Z" fill="transparent" class="outline"></path></g><g class="region"><path d="M133.3401336669922,139.7L110.34013366699219,139.7L110.34013366699219,149.7L133.3401336669922,149.7Z" fill="transparent" class="outline"></path></g><g class="region"><rect x="123.34013366699219" y="166.7" width="106.0014123916626" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="126.34013366699219" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="176.7">if</text></g><g class="region"><path d="M191.6748127937317,182.39999999999998L219.34154605865479,182.39999999999998L219.34154605865479,192.39999999999998L191.6748127937317,192.39999999999998Z" fill="transparent" class="outline"></path></g><g class="region"><path d="M219.34154605865479,197.39999999999998L191.6748127937317,197.39999999999998L191.6748127937317,207.39999999999998L219.34154605865479,207.39999999999998Z" fill="transparent" class="outline"></path></g><g class="region"><path d="M41.005454540252686,224.39999999999998L52.005454540252686,224.39999999999998L52.005454540252686,234.39999999999998L41.005454540252686,234.39999999999998Z" fill="transparent" class="outline"></path></g><g class="region"><path d="M110.34013366699219,239.39999999999998L121.34013366699219,239.39999999999998L121.34013366699219,249.39999999999998L110.34013366699219,249.39999999999998Z" fill="transparent" class="outline"></path></g><g class="region"><rect x="19.00181818008423" y="266.4" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="57.005454540252686" y="266.4" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="95.34013366699219" y="266.4" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="138.3401336669922" y="266.4" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="176.6748127937317" y="266.4" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="214.34154605865479" y="266.4" width="10" height="10" fill="transparent" class="outline"></rect></g></g></svg>