Wiki source code of Diagram

Version 1.1 by Kerem Yollu on 2025/03/23 11:21

Show last authors
1 <mxGraphModel dx="808" dy="1140" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
2 <root>
3 <mxCell id="0"/>
4 <mxCell id="1" parent="0"/>
5 <mxCell id="2" value="ADDRESS" style="swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#fff2cc;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;rounded=1;strokeColor=#d6b656;" vertex="1" parent="1">
6 <mxGeometry x="40" y="34" width="400" height="312" as="geometry">
7 <mxRectangle x="60" y="34" width="90" height="26" as="alternateBounds"/>
8 </mxGeometry>
9 </mxCell>
10 <mxCell id="3" value="+ uid: integer -&amp;gt; Primary Key &amp;lt;PK&amp;gt;" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;labelBackgroundColor=none;" vertex="1" parent="2">
11 <mxGeometry y="26" width="400" height="26" as="geometry"/>
12 </mxCell>
13 <mxCell id="4" value="&lt;div&gt;+ country: character(2) | Non Null &amp;lt;NN&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=#6c8ebf;fillColor=#dae8fc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
14 <mxGeometry y="52" width="400" height="26" as="geometry"/>
15 </mxCell>
16 <mxCell id="5" value="&lt;div&gt;+ region: character varying(100)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
17 <mxGeometry y="78" width="400" height="26" as="geometry"/>
18 </mxCell>
19 <mxCell id="10" value="&lt;div&gt;&lt;div&gt;+ city: character varying(100) | Non Null &amp;lt;NN&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=#6c8ebf;fillColor=#dae8fc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
20 <mxGeometry y="104" width="400" height="26" as="geometry"/>
21 </mxCell>
22 <mxCell id="11" value="&lt;div&gt;&lt;div&gt;+ postcode: character varying(20) | Non Null &amp;lt;NN&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=#6c8ebf;fillColor=#dae8fc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
23 <mxGeometry y="130" width="400" height="26" as="geometry"/>
24 </mxCell>
25 <mxCell id="13" value="&lt;div&gt;&lt;div&gt;+ street: character varying(255) | Non Null &amp;lt;NN&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=#6c8ebf;fillColor=#dae8fc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
26 <mxGeometry y="156" width="400" height="26" as="geometry"/>
27 </mxCell>
28 <mxCell id="14" value="&lt;div&gt;&lt;div&gt;+ number: character varying(20) | Non Null &amp;lt;NN&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=#6c8ebf;fillColor=#dae8fc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
29 <mxGeometry y="182" width="400" height="26" as="geometry"/>
30 </mxCell>
31 <mxCell id="15" value="&lt;div&gt;&lt;div&gt;+ unit character varying(50)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
32 <mxGeometry y="208" width="400" height="26" as="geometry"/>
33 </mxCell>
34 <mxCell id="16" value="&lt;div&gt;&lt;div&gt;+ extra_address character varying(255)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
35 <mxGeometry y="234" width="400" height="26" as="geometry"/>
36 </mxCell>
37 <mxCell id="17" value="&lt;div&gt;&lt;div&gt;+ lon double precision,&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
38 <mxGeometry y="260" width="400" height="26" as="geometry"/>
39 </mxCell>
40 <mxCell id="18" value="&lt;div&gt;&lt;div&gt;+ lat double precision,&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2">
41 <mxGeometry y="286" width="400" height="26" as="geometry"/>
42 </mxCell>
43 </root>
44 </mxGraphModel>