Skip to content

Instantly share code, notes, and snippets.

@jocile
Last active June 16, 2022 22:34
Show Gist options
  • Save jocile/b98add89c82e8629eb11b409c5dd0e69 to your computer and use it in GitHub Desktop.
Save jocile/b98add89c82e8629eb11b409c5dd0e69 to your computer and use it in GitHub Desktop.
Diagrams.net models
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="741px" height="491px" viewBox="-0.5 -0.5 741 491" content="&lt;mxfile&gt;&lt;diagram id=&quot;0-SVs4RL8f-gH-tOpcY7&quot; name=&quot;Página-1&quot;&gt;7VrLctowFP0alp3Bll8sQ0jSRdvplE67FvbF1kS2XCEC9OsrYfltiCeF4E69Aeno6uF7zr2SDBN0H++fOE6jzywAOjGnwX6CFhPTnHlIfirgkAGu5WZAyEmQQUYJLMlv0OBUo1sSwKZmKBijgqR10GdJAr6oYZhztqubrRmtz5riEFrA0se0jf4kgYj0Y02nJf4RSBjpmZ28YYX955CzbaKnS1gCWUuM81G06SbCAdtVIPQwQfecMZGV4v09UOXU3GFZv8cTrcWKOSSiTwc0M+wpeJa3NmzPmvof9AgvmG61F+aU+c96teKQ++YFuCDSVXeUhImEBEsnaI51jcJaTj/fpNgnSfhdtS28Evh0bF6YJfJNu9E4YhFO1TT+dgWqmglDqgLNA8Il04SpSTZsq7w5X7NELPXKLFmPREyVvSweSQD1rNNs3MzZquKzmPi6TPEK6Lxg7Z5RxmXTkTfZTXD2XCjA0DM+4phQJewfwAOc4HwherFmm4nctdJzsK9AmpknYDEIfpAmeWuukjx+dHVXihEhjUUVIRbqwjoAwmLoUgqyoNXQUxnmqIzBKMNGQ1IGGpUxGGUgt64My2hLQ+5UbWlITq8gDasljYnp4Dg9OvDXlslvkgjga+xD0cJ1iwSoksSKy1IoqkgOfMEx5KBc3Ko0bGhvIASXcvdBPXex1L/bKJw66YbVJt0wOki/Cud2i3N5MtxSaHFSxCyLU+lV9fgnsoEOfuTcnL6Kji4RrUaDOGS3iTM7iHOuQZzTEawNyuQI8vStPLiLiIBlquIWLXby/D+cLHqdIEONIDNRR2bt2nOvQZU7xljvs1IzOd40xrxxQ3yHWHXNIW2IszGvnuHKMQeUV3NNjIn1deIsq3HVcDqC7N0Sq2G0gyoIIb/kadfV/V/xR4A30RE3ergfc3Gn3i82sEeilpsxq+ra9eoSC0mQ92ApJBlSsZe1nCinP58nSZTXXO7DKxqXSwxBnD8LKhee1QIHigV5qb8xvSyxHdlyJLbLU6gHr7Ph8IrO8gp0xXYPJXCa4auSqnvcjtRZD1Ld4ZBqjaT2INXpQao9HFLts6QyLiIWsgTT2zN7wRxc2zjeRrPdg2br0jQfu0p/4EPFIGXyVrmpjPxVAZWXG3bjEN783bBhb+aa6LaXhWwFpeCKR3mjBp1LavA/OhS4PTToDSfVuP9Mqrn5JtLnuGcOIrs4s3q2sDz7ytnCG2V0SRkZg5CR6V1URrJa/tEmMy//xoQe/gA=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 55 -55 L 265 -55 L 275 -45 L 275 275 L 65 275 L 55 265 L 55 -55 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="rotate(90,165,110)" pointer-events="all"/>
<path d="M 65 275 L 65 -45 L 55 -55 M 65 -45 L 275 -45" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="rotate(90,165,110)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 15px; margin-left: 4px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; text-decoration: underline; white-space: nowrap;">
Block
</div>
</div>
</div>
</foreignObject>
<text x="4" y="27" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px" text-decoration="underline">
Block
</text>
</switch>
</g>
<path d="M 465 -55 L 675 -55 L 685 -45 L 685 275 L 475 275 L 465 265 L 465 -55 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="rotate(90,575,110)" pointer-events="all"/>
<path d="M 475 275 L 475 -45 L 465 -55 M 475 -45 L 685 -45" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="rotate(90,575,110)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 15px; margin-left: 414px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; text-decoration: underline; white-space: nowrap;">
Block
</div>
</div>
</div>
</foreignObject>
<text x="414" y="27" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px" text-decoration="underline">
Block
</text>
</switch>
</g>
<path d="M 305 285 L 445 285 L 455 295 L 455 545 L 315 545 L 305 535 L 305 285 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="rotate(90,380,415)" pointer-events="all"/>
<path d="M 315 545 L 315 295 L 305 285 M 315 295 L 455 295" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="rotate(90,380,415)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 355px; margin-left: 254px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; text-decoration: underline; white-space: nowrap;">
Block
</div>
</div>
</div>
</foreignObject>
<text x="254" y="367" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px" text-decoration="underline">
Block
</text>
</switch>
</g>
<rect x="40" y="70" width="110" height="50" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 95px; margin-left: 95px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
«interface»
<br/>
<b>
Name
</b>
</div>
</div>
</div>
</foreignObject>
<text x="95" y="99" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px" text-anchor="middle">
«interface»...
</text>
</switch>
</g>
<path d="M 206 65 L 310 65 L 310 125 L 206 125 L 206 113 L 190 113 L 190 101 L 206 101 L 206 89 L 190 89 L 190 77 L 206 77 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 206 77 L 222 77 L 222 89 L 206 89 M 206 101 L 222 101 L 222 113 L 206 113" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 95px; margin-left: 228px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
Module
</div>
</div>
</div>
</foreignObject>
<text x="228" y="99" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px">
Module
</text>
</switch>
</g>
<ellipse cx="250" cy="170" rx="10" ry="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 456 65 L 560 65 L 560 125 L 456 125 L 456 113 L 440 113 L 440 101 L 456 101 L 456 89 L 440 89 L 440 77 L 456 77 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 456 77 L 472 77 L 472 89 L 456 89 M 456 101 L 472 101 L 472 113 L 456 113" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 95px; margin-left: 478px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
Module
</div>
</div>
</div>
</foreignObject>
<text x="478" y="99" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px">
Module
</text>
</switch>
</g>
<rect x="600" y="70" width="110" height="50" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 95px; margin-left: 655px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
«interface»
<br/>
<b>
Name
</b>
</div>
</div>
</div>
</foreignObject>
<text x="655" y="99" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px" text-anchor="middle">
«interface»...
</text>
</switch>
</g>
<ellipse cx="510" cy="170" rx="10" ry="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 336 390 L 440 390 L 440 450 L 336 450 L 336 438 L 320 438 L 320 426 L 336 426 L 336 414 L 320 414 L 320 402 L 336 402 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 336 402 L 352 402 L 352 414 L 336 414 M 336 426 L 352 426 L 352 438 L 336 438" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 420px; margin-left: 358px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Verdana; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
Module
</div>
</div>
</div>
</foreignObject>
<text x="358" y="424" fill="rgb(0, 0, 0)" font-family="Verdana" font-size="12px">
Module
</text>
</switch>
</g>
<path d="M 364.4 390 L 255.65 180.86" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
<path d="M 270.51 191.03 L 255.13 179.86 L 255.43 198.87" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 419.8 340 L 504.26 180.81" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
<path d="M 504.33 198.82 L 504.79 179.82 L 489.31 190.85" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 510 160 L 510 142.5 L 510 125" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 250 160 L 250 142.5 L 250 125" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 230 125 L 230 150 L 95 150 L 95 122.24" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
<path d="M 103.5 138.12 L 95 121.12 L 86.5 138.12" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 560 95 L 597.76 95" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/>
<path d="M 581.88 103.5 L 598.88 95 L 581.88 86.5" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 510 415 L 575 415 L 575 220" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 250 415 L 165 415 L 165 220" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Viewer does not support full SVG 1.1
</text>
</a>
</switch>
</svg>
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment