---
title: "Entity Relationship 4 Diagram"
description: "A diagram diagram template"
category: "templates/software"
type: "diagram"
source_file: "templates/software/entity_relationship_4_decoded.xml"
tags: ["development", "software", "database", "template", "architecture", "erd", "drawio", "data"]
---

# Entity Relationship 4 Diagram

A diagram diagram template

## XML Source

```xml
<?xml version="1.0" ?>
<mxGraphModel dx="1408" dy="544" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" background="none" math="0" shadow="0">
  <root>
    <mxCell id="0"/>
    <mxCell id="1" parent="0"/>
    <mxCell id="35c4ae0db3269c63-1" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="140" y="170" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-2" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-1" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-3" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-1" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-4" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-1" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-31" value="relation" style="edgeStyle=none;html=1;labelBackgroundColor=none;startArrow=ERoneToMany;startFill=0;endArrow=ERmandOne;fontFamily=Verdana;fontSize=14;" parent="1" source="35c4ae0db3269c63-5" target="35c4ae0db3269c63-9" edge="1">
      <mxGeometry x="0.0435" y="15" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-32" value="relation" style="edgeStyle=none;html=1;labelBackgroundColor=none;startArrow=ERmandOne;startFill=0;endArrow=ERoneToMany;fontFamily=Verdana;fontSize=14;endFill=0;" parent="1" source="35c4ae0db3269c63-5" target="35c4ae0db3269c63-13" edge="1">
      <mxGeometry x="-0.1111" y="30" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-5" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="460" y="170" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-6" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-5" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-7" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-5" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-8" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-5" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-9" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="820" y="170" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-10" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-9" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-11" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-9" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-12" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-9" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-33" value="relation" style="edgeStyle=none;html=1;labelBackgroundColor=none;startArrow=ERoneToMany;startFill=0;endArrow=ERmandOne;fontFamily=Verdana;fontSize=14;" parent="1" source="35c4ae0db3269c63-13" target="35c4ae0db3269c63-21" edge="1">
      <mxGeometry x="-0.1111" y="30" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-13" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="460" y="370" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-14" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-13" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-15" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-13" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-16" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-13" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-17" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="140" y="370" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-18" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-17" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-19" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-17" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-20" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-17" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-34" value="relation" style="edgeStyle=none;html=1;labelBackgroundColor=none;startArrow=ERzeroToMany;startFill=1;endArrow=ERmandOne;fontFamily=Verdana;fontSize=14;" parent="1" source="35c4ae0db3269c63-21" target="35c4ae0db3269c63-25" edge="1">
      <mxGeometry x="0.0909" y="15" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-21" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="460" y="570" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-22" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-21" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-23" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-21" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-24" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-21" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-25" value="Section" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;" parent="1" vertex="1">
      <mxGeometry x="820" y="570" width="140" height="110" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-26" value="Row 1" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-25" vertex="1">
      <mxGeometry y="22" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-27" value="Row 2" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-25" vertex="1">
      <mxGeometry y="48" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-28" value="Row 3" style="text;html=1;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="35c4ae0db3269c63-25" vertex="1">
      <mxGeometry y="74" width="140" height="26" as="geometry"/>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-29" value="relation" style="html=1;endArrow=ERmandOne;labelBackgroundColor=none;fontFamily=Verdana;fontSize=14;startArrow=ERmandOne;startFill=0;" parent="1" source="35c4ae0db3269c63-17" target="35c4ae0db3269c63-1" edge="1">
      <mxGeometry x="0.1111" y="-30" width="100" height="100" relative="1" as="geometry">
        <mxPoint x="220" y="670" as="sourcePoint"/>
        <mxPoint x="320" y="570" as="targetPoint"/>
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="35c4ae0db3269c63-30" value="relation" style="edgeStyle=none;html=1;labelBackgroundColor=none;startArrow=ERoneToMany;startFill=0;endArrow=ERoneToMany;fontFamily=Verdana;fontSize=14;endFill=0;" parent="1" source="35c4ae0db3269c63-1" target="35c4ae0db3269c63-5" edge="1">
      <mxGeometry y="15" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
  </root>
</mxGraphModel>

```