---
title: "Data Flow 2 Database"
description: "A database diagram showing entity relationships and structure"
category: "templates/software"
type: "database"
source_file: "templates/software/data_flow_2_decoded.xml"
tags: ["development", "software", "template", "architecture", "drawio"]
---

# Data Flow 2 Database

A database diagram showing entity relationships and structure

## 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="2debaab0fafb2da2-53" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-1" target="2debaab0fafb2da2-16" edge="1">
      <mxGeometry x="-0.8351" y="37" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-1" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="300" y="200" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-47" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-2" target="2debaab0fafb2da2-21" edge="1">
      <mxGeometry x="0.1646" y="-10" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-2" value="Input 1" style="html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="220" y="375" width="110" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-3" value="Output 1" style="html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="960" y="235" width="110" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-4" value="" style="html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.anchor;rounded=0;comic=0;labelBackgroundColor=none;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="370" y="410" width="175" height="160" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-27" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-10" target="2debaab0fafb2da2-19" edge="1">
      <mxGeometry x="-0.0295" y="-27" relative="1" as="geometry">
        <mxPoint y="1" as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-40" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-10" target="2debaab0fafb2da2-24" edge="1">
      <mxGeometry x="-0.4171" y="38" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-10" value="Database" style="html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;shape=mxgraph.ios7ui.horLines;" parent="1" vertex="1">
      <mxGeometry x="855" y="92" width="135" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-34" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-11" target="2debaab0fafb2da2-22" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-35" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-11" target="2debaab0fafb2da2-21" edge="1">
      <mxGeometry x="0.6286" y="31" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-36" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-11" target="2debaab0fafb2da2-19" edge="1">
      <mxGeometry x="-0.3068" y="-40" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-11" value="Input 3" style="html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="580" y="570" width="110" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-50" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-12" target="2debaab0fafb2da2-23" edge="1">
      <mxGeometry x="0.0271" y="22" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-52" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-12" target="2debaab0fafb2da2-19" edge="1">
      <mxGeometry x="-0.8132" y="25" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-12" value="Input 2" style="html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="403" y="590" width="110" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-30" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-13" target="2debaab0fafb2da2-20" edge="1">
      <mxGeometry x="-0.0009" y="32" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-31" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-13" target="2debaab0fafb2da2-21" edge="1">
      <mxGeometry x="0.1405" y="34" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-32" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-13" target="2debaab0fafb2da2-19" edge="1">
      <mxGeometry x="-0.2174" y="30" relative="1" as="geometry">
        <mxPoint y="1" as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-44" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-13" target="2debaab0fafb2da2-1" edge="1">
      <mxGeometry x="-0.4083" y="-35" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-13" value="Input 4" style="html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="295" y="70" width="110" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-45" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-15" target="2debaab0fafb2da2-1" edge="1">
      <mxGeometry x="-0.4772" y="18" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-46" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-15" target="2debaab0fafb2da2-21" edge="1">
      <mxGeometry x="0.3486" y="19" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-15" value="Database" style="html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;shape=mxgraph.ios7ui.horLines;" parent="1" vertex="1">
      <mxGeometry x="105" y="270" width="135" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-48" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-16" target="2debaab0fafb2da2-23" edge="1">
      <mxGeometry x="-0.0418" y="-11" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-49" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-16" target="2debaab0fafb2da2-21" edge="1">
      <mxGeometry x="-0.2851" y="27" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-16" value="Database" style="html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;shape=mxgraph.ios7ui.horLines;" parent="1" vertex="1">
      <mxGeometry x="318" y="480" width="135" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-28" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-17" target="2debaab0fafb2da2-19" edge="1">
      <mxGeometry x="0.4057" y="40" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-29" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-17" target="2debaab0fafb2da2-20" edge="1">
      <mxGeometry x="-0.1774" y="-39" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-17" value="Database" style="html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;shape=mxgraph.ios7ui.horLines;" parent="1" vertex="1">
      <mxGeometry x="600" y="160" width="135" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-37" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-18" target="2debaab0fafb2da2-22" edge="1">
      <mxGeometry x="-0.5912" y="-38" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-42" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-18" target="2debaab0fafb2da2-24" edge="1">
      <mxGeometry x="0.096" y="-35" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-18" value="Database" style="html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;shape=mxgraph.ios7ui.horLines;" parent="1" vertex="1">
      <mxGeometry x="720" y="385" width="135" height="50" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-41" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-19" target="2debaab0fafb2da2-18" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-19" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="675" y="270" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-55" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-20" target="2debaab0fafb2da2-10" edge="1">
      <mxGeometry x="0.0686" y="15" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-20" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="640" y="35" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-38" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-21" target="2debaab0fafb2da2-18" edge="1">
      <mxGeometry x="-0.4915" y="15" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-21" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="500" y="340" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-39" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-22" target="2debaab0fafb2da2-25" edge="1">
      <mxGeometry x="0.1085" y="-25" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-22" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="800" y="470" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-51" value="description" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-23" target="2debaab0fafb2da2-15" edge="1">
      <mxGeometry x="0.0711" y="38" relative="1" as="geometry">
        <mxPoint as="offset"/>
      </mxGeometry>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-23" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="170" y="480" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-43" style="edgeStyle=none;html=1;labelBackgroundColor=none;startFill=0;startSize=8;endFill=1;endSize=8;fontFamily=Verdana;fontSize=12;" parent="1" source="2debaab0fafb2da2-24" target="2debaab0fafb2da2-3" edge="1">
      <mxGeometry relative="1" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-24" value="Function" style="ellipse;whiteSpace=wrap;html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="835" y="225" width="70" height="70" as="geometry"/>
    </mxCell>
    <mxCell id="2debaab0fafb2da2-25" value="Output 2" style="html=1;rounded=0;shadow=1;comic=0;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=2;fillColor=#FFFFFF;fontFamily=Verdana;fontSize=12;fontColor=#000000;align=center;" parent="1" vertex="1">
      <mxGeometry x="950" y="385" width="110" height="50" as="geometry"/>
    </mxCell>
  </root>
</mxGraphModel>

```