-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUntitled Diagram.drawio
More file actions
118 lines (118 loc) · 14.8 KB
/
Untitled Diagram.drawio
File metadata and controls
118 lines (118 loc) · 14.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0" version="27.1.1">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="2029" dy="1862" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="IsfFs_oJXku781px_-HO-0" value="recipes" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="160" y="160" width="160" height="190" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-1" value="<div>id : text</div><div>name : text</div><div>minutes : integer</div><div>description : text</div><div>likes : integer</div><div>comments : integer</div><div>image : text</div><div>recipe_cuisine : text</div><div>user_id : text</div><div><br></div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-0" vertex="1">
<mxGeometry y="50" width="160" height="140" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-2" target="IsfFs_oJXku781px_-HO-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-2" value="categories" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="640" y="-80" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-3" value="<div>id : integer (auto)</div><div>name : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-2" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-4" value="recipe_categories" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="430" y="-80" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-5" value="<div>recipe_id : text</div><div>category : integer</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-4" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-6" target="IsfFs_oJXku781px_-HO-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-6" value="comments" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="60" y="460" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-7" value="<div>id : integer (auto)</div><div>recipe_id : text</div><div>user_id : text</div><div>comment :&nbsp; text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-6" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-8" value="users" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="350" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-9" value="<div>id : text</div><div>name : text</div><div>email : text</div><div>created_at : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-8" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-10" value="cookbooks" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="640" y="160" width="160" height="130" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-11" value="<div>id : text</div><div>name : text</div><div>description : text</div><div>likes : integer</div><div>user_id : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-10" vertex="1">
<mxGeometry y="50" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-13" value="cookbook_recipes" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="160" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-14" value="<div>cookbook_id : text</div><div>recipe_id : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-13" vertex="1">
<mxGeometry y="50" width="160" height="40" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-15" target="IsfFs_oJXku781px_-HO-1" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="80" y="385" />
<mxPoint x="110" y="385" />
<mxPoint x="110" y="245" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-15" value="recipe_cuisines" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="-80" y="300" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-16" value="<div>id : integer (auto)</div><div>name : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-15" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-17" value="ingredients" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="-320" y="160" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-18" value="<div>id : integer (auto)</div><div>name : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-17" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-19" value="ingredients_amounts" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="-80" y="160" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-20" value="<div>id : integer (auto)</div><div>recipe_id : text</div><div>ingredient_id : text</div><div>amount : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-19" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-21" value="user_liked_recipe" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="400" y="520" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-22" value="<div>user_id : text</div><div>recipe_id : text</div>" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;whiteSpace=wrap;" parent="IsfFs_oJXku781px_-HO-21" vertex="1">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-18" target="IsfFs_oJXku781px_-HO-20" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-20" target="IsfFs_oJXku781px_-HO-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-5" target="IsfFs_oJXku781px_-HO-0" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-11" target="IsfFs_oJXku781px_-HO-14" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-14" target="IsfFs_oJXku781px_-HO-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-11" target="IsfFs_oJXku781px_-HO-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-9" target="IsfFs_oJXku781px_-HO-21" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-22" target="IsfFs_oJXku781px_-HO-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="IsfFs_oJXku781px_-HO-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="IsfFs_oJXku781px_-HO-7" target="IsfFs_oJXku781px_-HO-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>