SequenceDiagram/scripts/sequence/test-images/DividerMasking.svg

20 lines
10 KiB
XML

<svg width="150.45073318481445" height="279.20000000000005" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-15 -5 150.45073318481445 279.20000000000005"><metadata>begin A, B
if
begin reference over A: C as C
B -&gt; ...self
A -&gt; ...lin
divider tear with height 20: tear
sim:
...lin -&gt; B: Link
simultaneously with sim:
A -&gt; ...lin
divider delay with height 20: delay
...lin -&gt; B: Link
...self -&gt; B
end C
end
</metadata><defs></defs><defs><mask id="R0FullMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-15" y="-5" width="150.45073318481445" height="279.20000000000005"></rect><rect x="48.335238456726074" y="111.2" width="23.780256271362305" height="14.4" fill="#000000"></rect><path d="M-10 109.4L-7 107.4L-4 109.4L-1 107.4L2 109.4L5 107.4L8 109.4L11 107.4L14 109.4L17 107.4L20 109.4L23 107.4L26 109.4L29 107.4L32 109.4L35 107.4L38 109.4L41 107.4L44 109.4L47 107.4L50 109.4L53 107.4L56 109.4L59 107.4L62 109.4L65 107.4L68 109.4L71 107.4L74 109.4L77 107.4L80 109.4L83 107.4L86 109.4L89 107.4L92 109.4L95 107.4L98 109.4L101 107.4L104 109.4L107 107.4L110 109.4L113 107.4L116 109.4L119 107.4L122 109.4L125 107.4L130.45073318481445 128.4L125 127.4L122 129.4L119 127.4L116 129.4L113 127.4L110 129.4L107 127.4L104 129.4L101 127.4L98 129.4L95 127.4L92 129.4L89 127.4L86 129.4L83 127.4L80 129.4L77 127.4L74 129.4L71 127.4L68 129.4L65 127.4L62 129.4L59 127.4L56 129.4L53 127.4L50 129.4L47 127.4L44 129.4L41 127.4L38 129.4L35 127.4L32 129.4L29 127.4L26 129.4L23 127.4L20 129.4L17 127.4L14 129.4L11 127.4L8 129.4L5 127.4L2 129.4L-1 127.4L-4 129.4L-7 127.4L-10 129.4" fill="#000000"></path><rect x="45.666260719299316" y="169.60000000000002" width="29.11821174621582" height="14.4" fill="#000000"></rect><g><rect x="0" y="166.8" width="120.45073318481445" height="2" fill="#000000"></rect><rect x="0" y="169.8" width="120.45073318481445" height="2" fill="#000000"></rect><rect x="0" y="172.8" width="120.45073318481445" height="2" fill="#000000"></rect><rect x="0" y="175.8" width="120.45073318481445" height="2" fill="#000000"></rect><rect x="0" y="178.8" width="120.45073318481445" height="2" fill="#000000"></rect><rect x="0" y="181.8" width="120.45073318481445" height="2" fill="#000000"></rect><rect x="0" y="184.8" width="120.45073318481445" height="2" fill="#000000"></rect></g></mask><mask id="R0LineMask" maskUnits="userSpaceOnUse"><rect fill="#FFFFFF" x="-15" y="-5" width="150.45073318481445" height="279.20000000000005"></rect><rect x="37.50486469268799" y="51.300000000000004" width="13.77529525756836" height="11.4" fill="#000000"></rect><rect x="59.78015995025635" y="113.7" width="20.670573234558105" height="11.4" fill="#000000" transform="rotate(59.28235843810148 70.1154465675354,125.10000000000001)"></rect><rect x="59.78015995025635" y="172.1" width="20.670573234558105" height="11.4" fill="#000000" transform="rotate(54.79927137340407 70.1154465675354,183.5)"></rect><rect x="20" y="51.300000000000004" width="31.280159950256348" height="185.9" fill="#000000" stroke="none" stroke-width="1.5" rx="2" ry="2"></rect></mask><linearGradient id="R0tear-grad"><stop offset="3.5599671761205167%" stop-color="#000000"></stop><stop offset="10.67990152836155%" stop-color="#FFFFFF"></stop><stop offset="89.32009847163845%" stop-color="#FFFFFF"></stop><stop offset="96.44003282387948%" stop-color="#000000"></stop></linearGradient><mask maskUnits="userSpaceOnUse" id="R0P1"><rect x="-10" y="103.4" width="140.45073318481445" height="30" fill="url(#R0tear-grad)"></rect><rect x="48.335238456726074" y="112.2" width="23.780256271362305" height="12.4" rx="2" ry="2" fill="#000000"></rect></mask></defs><g><rect x="20" y="51.300000000000004" width="31.280159950256348" height="185.9" fill="#FFFFFF" stroke="none" stroke-width="1.5" rx="2" ry="2"></rect></g><g mask="url(#R0FullMask)"><g mask="url(#R0LineMask)"><line x1="30" y1="25.6" x2="30" y2="269.20000000000005" class="agent-3-line" fill="none" stroke="#000000" stroke-width="1"></line><line x1="88.95073318481445" y1="25.6" x2="88.95073318481445" y2="269.20000000000005" class="agent-5-line" fill="none" stroke="#000000" stroke-width="1"></line></g><g><g><g><path d="M21.49754762649536 35.6L21.49754762649536 46.300000000000004L19.49754762649536 48.300000000000004L10 48.300000000000004L10 35.6" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M21.49754762649536 35.6L21.49754762649536 46.300000000000004L19.49754762649536 48.300000000000004L10 48.300000000000004" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="10" y="35.6" width="100.45073318481445" height="213.60000000000002" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g><g><g><path d="M37.50486469268799 51.300000000000004L37.50486469268799 62L35.50486469268799 64L20 64L20 51.300000000000004" fill="#FFFFFF" stroke="none" stroke-width="1" rx="2" ry="2"></path><path d="M37.50486469268799 51.300000000000004L37.50486469268799 62L35.50486469268799 64L20 64" fill="none" stroke="#000000" stroke-width="1" rx="2" ry="2"></path></g><rect x="20" y="51.300000000000004" width="31.280159950256348" height="185.9" fill="none" stroke="#000000" stroke-width="1.5" rx="2" ry="2"></rect></g></g><g><g class="region focus"><rect x="15.998405933380127" y="0" width="28.003188133239746" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="15.998405933380127" y="0" width="28.003188133239746" height="25.6" fill="transparent" class="outline"></rect><text x="30" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">A</text></g><g class="region focus"><rect x="74.94913911819458" y="0" width="28.003188133239746" height="25.6" fill="#FFFFFF" stroke="#000000" stroke-width="1"></rect><rect x="74.94913911819458" y="0" width="28.003188133239746" height="25.6" fill="transparent" class="outline"></rect><text x="88.95073318481445" font-family="sans-serif" font-size="12" line-height="1.3" text-anchor="middle" y="17">B</text></g><g class="region"><rect x="10" y="35.6" width="100.45073318481445" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="13" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="45.6">if</text></g><g class="region"><rect x="20" y="51.300000000000004" width="31.280159950256348" height="12.700000000000001" fill="transparent" class="outline"></rect><text x="23" font-family="sans-serif" font-weight="bold" font-size="9" line-height="1.3" text-anchor="left" y="61.300000000000004">ref</text><text x="42.50486469268799" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="left" y="60.300000000000004">C</text></g><g class="region"><path d="M51.28015995025635 93.4L87.41831024953498 154.2209149010881" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="81.84281597194891 154.62571554412727 88.69532936226787 156.3701524835147 90.43976630165525 149.51763909319573" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M51.28015995025635,80L88.95073318481445,143.4L88.95073318481445,161.8L51.28015995025635,98.4Z" fill="transparent" class="outline"></path><g transform="rotate(59.28235843810148 70.1154465675354,125.10000000000001)"><text x="70.1154465675354" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="middle" y="121.7">Link</text></g></g><g class="region"><path d="M51.28015995025635 156.8L87.22140506171385 207.74858729654648" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="81.69461045337412 208.5879569155029 88.66251183096435 209.7914312160911 89.86598613155256 202.82352983850086" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon><path d="M51.28015995025635,143.4L88.95073318481445,196.8L88.95073318481445,215.20000000000002L51.28015995025635,161.8Z" fill="transparent" class="outline"></path><g transform="rotate(54.79927137340407 70.1154465675354,183.5)"><text x="70.1154465675354" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="middle" y="180.1">Link</text></g></g><g class="region"><rect x="88.95073318481445" y="67" width="12" height="158.20000000000002" fill="transparent" class="outline"></rect><path d="M88.95073318481445 70L94.95073318481445 70A6 6 0 0 1 100.95073318481445 76L100.95073318481445 214.20000000000002A6 6 0 0 1 94.95073318481445 220.20000000000002L91.95073318481445 220.20000000000002" fill="none" stroke="#000000" stroke-width="1"></path><polygon points="94.45073318481445 215.20000000000002 89.45073318481445 220.20000000000002 94.45073318481445 225.20000000000002" fill="#000000" stroke-width="0" stroke-linejoin="miter"></polygon></g><g class="region"><rect x="25" y="259.20000000000005" width="10" height="10" fill="transparent" class="outline"></rect></g><g class="region"><rect x="83.95073318481445" y="259.20000000000005" width="10" height="10" fill="transparent" class="outline"></rect></g></g></g><g><g class="region"><rect x="-10" y="103.4" width="140.45073318481445" height="30" fill="transparent" class="outline"></rect><g mask="url(#R0P1)"><path d="M-10 109.4L-7 107.4L-4 109.4L-1 107.4L2 109.4L5 107.4L8 109.4L11 107.4L14 109.4L17 107.4L20 109.4L23 107.4L26 109.4L29 107.4L32 109.4L35 107.4L38 109.4L41 107.4L44 109.4L47 107.4L50 109.4L53 107.4L56 109.4L59 107.4L62 109.4L65 107.4L68 109.4L71 107.4L74 109.4L77 107.4L80 109.4L83 107.4L86 109.4L89 107.4L92 109.4L95 107.4L98 109.4L101 107.4L104 109.4L107 107.4L110 109.4L113 107.4L116 109.4L119 107.4L122 109.4L125 107.4" fill="none" stroke="#000000"></path><path d="M-10 129.4L-7 127.4L-4 129.4L-1 127.4L2 129.4L5 127.4L8 129.4L11 127.4L14 129.4L17 127.4L20 129.4L23 127.4L26 129.4L29 127.4L32 129.4L35 127.4L38 129.4L41 127.4L44 129.4L47 127.4L50 129.4L53 127.4L56 129.4L59 127.4L62 129.4L65 127.4L68 129.4L71 127.4L74 129.4L77 127.4L80 129.4L83 127.4L86 129.4L89 127.4L92 129.4L95 127.4L98 129.4L101 127.4L104 129.4L107 127.4L110 129.4L113 127.4L116 129.4L119 127.4L122 129.4L125 127.4" fill="none" stroke="#000000"></path></g><text x="60.22536659240723" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="middle" y="121.2">tear</text></g><g class="region"><rect x="0" y="166.8" width="120.45073318481445" height="20" fill="transparent" class="outline"></rect><text x="60.22536659240723" font-family="sans-serif" font-size="8" line-height="1.3" text-anchor="middle" y="179.60000000000002">delay</text></g></g></svg>