Files
codejava.tech/public/courses/prog-intro/lectures/assets/edge-case-for-link-counting.svg
2026-02-21 17:26:43 +03:00

4 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="161px" height="41px" viewBox="0 0 161 41" content="&lt;mxfile host=&quot;app.diagrams.net&quot; agent=&quot;Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0&quot; version=&quot;29.5.1&quot; scale=&quot;1&quot; border=&quot;0&quot;&gt;&#xA; &lt;diagram name=&quot;Page-1&quot; id=&quot;n_F8ms3vk5KN8baYtN9D&quot;&gt;&#xA; &lt;mxGraphModel dx=&quot;975&quot; dy=&quot;458&quot; grid=&quot;1&quot; gridSize=&quot;10&quot; guides=&quot;1&quot; tooltips=&quot;1&quot; connect=&quot;1&quot; arrows=&quot;1&quot; fold=&quot;1&quot; page=&quot;1&quot; pageScale=&quot;1&quot; pageWidth=&quot;850&quot; pageHeight=&quot;1100&quot; math=&quot;0&quot; shadow=&quot;0&quot;&gt;&#xA; &lt;root&gt;&#xA; &lt;mxCell id=&quot;0&quot; /&gt;&#xA; &lt;mxCell id=&quot;1&quot; parent=&quot;0&quot; /&gt;&#xA; &lt;mxCell id=&quot;gaOJnBhofgnIcte16_CY-23&quot; edge=&quot;1&quot; parent=&quot;1&quot; source=&quot;gaOJnBhofgnIcte16_CY-21&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;&quot; target=&quot;gaOJnBhofgnIcte16_CY-22&quot;&gt;&#xA; &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&#xA; &lt;/mxCell&gt;&#xA; &lt;mxCell id=&quot;gaOJnBhofgnIcte16_CY-21&quot; parent=&quot;1&quot; style=&quot;swimlane;whiteSpace=wrap;html=1;startSize=20;&quot; value=&quot;A&quot; vertex=&quot;1&quot;&gt;&#xA; &lt;mxGeometry height=&quot;40&quot; width=&quot;40&quot; x=&quot;200&quot; y=&quot;240&quot; as=&quot;geometry&quot; /&gt;&#xA; &lt;/mxCell&gt;&#xA; &lt;mxCell id=&quot;gaOJnBhofgnIcte16_CY-24&quot; edge=&quot;1&quot; parent=&quot;1&quot; source=&quot;gaOJnBhofgnIcte16_CY-22&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;&quot; target=&quot;gaOJnBhofgnIcte16_CY-21&quot;&gt;&#xA; &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&#xA; &lt;/mxCell&gt;&#xA; &lt;mxCell id=&quot;gaOJnBhofgnIcte16_CY-22&quot; parent=&quot;1&quot; style=&quot;swimlane;whiteSpace=wrap;html=1;startSize=20;&quot; value=&quot;B&quot; vertex=&quot;1&quot;&gt;&#xA; &lt;mxGeometry height=&quot;40&quot; width=&quot;40&quot; x=&quot;320&quot; y=&quot;240&quot; as=&quot;geometry&quot; /&gt;&#xA; &lt;/mxCell&gt;&#xA; &lt;/root&gt;&#xA; &lt;/mxGraphModel&gt;&#xA; &lt;/diagram&gt;&#xA;&lt;/mxfile&gt;&#xA;"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="gaOJnBhofgnIcte16_CY-23"><g transform="translate(0.5,0.5)"><path d="M 40 10 L 113.63 10" fill="none" stroke="#000000" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 118.88 10 L 111.88 13.5 L 113.63 10 L 111.88 6.5 Z" fill="#000000" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/></g></g><g data-cell-id="gaOJnBhofgnIcte16_CY-21"><g transform="translate(0.5,0.5)"><path d="M 0 20 L 0 0 L 40 0 L 40 20" fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 0 20 L 0 40 L 40 40 L 40 20" fill="none" stroke="#000000" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke-miterlimit="10" pointer-events="none"/><path d="M 0 20 L 40 20" fill="none" stroke="#000000" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke-miterlimit="10" pointer-events="none"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 38px; height: 1px; padding-top: 10px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: light-dark(#000000, #ffffff); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">A</div></div></div></foreignObject><image x="1" y="-1.5" width="38" height="27" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAABsCAYAAACWwXsuAAAFy0lEQVR4Xu2cWcgcRRSFE3FBRc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BzXz/gmeLHFgPW2hrhFVC2fwMATrKMKN8h5GHHvwJGnMt4Z1YFyuwHrbW5zk7taHoTh+obivwe/MwNfniu7vWEfkm6lA8a7Do/n7BeoyzP5rzRUnSDxoGK1fADDGQ37kHQrHbCzoOrbgbJcv+KX/u0NVT8Hfm8Gvty/5B7nrw37kXMrHbA7oOjKQNXNsJ04htr79++EewWf4T4m9zOLLKUDxv3CywPlH4KNvwk2TtkA52g65P4mf6WnyFI6YNdC9dWB8vNge3dMIvhS7tRLIYMfHTzLP2aXk+9eOmB7QsI7UZei8qgzX0d7AJVPkOMWTo+E9UJU/nAdfwWRpzCeGrcjJf/SAVPSMmUuBiylLDpBGTAdLVNmYsBSyqITlAHT0TJlJgYspSw6QRkwHS1TZmLAUsqiE5QB09EyZSYGLKUsOkEZMB0tU2ZiwFLKohOUAdPRMmUmBiylLDpBGTAdLVNmYsBSyqITlAHT0TJlJgYspSw6QRkwHS1TZmLAUsqiE5QB09EyZSYGLKUsOkEZMB0tU2ZiwFLKohOUAdPRMmUmBiylLDpBGTAdLVNmYsBSyqITlAHT0TJlJgYspSw6QRkwHS1TZmLAUsqiE5QB09EyZSYGLKUsOkEZMB0tU2ZiwFLKohOUAdPRMmUmBiylLDpBGTAdLVNmYsBSyqITlAHT0TJlJgYspSw6QRkwHS1TZmLAUsqiE5QB09EyZSYGLKUsOkEZMB0tU2ZiwFLKohOUAdPRMmUmBiylLDpBGTAdLVNmYsBSyqITlAHT0TJlJgYspSw6QRkwHS1TZmLAUsqiE5QB09EyZSYGLKUsOkEZMB0tU2ZiwFLKohOUAdPRMmUmBiylLDpBGTAdLVNmsgtqCoFt3nZMLgAAAABJRU5ErkJggg=="/></switch></g></g></g><g data-cell-id="gaOJnBhofgnIcte16_CY-24"><g transform="translate(0.5,0.5)"><path d="M 120 30 L 46.37 30" fill="none" stroke="#000000" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 41.12 30 L 48.12 26.5 L 46.37 30 L 48.12 33.5 Z" fill="#000000" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/></g></g><g data-cell-id="gaOJnBhofgnIcte16_CY-22"><g transform="translate(0.5,0.5)"><path d="M 120 20 L 120 0 L 160 0 L 160 20" fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 120 20 L 120 40 L 160 40 L 160 20" fill="none" stroke="#000000" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke-miterlimit="10" pointer-events="none"/><path d="M 120 20 L 160 20" fill="none" stroke="#000000" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));" stroke-miterlimit="10" pointer-events="none"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 38px; height: 1px; padding-top: 10px; margin-left: 121px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: light-dark(#000000, #ffffff); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">B</div></div></div></foreignObject><image x="121" y="-1.5" width="38" height="27" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAABsCAYAAACWwXsuAAAE3klEQVR4Xu2cS6hNexzHHXUV7lUeZUYRCVcMRB4TGZFI3Twm14RuChNueQ48SgaKuoOLiQEDM3UxYXBJ3SsGZILiGHkkb11ueXx/rX3Qbq3l2Pv/Hez9//zr29lnrb2+nf1Zn7PWXmuvtXsG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