usage: ```sh nix-shell -p mermaid-cli --command 'mmdc -i entity-relations.mmd -o entity-relations.svg' ```
1 line
No EOL
14 KiB
XML
1 line
No EOL
14 KiB
XML
<svg aria-roledescription="er" role="graphics-document document" viewBox="0 -61 854.1277465820312 1051" style="max-width: 854.128px; background-color: white;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .entityBox{fill:#ECECFF;stroke:#9370DB;}#my-svg .attributeBoxOdd{fill:#ffffff;stroke:#9370DB;}#my-svg .attributeBoxEven{fill:#f2f2f2;stroke:#9370DB;}#my-svg .relationshipLabelBox{fill:hsl(80, 100%, 96.2745098039%);opacity:0.7;background-color:hsl(80, 100%, 96.2745098039%);}#my-svg .relationshipLabelBox rect{opacity:0.5;}#my-svg .relationshipLine{stroke:#333333;}#my-svg .entityTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg #MD_PARENT_START{fill:#f5f5f5!important;stroke:#333333!important;stroke-width:1;}#my-svg #MD_PARENT_END{fill:#f5f5f5!important;stroke:#333333!important;stroke-width:1;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g/><defs><marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" id="MD_PARENT_START"><path d="M 18,7 L9,13 L1,7 L9,1 Z"/></marker></defs><defs><marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" id="MD_PARENT_END"><path d="M 18,7 L9,13 L1,7 L9,1 Z"/></marker></defs><defs><marker orient="auto" markerHeight="18" markerWidth="18" refY="9" refX="0" id="ONLY_ONE_START"><path d="M9,0 L9,18 M15,0 L15,18" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="18" markerWidth="18" refY="9" refX="18" id="ONLY_ONE_END"><path d="M3,0 L3,18 M9,0 L9,18" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="18" markerWidth="30" refY="9" refX="0" id="ZERO_OR_ONE_START"><circle r="6" cy="9" cx="21" fill="white" stroke="gray"/><path d="M9,0 L9,18" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="18" markerWidth="30" refY="9" refX="30" id="ZERO_OR_ONE_END"><circle r="6" cy="9" cx="9" fill="white" stroke="gray"/><path d="M21,0 L21,18" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="36" markerWidth="45" refY="18" refX="18" id="ONE_OR_MORE_START"><path d="M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="36" markerWidth="45" refY="18" refX="27" id="ONE_OR_MORE_END"><path d="M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="36" markerWidth="57" refY="18" refX="18" id="ZERO_OR_MORE_START"><circle r="6" cy="18" cx="48" fill="white" stroke="gray"/><path d="M0,18 Q18,0 36,18 Q18,36 0,18" fill="none" stroke="gray"/></marker></defs><defs><marker orient="auto" markerHeight="36" markerWidth="57" refY="18" refX="39" id="ZERO_OR_MORE_END"><circle r="6" cy="18" cx="9" fill="white" stroke="gray"/><path d="M21,18 Q39,0 57,18 Q39,36 21,18" fill="none" stroke="gray"/></marker></defs><path style="stroke: gray; fill: none;" marker-start="url(#ZERO_OR_MORE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M138.413,95L130.681,103.333C122.95,111.667,107.486,128.333,99.754,145C92.022,161.667,92.022,178.333,92.022,186.667L92.022,195" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M233.566,95L246.979,103.333C260.392,111.667,287.218,128.333,300.632,145C314.045,161.667,314.045,178.333,314.045,186.667L314.045,195" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M364.045,261.405L380.938,271.171C397.83,280.937,431.616,300.468,448.508,324.818C465.401,349.167,465.401,378.333,465.401,407.5C465.401,436.667,465.401,465.833,470.163,488.75C474.925,511.667,484.448,528.333,489.21,536.667L493.972,545" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONE_OR_MORE_START)" marker-end="url(#ONLY_ONE_END)" d="M334.217,422.387L374.863,434.489C415.509,446.592,496.801,470.796,531.476,491.231C566.151,511.667,554.21,528.333,548.239,536.667L542.269,545" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M301.262,270L298.421,278.333C295.58,286.667,289.899,303.333,287.058,320C284.217,336.667,284.217,353.333,284.217,361.667L284.217,370" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ONE_OR_MORE_END)" d="M284.217,445L284.217,453.333C284.217,461.667,284.217,478.333,284.217,495C284.217,511.667,284.217,528.333,284.217,536.667L284.217,545" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_ONE_END)" d="M334.217,417.082L401.978,430.069C469.739,443.055,605.262,469.027,673.023,490.347C740.784,511.667,740.784,528.333,740.784,536.667L740.784,545" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ONLY_ONE_END)" d="M234.217,434.445L215.489,444.538C196.762,454.63,159.306,474.815,140.578,499.491C121.85,524.167,121.85,553.333,121.85,582.5C121.85,611.667,121.85,640.833,126.612,663.75C131.374,686.667,140.898,703.333,145.66,711.667L150.422,720" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ZERO_OR_ONE_START)" marker-end="url(#ONLY_ONE_END)" d="M665.401,603.185L624.819,614.321C584.237,625.457,503.073,647.728,432.321,669.421C361.569,691.114,301.229,712.228,271.059,722.785L240.889,733.342" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ONE_OR_MORE_END)" d="M708.641,620L701.498,628.333C694.355,636.667,680.069,653.333,672.927,670C665.784,686.667,665.784,703.333,665.784,711.667L665.784,720" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M665.784,795L665.784,803.333C665.784,811.667,665.784,828.333,672.927,845C680.069,861.667,694.355,878.333,701.498,886.667L708.641,895" class="er relationshipLine"/><path style="stroke: gray; fill: none;" marker-start="url(#ONE_OR_MORE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M772.927,620L780.069,628.333C787.212,636.667,801.498,653.333,808.641,676.25C815.784,699.167,815.784,728.333,815.784,757.5C815.784,786.667,815.784,815.833,808.641,838.75C801.498,861.667,787.212,878.333,780.069,886.667L772.927,895" class="er relationshipLine"/><g transform="translate(112.69140625,20 )" id="entity-setup-860214c0-b79b-5813-86f0-47e9c4e8c6ea"><rect height="75" width="121.029296875" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(60.5146484375,37.5)" y="0" x="0" id="text-entity-setup-860214c0-b79b-5813-86f0-47e9c4e8c6ea" class="er entityLabel">Fediversity setup</text></g><g transform="translate(20,195 )" id="entity-env-35d32653-154f-5acd-b6b2-9fd9ea87299e"><rect height="75" width="144.044921875" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(72.0224609375,37.5)" y="0" x="0" id="text-entity-env-35d32653-154f-5acd-b6b2-9fd9ea87299e" class="er entityLabel">run-time environment</text></g><g transform="translate(665.40087890625,545 )" id="entity-deployed-d54cc0d6-796f-54ac-bf09-1bbef98d2f52"><rect height="75" width="150.765625" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(75.3828125,37.5)" y="0" x="0" id="text-entity-deployed-d54cc0d6-796f-54ac-bf09-1bbef98d2f52" class="er entityLabel">deployed configuration</text></g><g transform="translate(102.81103515625,720 )" id="entity-staged-e0928344-d87d-5271-ab0c-f4f1a6e0675d"><rect height="75" width="138.078125" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(69.0390625,37.5)" y="0" x="0" id="text-entity-staged-e0928344-d87d-5271-ab0c-f4f1a6e0675d" class="er entityLabel">staged configuration</text></g><g transform="translate(221.85009765625,545 )" id="entity-token-db962146-f9e2-53e5-919d-8477e228f710"><rect height="75" width="124.734375" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(62.3671875,37.5)" y="0" x="0" id="text-entity-token-db962146-f9e2-53e5-919d-8477e228f710" class="er entityLabel">deployment token</text></g><g transform="translate(264.044921875,195 )" id="entity-operator-6c3c8122-d73d-5044-ae44-1ef3f93ceeda"><rect height="75" width="100" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-operator-6c3c8122-d73d-5044-ae44-1ef3f93ceeda" class="er entityLabel">operator</text></g><g transform="translate(465.40087890625,545 )" id="entity-domain-ca07e5df-bb03-5f49-b416-a004831c8637"><rect height="75" width="100" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-domain-ca07e5df-bb03-5f49-b416-a004831c8637" class="er entityLabel">domain</text></g><g transform="translate(234.21728515625,370 )" id="entity-deployment-6e8d4da4-7b9e-52d1-a6c4-135846840a1b"><rect height="75" width="100" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-deployment-6e8d4da4-7b9e-52d1-a6c4-135846840a1b" class="er entityLabel">deployment</text></g><g transform="translate(615.78369140625,720 )" id="entity-application-7e39266e-e9df-5da1-a01a-dc1a3810d603"><rect height="75" width="100" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-application-7e39266e-e9df-5da1-a01a-dc1a3810d603" class="er entityLabel">application</text></g><g transform="translate(690.78369140625,895 )" id="entity-version-fdae9614-9260-58ea-8354-92bcbcd0d630"><rect height="75" width="100" y="0" x="0" class="er entityBox"/><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-version-fdae9614-9260-58ea-8354-92bcbcd0d630" class="er entityLabel">version</text></g><rect height="14" width="29.796875" y="132.4878692626953" x="87.68029022216797" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="139.4878692626953" x="102.57872772216797" id="rel1" class="er relationshipLabel">offers</text><rect height="14" width="35.34375" y="126.889404296875" x="272.2235412597656" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="133.889404296875" x="289.8954162597656" id="rel2" class="er relationshipLabel">serves</text><rect height="14" width="28.015625" y="375.8238830566406" x="451.009033203125" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="382.8238830566406" x="465.016845703125" id="rel3" class="er relationshipLabel">owns</text><rect height="14" width="25.359375" y="456.5212097167969" x="453.6715087890625" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="463.5212097167969" x="466.3511962890625" id="rel4" class="er relationshipLabel">uses</text><rect height="14" width="19.359375" y="312.0683898925781" x="277.5403747558594" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="319.0683898925781" x="287.2200622558594" id="rel5" class="er relationshipLabel">has</text><rect height="14" width="53.375" y="488" x="257.5295104980469" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="495" x="284.2170104980469" id="rel6" class="er relationshipLabel">generates</text><rect height="14" width="19.359375" y="452.975830078125" x="541.3355102539062" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="459.975830078125" x="551.0151977539062" id="rel7" class="er relationshipLabel">has</text><rect height="14" width="19.359375" y="546.154541015625" x="112.88947296142578" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="553.154541015625" x="122.56916046142578" id="rel8" class="er relationshipLabel">has</text><rect height="14" width="52.6875" y="656.5442504882812" x="425.3455810546875" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="663.5442504882812" x="451.6893310546875" id="rel9" class="er relationshipLabel">compares</text><rect height="14" width="51.359375" y="658.1256713867188" x="649.5306396484375" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="665.1256713867188" x="675.2103271484375" id="rel10" class="er relationshipLabel">describes</text><rect height="14" width="36.6875" y="842.8743286132812" x="656.8665771484375" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="849.8743286132812" x="675.2103271484375" id="rel11" class="er relationshipLabel">follows</text><rect height="14" width="36.6875" y="750.5" x="797.4402465820312" class="er relationshipLabelBox"/><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="757.5" x="815.7839965820312" id="rel12" class="er relationshipLabel">follows</text><text class="entityTitleText" y="-25" x="427.0638732910156" text-anchor="middle">Fediversity entity relations</text></svg> |