-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.xml
2 lines (2 loc) · 4.01 KB
/
database.xml
1
2
<?xml version="1.0" encoding="UTF-8"?>
<mxGraphModel dx="831" dy="468" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" fold="1" page="1" pageScale="1" pageWidth="826" pageHeight="1169" style="default-style2" math="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="2" value="Accident" style="swimlane;html=1;childLayout=stackLayout;horizontal=1;startSize=32;horizontalStack=0;fillColor=#008cff;fontColor=#FFFFFF;rounded=1;fontSize=17;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1"><mxGeometry x="100" y="90" width="180" height="510" as="geometry"/></mxCell><mxCell id="3" value="+id (K)<br>+timestamp<br>+day_of_week<br>+latitude<br>+longitude<br>+relation_to_junction<br>+persons_count<br>+fatalities_count<br>+vehicles_count<br>+road_class<br>+speed_limit<br>+surface_cond<br>+snow<br>+rain<br>+wind<br>+fog<br>+lighting<br>+traffic_control<br>+other_conditions<br><br><br><br><br>" style="whiteSpace=wrap;html=1;align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=17;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="2" vertex="1"><mxGeometry y="32" width="180" height="478" as="geometry"/></mxCell><mxCell id="4" value="Vehicle" style="swimlane;html=1;childLayout=stackLayout;horizontal=1;startSize=32;horizontalStack=0;fillColor=#008cff;fontColor=#FFFFFF;rounded=1;fontSize=17;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1"><mxGeometry x="410" y="50" width="200" height="440" as="geometry"/></mxCell><mxCell id="5" value="+acc_id (FK)<br>+id (K)<br>+type<br>+driver_sex<br>+driver_age<br>+passenger_count<br>+hit_and_run<br>+skidded<br>+rollover<br>+jackknifing<br>+first_impact_area<br>+maneuver<br>+prior_location<br>+driver_drinking<br>+fuel type<br>+make<br>+model<br><br>" style="whiteSpace=wrap;html=1;align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=17;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="4" vertex="1"><mxGeometry y="32" width="200" height="408" as="geometry"/></mxCell><mxCell id="7" value="" style="edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;" parent="1" source="3" target="5" edge="1"><mxGeometry width="100" height="100" relative="1" as="geometry"><mxPoint x="310" y="190" as="sourcePoint"/><mxPoint x="410" y="90" as="targetPoint"/></mxGeometry></mxCell><mxCell id="8" value="Person" style="swimlane;html=1;childLayout=stackLayout;horizontal=1;startSize=32;horizontalStack=0;fillColor=#008cff;fontColor=#FFFFFF;rounded=1;fontSize=17;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1"><mxGeometry x="410" y="531" width="180" height="270" as="geometry"/></mxCell><mxCell id="9" value="+acc_id (FK)<br>+veh_id (FK)<br>+id (K)<br>+sex<br>+age<br>+type<br>+injury_level<br>+seatbelt<br>+seated_pos<br><br><br>" style="whiteSpace=wrap;html=1;align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=17;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="8" vertex="1"><mxGeometry y="32" width="180" height="238" as="geometry"/></mxCell><mxCell id="10" value="" style="edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;" parent="1" source="5" target="9" edge="1"><mxGeometry width="100" height="100" relative="1" as="geometry"><mxPoint x="620" y="506" as="sourcePoint"/><mxPoint x="640" y="211" as="targetPoint"/></mxGeometry></mxCell><mxCell id="11" value="" style="edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERoneToMany;" parent="1" source="3" target="9" edge="1"><mxGeometry x="520" y="455" width="100" height="100" as="geometry"><mxPoint x="330" y="740" as="sourcePoint"/><mxPoint x="200" y="530" as="targetPoint"/></mxGeometry></mxCell></root></mxGraphModel>