zrm/docs/public/relationships/many-direct.svg
Madeorsk edcc75f003
Add visual diagrams for relationships.
Visual diagrams could help readers to understand associations between models more easily.

Closes #10
2024-11-27 19:49:56 +01:00

10 lines
No EOL
7.3 KiB
XML

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 764 205.5" width="1528" height="411">
<!-- svg-source:excalidraw -->
<defs>
<style class="style-fonts">
@font-face { font-family: Comic Shanns; src: url(data:font/woff2;base64,d09GMgABAAAAAAsQAAsAAAAAFcwAAArDAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAdBEICpFAjmALHgABNgIkAyAEIAWVGAcgG40TsxEVbBxAwvhNsv8ygZtDXJxqRFEEpoh5B4YR1WFuRjM6s6vK+mV7wUVgGjVqxNu8i/m0NpkcUPvP7eg9+9nduFGd9tIT2Hug/SUwm1NzLo+CCqCuaA/0e+I6Q0mU5ZxldzH0DJaodtvNcwCYhWkCqfX3rr3N2OTVBZZK7IgkqSqGkyfsX30WtwgYUGk50HisR7rEtvbaZ+zp2PpH/wfUAjzdDP5djbqgSYVf++hY/n/7/a++eR+rs0g08eahEBIlszpr1mbuO+uy1/xB7HIwmzeYfLdQIGuy0EyTaINmpRIaoRf86VebY73POqlNRULwiSyL3h+ffgCQhKJpaIBf6hFQ8ebBaBFowum6gODfF7+XS29s3huMc9TUJIOAmU+yjSdYf86TMQACwMaFptkXmlUNbvm8yv5s+VCCMCtgGNNoaVXv8W9wa2bNmDJpwn//huBUkUFTAeTJ6GuqAEQEIAtaG9GKs2nYsRrVT1XbZGqOKJMXJhTFTZ660t3GD0RypuF7plLNnsRO+sIMESLCRdUY09hW9XFQB8ZiiIVH2wzHkDa1Z0+TrGWO6DMOzroNPR5MbtmmnZ12umF33cqTXQOwMgtExNCTqtXd3iE18TM+dTOqh3RNCkNsJdaWGXMWIYd3qExuPlK1Ta3UFhK7Btlu43YaAGh47ba1vyKO/0TUmdt79RC6jKj+aAd1ADR0sp7bZhr+KzwfEnNFjubKIC3n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JF3pJFpu0LBpCBBRnJcZSM9ExMlS1UIY/AzhR6NB6CDy1oosLgqgSfelFYSEvjeTPDkjPEg5IomUmh6UUY35MPTIeKjKYiqplVCYDTFmsbIDUiyJb9+CDT9HGhqm/DhIRH0YCNwBtzOYI86qtg40NgYGbItCBCFyOWhghV5MAhTCxSO4PdXltiRJg+JFHv/xUsUU0IhxsuxGFSuWYGOsrQCrQHMAMOTpnH/j2nsRcFhukGwqAiefiCvJdLBfRMJ77hkxlsfIEGR+9w7NfUyDsyVp83hPq0yOBY1GF0Z7mPPZrDVTCJci2ELH0AJDAaBHCkeZZuPV6jFqHzBzF2ZLPzQakXxxoTJ7p/+SeqP6cAMGKKPpSCo+qULVv0E6SEEE7VxxO4/7CQi1I0Sa8MLMhxCraulOhXSi7wwtSrdTgW+yaKZJUV+CPcxrccnCl2cRIXGTQC+21mWyboDWcIS22WYNJM8Vba8Kk0woYrMKfnEKSgKyCrEn3SU0wbgWprhDSMHGB7ydIfA3IBAEI0NqnuiVILtZIZzUkC3L4ISMyL1zjzAAEQhl4UhLtAww12dRo0yHiQoM/4+rdqgUodqoDY9Bd6E2VTQ0A5E0dBpghm+x+rdPCAgj7Qalok+Y4CetI9Tfs1juCiGJCQKI3AU/peyaMJQRUchDEQmQuJbkQ30CoJYC+yKwjX40QgC4DAbaie8MZo6iCJXCusKrmMh6YC7RPBAktmQjwhRaCHWfhiS6KnBx6OYpMeBMAgcwXGE5pFCU5UABxa9cervFAAA); }
</style>
</defs>
<rect x="0" y="0" width="764" height="205.5" fill="#ffffff"></rect><g stroke-linecap="round" transform="translate(10 10.5) rotate(0 144 92.5)"><path d="M-1.9 2.89 C107.45 2.5, 215.36 -0.37, 288.24 -1.34 M0.3 -1.46 C60.12 2.91, 118.57 1.74, 288.16 -0.34 M289.18 0.14 C283.94 72.43, 283.38 137.42, 287.33 183.94 M288.17 0.63 C291.55 57.13, 290.37 112.79, 289.04 184.41 M289.27 186.5 C182.41 187.24, 70.16 188.74, -0.96 186.3 M288.37 185.34 C200.27 180.6, 113.28 182.46, -0.39 185.05 M-0.45 187.47 C-0.47 133.34, -1.48 78.47, -1.75 3.41 M0.42 185.7 C1.02 111.53, 2.96 40.05, -1.35 1.65" stroke="#1e1e1e" stroke-width="2" fill="none"></path></g><g transform="translate(123.20000076293945 50.5) rotate(0 30.799999237060547 52.5)"><text x="30.799999237060547" y="24.5" font-family="Comic Shanns, Segoe UI Emoji" font-size="28px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">User</text><text x="30.799999237060547" y="59.5" font-family="Comic Shanns, Segoe UI Emoji" font-size="28px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic"></text><text x="30.799999237060547" y="94.5" font-family="Comic Shanns, Segoe UI Emoji" font-size="28px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">id</text></g><g stroke-linecap="round" transform="translate(466 10) rotate(0 144 92.5)"><path d="M-1.91 -2.48 C61.07 -0.47, 118.05 0.32, 290.41 0.17 M-0.13 0.34 C87.86 -0.65, 173.95 -0.96, 288.19 -1.16 M288.41 1.95 C287.54 73.71, 287.93 147.22, 289.12 183.82 M289.11 -0.34 C290.62 53.43, 289.32 109.98, 289.38 186.73 M285.75 183.56 C196.57 186.45, 109.03 184.93, -1.97 184.69 M289.02 184.05 C191.11 188.42, 95.52 189.53, 0.53 186.34 M2.04 184.56 C-3.39 134.65, -0.79 80.46, -1.68 3.39 M1.42 186.98 C-1.58 112.68, -2.92 40.52, -0.86 -0.68" stroke="#1e1e1e" stroke-width="2" fill="none"></path></g><g transform="translate(555.8 50) rotate(0 54.19999999999999 52.5)"><text x="54.199999999999996" y="24.5" font-family="Comic Shanns, Segoe UI Emoji" font-size="28px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Message</text><text x="54.199999999999996" y="59.5" font-family="Comic Shanns, Segoe UI Emoji" font-size="28px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic"></text><text x="54.199999999999996" y="94.5" font-family="Comic Shanns, Segoe UI Emoji" font-size="28px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">user_id</text></g><g stroke-linecap="round"><g transform="translate(303 135.5) rotate(0 79 0)"><path d="M0 0 C60.99 -4.14, 121.8 -0.06, 158 0 M0 0 C62.51 1.54, 121.81 -1.18, 158 0" stroke="#1e1e1e" stroke-width="2" fill="none"></path></g><g transform="translate(303 135.5) rotate(0 79 0)"><path d="M135.05 7.74 C144.41 6.39, 153.93 3.3, 158.05 1.56 M134.98 8.6 C143.26 6.19, 151.68 1.44, 158.35 -0.98" stroke="#1e1e1e" stroke-width="2" fill="none"></path></g><g transform="translate(303 135.5) rotate(0 79 0)"><path d="M135.15 -9.36 C144.59 -4.24, 154.08 -0.86, 158.05 1.56 M135.08 -8.5 C143.31 -4.4, 151.7 -2.64, 158.35 -0.98" stroke="#1e1e1e" stroke-width="2" fill="none"></path></g></g><mask></mask></svg>