Skip to content

Instantly share code, notes, and snippets.

@Charlie-robin
Last active April 29, 2025 13:27
Show Gist options
  • Save Charlie-robin/89e70ce5ff6863533d50f4b1e280bc0b to your computer and use it in GitHub Desktop.
Save Charlie-robin/89e70ce5ff6863533d50f4b1e280bc0b to your computer and use it in GitHub Desktop.
JSON & Mermaid

JSON

{
  "company": "Corndel",
  "department": {
    "name": "Software Engineering",
    "employees": [
      {
        "name": "John Doe",
        "position": "PDE",
      },
      {
        "name": "Jane Smith",
        "position": "Software Developer",
      }
    ]
  }
}

ERD

erDiagram
    COMPANY {
        string companyName
    }
    DEPARTMENT {
        string departmentName
    }
    EMPLOYEE {
        string employeeName
        string position
    }

    COMPANY ||--|| DEPARTMENT : has
    DEPARTMENT ||--o{ EMPLOYEE : includes 
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment