1import{_ as o}from"./BDePa3F2.js";import{_ as n}from"./BO1iJM3b.js";import{u as m}from"./DlMSN9ba.js";import{c as d,a as t,t as a,b as i,o as c}from"./C-aCOc2h.js";const l={class:"bg-gray-50 py-8"},p={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},_={class:"mb-6"},g={class:"text-3xl font-bold text-gray-900"},E={class:"mt-2 text-gray-600"},u=`erDiagram 2 CUSTOMER ||--o{ ORDER : places 3 CUSTOMER { 4 string name 5 string custNumber 6 string sector 7 } 8 ORDER ||--|{ LINE-ITEM : contains 9 ORDER { 10 int orderNumber 11 string deliveryAddress 12 } 13 LINE-ITEM { 14 string productCode 15 int quantity 16 float pricePerUnit 17 }`,b={__name:"er-diagram",setup(y){return m({title:"ER Diagram Editor - Entity Relationship Diagrams Online | Mermaid Online Editor",meta:[{name:"description",content:"Create ER diagrams online with our free Mermaid editor. Design database schemas and entity relationships easily."},{name:"keywords",content:"ER diagram, entity relationship diagram, database design, ERD tool, online ERD"}]}),(e,R)=>{const r=o,s=n;return c(),d("div",l,[t("div",p,[t("div",_,[t("h1",g,a(e.$t("erDiagram.title")),1),t("p",E,a(e.$t("erDiagram.description")),1)]),i(r,{"initial-code":u,"diagram-type":"er"}),i(s,{"diagram-type":"er"})])])}}};export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.