trilium/demo/Demo/Trilium Demo/Mermaid Diagrams/Entity Relationship_mermai.svg
2025-03-30 22:08:52 +03:00

1 line
11 KiB
XML

<svg aria-roledescription="er" role="graphics-document document" viewBox="-116.9375 0 726.4140625 640" style="max-width: 726.4140625px;" xmlns="http://www.w3.org/2000/svg" width="100%" id="mermaid-graph-33"><style>#mermaid-graph-33{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#mermaid-graph-33 .error-icon{fill:#a44141;}#mermaid-graph-33 .error-text{fill:#ddd;stroke:#ddd;}#mermaid-graph-33 .edge-thickness-normal{stroke-width:2px;}#mermaid-graph-33 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-graph-33 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-graph-33 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-graph-33 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-graph-33 .marker{fill:lightgrey;stroke:lightgrey;}#mermaid-graph-33 .marker.cross{stroke:lightgrey;}#mermaid-graph-33 svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-graph-33 .entityBox{fill:#1f2020;stroke:#81B1DB;}#mermaid-graph-33 .attributeBoxOdd{fill:hsl(0, 0%, 32%);stroke:#81B1DB;}#mermaid-graph-33 .attributeBoxEven{fill:hsl(0, 0%, 22%);stroke:#81B1DB;}#mermaid-graph-33 .relationshipLabelBox{fill:hsl(20, 1.5873015873%, 12.3529411765%);opacity:0.7;background-color:hsl(20, 1.5873015873%, 12.3529411765%);}#mermaid-graph-33 .relationshipLabelBox rect{opacity:0.5;}#mermaid-graph-33 .relationshipLine{stroke:lightgrey;}#mermaid-graph-33 .entityTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#mermaid-graph-33 #MD_PARENT_START{fill:#f5f5f5!important;stroke:lightgrey!important;stroke-width:1;}#mermaid-graph-33 #MD_PARENT_END{fill:#f5f5f5!important;stroke:lightgrey!important;stroke-width:1;}#mermaid-graph-33 :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g></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"></path></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"></path></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"></path></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"></path></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"></circle><path d="M9,0 L9,18" fill="none" stroke="gray"></path></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"></circle><path d="M21,0 L21,18" fill="none" stroke="gray"></path></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"></path></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"></path></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"></circle><path d="M0,18 Q18,0 36,18 Q18,36 0,18" fill="none" stroke="gray"></path></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"></circle><path d="M21,18 Q39,0 57,18 Q39,36 21,18" fill="none" stroke="gray"></path></marker></defs><path style="stroke: gray; fill: none;" marker-start="url(#ONE_OR_MORE_START)" marker-end="url(#ONE_OR_MORE_END)" stroke-dasharray="8,8" d="M84.719,95L84.719,103.333C84.719,111.667,84.719,128.333,84.719,145C84.719,161.667,84.719,178.333,84.719,186.667L84.719,195" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M34.719,84.06L15.599,94.217C-3.521,104.374,-41.76,124.687,-60.88,149.427C-80,174.167,-80,203.333,-80,232.5C-80,261.667,-80,290.833,-60.88,315.573C-41.76,340.313,-3.521,360.626,15.599,370.783L34.719,380.94" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M134.719,77.875L162.172,89.063C189.625,100.25,244.531,122.625,271.984,142.146C299.438,161.667,299.438,178.333,299.438,186.667L299.438,195" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M84.719,270L84.719,278.333C84.719,286.667,84.719,303.333,84.719,320C84.719,336.667,84.719,353.333,84.719,361.667L84.719,370" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ONE_OR_MORE_END)" d="M299.438,270L299.438,278.333C299.438,286.667,299.438,303.333,271.984,322.854C244.531,342.375,189.625,364.75,162.172,375.937L134.719,387.125" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ONE_OR_MORE_END)" d="M84.719,445L84.719,453.333C84.719,461.667,84.719,478.333,112.614,497.895C140.508,517.458,196.298,539.915,224.193,551.144L252.088,562.373" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ONE_OR_MORE_END)" d="M519.457,270L519.457,278.333C519.457,286.667,519.457,303.333,519.457,320C519.457,336.667,519.457,353.333,519.457,361.667L519.457,370" class="er relationshipLine"></path><path style="stroke: gray; fill: none;" marker-start="url(#ONLY_ONE_START)" marker-end="url(#ZERO_OR_MORE_END)" d="M519.457,445L519.457,453.333C519.457,461.667,519.457,478.333,491.562,497.895C463.667,517.458,407.878,539.915,379.983,551.144L352.088,562.373" class="er relationshipLine"></path><g transform="translate(34.71875,20 )" id="entity-CUSTOMER-7c659eae-ee79-5f5d-acd7-c418f8ad1d67"><rect height="75" width="100" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-CUSTOMER-7c659eae-ee79-5f5d-acd7-c418f8ad1d67" class="er entityLabel">CUSTOMER</text></g><g transform="translate(20,195 )" id="entity-DELIVERYADDRESS-fd3face8-ad78-5943-8bd2-c15cc8ecb9c6"><rect height="75" width="129.4375" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(64.71875,37.5)" y="0" x="0" id="text-entity-DELIVERYADDRESS-fd3face8-ad78-5943-8bd2-c15cc8ecb9c6" class="er entityLabel">DELIVERY-ADDRESS</text></g><g transform="translate(34.71875,370 )" id="entity-ORDER-36941e20-eb1d-50a3-81c5-00079b43c24a"><rect height="75" width="100" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-ORDER-36941e20-eb1d-50a3-81c5-00079b43c24a" class="er entityLabel">ORDER</text></g><g transform="translate(249.4375,195 )" id="entity-INVOICE-befa8dd9-5ec7-5029-b058-27b05a6cdbcd"><rect height="75" width="100" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-INVOICE-befa8dd9-5ec7-5029-b058-27b05a6cdbcd" class="er entityLabel">INVOICE</text></g><g transform="translate(252.087890625,545 )" id="entity-ORDERITEM-2f3e0a8a-1139-508c-8589-2d144a3ff50e"><rect height="75" width="100" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-ORDERITEM-2f3e0a8a-1139-508c-8589-2d144a3ff50e" class="er entityLabel">ORDER-ITEM</text></g><g transform="translate(449.4375,195 )" id="entity-PRODUCTCATEGORY-d522e853-470b-5a3e-b40c-3b174e1dded4"><rect height="75" width="140.0390625" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(70.01953125,37.5)" y="0" x="0" id="text-entity-PRODUCTCATEGORY-d522e853-470b-5a3e-b40c-3b174e1dded4" class="er entityLabel">PRODUCT-CATEGORY</text></g><g transform="translate(469.45703125,370 )" id="entity-PRODUCT-b14524a1-8e20-5805-a382-423fd1ec339f"><rect height="75" width="100" y="0" x="0" class="er entityBox"></rect><text style="dominant-baseline: middle; text-anchor: middle; font-size: 12px;" transform="translate(50,37.5)" y="0" x="0" id="text-entity-PRODUCT-b14524a1-8e20-5805-a382-423fd1ec339f" class="er entityLabel">PRODUCT</text></g><rect height="14" width="17.71875" y="138" x="75.85962677001953" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="145" x="84.71900177001953" id="rel25" class="er relationshipLabel">has</text><rect height="14" width="33.875" y="225.50001525878906" x="-96.9375" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="232.50001525878906" x="-80" id="rel26" class="er relationshipLabel">places</text><rect height="14" width="49.1953125" y="113.21796417236328" x="208.8299102783203" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="120.21796417236328" x="233.4275665283203" id="rel27" class="er relationshipLabel">liable for</text><rect height="14" width="44.3984375" y="313" x="62.51978302001953" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="320" x="84.71900177001953" id="rel28" class="er relationshipLabel">receives</text><rect height="14" width="34.328125" y="337.78204345703125" x="216.2635040283203" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="344.78204345703125" x="233.4275665283203" id="rel29" class="er relationshipLabel">covers</text><rect height="14" width="44.109375" y="513.020263671875" x="130.02452087402344" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="520.020263671875" x="152.07920837402344" id="rel30" class="er relationshipLabel">includes</text><rect height="14" width="44.8359375" y="313" x="497.03900146484375" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="320" x="519.4569702148438" id="rel31" class="er relationshipLabel">contains</text><rect height="14" width="55.828125" y="513.02001953125" x="424.18267822265625" class="er relationshipLabelBox"></rect><text style="text-anchor: middle; dominant-baseline: middle; font-size: 12px;" y="520.02001953125" x="452.09674072265625" id="rel32" class="er relationshipLabel">ordered in</text></svg>