Files
infocom-systems-design/labs/lab1/2.svg
2025-09-30 14:14:52 +03:00

1 line
11 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="SEQUENCE" height="444px" preserveAspectRatio="none" style="width:846px;height:444px;background:#FFFFFF;" version="1.1" viewBox="0 0 846 444" width="846px" zoomAndPan="magnify"><defs/><g><g><title>User</title><rect fill="#000000" fill-opacity="0.00000" height="282.1953" width="8" x="19.9551" y="81.2969"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="23" x2="23" y1="81.2969" y2="363.4922"/></g><g><title>IFacade</title><rect fill="#000000" fill-opacity="0.00000" height="282.1953" width="8" x="185.9902" y="81.2969"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="189.7217" x2="189.7217" y1="81.2969" y2="363.4922"/></g><g><title>NoteFacade</title><rect fill="#000000" fill-opacity="0.00000" height="282.1953" width="8" x="352.0254" y="81.2969"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="355.251" x2="355.251" y1="81.2969" y2="363.4922"/></g><g><title>EncryptionService</title><rect fill="#000000" fill-opacity="0.00000" height="282.1953" width="8" x="509.4023" y="81.2969"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="512.9512" x2="512.9512" y1="81.2969" y2="363.4922"/></g><g><title>NoteRepository</title><rect fill="#000000" fill-opacity="0.00000" height="282.1953" width="8" x="650.96" y="81.2969"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="654.8535" x2="654.8535" y1="81.2969" y2="363.4922"/></g><g><title>SearchService</title><rect fill="#000000" fill-opacity="0.00000" height="282.1953" width="8" x="779.1396" y="81.2969"/><line style="stroke:#181818;stroke-width:0.5;stroke-dasharray:5,5;" x1="783.0664" x2="783.0664" y1="81.2969" y2="363.4922"/></g><g class="participant participant-head" data-participant="User"><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31.9102" x="5" y="77.9951">User</text><ellipse cx="23.9551" cy="13.5" fill="#E2E2F0" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><path d="M23.9551,21.5 L23.9551,48.5 M10.9551,29.5 L36.9551,29.5 M23.9551,48.5 L10.9551,63.5 M23.9551,48.5 L36.9551,63.5" fill="none" style="stroke:#181818;stroke-width:0.5;"/></g><g class="participant participant-tail" data-participant="User"><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="31.9102" x="5" y="375.4873">User</text><ellipse cx="23.9551" cy="387.2891" fill="#E2E2F0" rx="8" ry="8" style="stroke:#181818;stroke-width:0.5;"/><path d="M23.9551,395.2891 L23.9551,422.2891 M10.9551,403.2891 L36.9551,403.2891 M23.9551,422.2891 L10.9551,437.2891 M23.9551,422.2891 L36.9551,437.2891" fill="none" style="stroke:#181818;stroke-width:0.5;"/></g><g class="participant participant-head" data-participant="IFacade"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="68.5371" x="155.7217" y="50"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="54.5371" x="162.7217" y="69.9951">IFacade</text></g><g class="participant participant-tail" data-participant="IFacade"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="68.5371" x="155.7217" y="362.4922"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="54.5371" x="162.7217" y="382.4873">IFacade</text></g><g class="participant participant-head" data-participant="NoteFacade"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="97.5488" x="307.251" y="50"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="83.5488" x="314.251" y="69.9951">NoteFacade</text></g><g class="participant participant-tail" data-participant="NoteFacade"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="97.5488" x="307.251" y="362.4922"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="83.5488" x="314.251" y="382.4873">NoteFacade</text></g><g class="participant participant-head" data-participant="EncryptionService"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="140.9023" x="442.9512" y="50"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="126.9023" x="449.9512" y="69.9951">EncryptionService</text></g><g class="participant participant-tail" data-participant="EncryptionService"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="140.9023" x="442.9512" y="362.4922"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="126.9023" x="449.9512" y="382.4873">EncryptionService</text></g><g class="participant participant-head" data-participant="NoteRepository"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="122.2129" x="593.8535" y="50"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="108.2129" x="600.8535" y="69.9951">NoteRepository</text></g><g class="participant participant-tail" data-participant="NoteRepository"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="122.2129" x="593.8535" y="362.4922"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="108.2129" x="600.8535" y="382.4873">NoteRepository</text></g><g class="participant participant-head" data-participant="SearchService"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="114.1465" x="726.0664" y="50"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="100.1465" x="733.0664" y="69.9951">SearchService</text></g><g class="participant participant-tail" data-participant="SearchService"><rect fill="#E2E2F0" height="30.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="114.1465" x="726.0664" y="362.4922"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="100.1465" x="733.0664" y="382.4873">SearchService</text></g><g class="message" data-participant-1="User" data-participant-2="IFacade"><polygon fill="#181818" points="177.9902,108.4297,187.9902,112.4297,177.9902,116.4297,181.9902,112.4297" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="23.9551" x2="183.9902" y1="112.4297" y2="112.4297"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="142.0352" x="30.9551" y="107.3638">createNote(title, text)</text></g><g class="message" data-participant-1="IFacade" data-participant-2="NoteFacade"><polygon fill="#181818" points="344.0254,137.5625,354.0254,141.5625,344.0254,145.5625,348.0254,141.5625" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="189.9902" x2="350.0254" y1="141.5625" y2="141.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="142.0352" x="196.9902" y="136.4966">createNote(title, text)</text></g><g class="message" data-participant-1="NoteFacade" data-participant-2="EncryptionService"><polygon fill="#181818" points="501.4023,166.6953,511.4023,170.6953,501.4023,174.6953,505.4023,170.6953" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="356.0254" x2="507.4023" y1="170.6953" y2="170.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="133.377" x="363.0254" y="165.6294">checkAccess(userId)</text></g><g class="message" data-participant-1="EncryptionService" data-participant-2="NoteFacade"><polygon fill="#181818" points="367.0254,195.8281,357.0254,199.8281,367.0254,203.8281,363.0254,199.8281" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;stroke-dasharray:2,2;" x1="361.0254" x2="512.4023" y1="199.8281" y2="199.8281"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="15.4819" x="373.0254" y="194.7622">ok</text></g><g class="message" data-participant-1="NoteFacade" data-participant-2="NoteRepository"><polygon fill="#181818" points="642.96,224.9609,652.96,228.9609,642.96,232.9609,646.96,228.9609" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="356.0254" x2="648.96" y1="228.9609" y2="228.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="71.3477" x="363.0254" y="223.895">save(Note)</text></g><g class="message" data-participant-1="NoteRepository" data-participant-2="NoteFacade"><polygon fill="#181818" points="367.0254,254.0938,357.0254,258.0938,367.0254,262.0938,363.0254,258.0938" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;stroke-dasharray:2,2;" x1="361.0254" x2="653.96" y1="258.0938" y2="258.0938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="41.374" x="373.0254" y="253.0278">noteId</text></g><g class="message" data-participant-1="NoteFacade" data-participant-2="SearchService"><polygon fill="#181818" points="771.1396,283.2266,781.1396,287.2266,771.1396,291.2266,775.1396,287.2266" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;" x1="356.0254" x2="777.1396" y1="287.2266" y2="287.2266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="76.7114" x="363.0254" y="282.1606">index(Note)</text></g><g class="message" data-participant-1="NoteFacade" data-participant-2="IFacade"><polygon fill="#181818" points="200.9902,312.3594,190.9902,316.3594,200.9902,320.3594,196.9902,316.3594" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;stroke-dasharray:2,2;" x1="194.9902" x2="355.0254" y1="316.3594" y2="316.3594"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="41.374" x="206.9902" y="311.2935">noteId</text></g><g class="message" data-participant-1="IFacade" data-participant-2="User"><polygon fill="#181818" points="34.9551,341.4922,24.9551,345.4922,34.9551,349.4922,30.9551,345.4922" style="stroke:#181818;stroke-width:1;"/><line style="stroke:#181818;stroke-width:1;stroke-dasharray:2,2;" x1="28.9551" x2="188.9902" y1="345.4922" y2="345.4922"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="41.374" x="40.9551" y="340.4263">noteId</text></g><!--SRC=[TL1B2iCW4Dtd52uJQ2wGHQ6B5jnqqT03o3WGIL7HQKXkNwMHnDZkvFtc-GIGSUpfqLLME5AWhD34-4s0a9XXTqFu0xvgS8ibPNIFRb9GcXveZLVXpf9HFGe7Gp9LiGDhp-bqny2X88m1DIbwuOaHpjHKgo1gjqh_vPicEegsmJWWZ1S0zBv-Xn9SDbKXO-tXd1aFoVbFE-R5X7K4lnKsgeZIuStb8IvRfsDAIvntSKcu7spDuJikZfg83m00]--></g></svg>