-
Notifications
You must be signed in to change notification settings - Fork 2
/
Controller diagram
118 lines (118 loc) · 14.1 KB
/
Controller diagram
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" modified="2021-04-22T20:07:43.860Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36" etag="t3zVP2g-cmyD6cvXJDz_" version="14.6.6" type="github">
<diagram id="y3mFKLoUvwSGWr0nGni4" name="Page-1">
<mxGraphModel dx="1038" dy="548" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="nGt0WdULXEeIFvWTgveP-1" value="Application Controller" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#f8cecc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#b85450;" vertex="1" parent="1">
<mxGeometry x="10" y="10" width="140" height="104" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-2" value="current_user" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-1">
<mxGeometry y="26" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-3" value="logged_in?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-1">
<mxGeometry y="52" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-4" value="admin?" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-1">
<mxGeometry y="78" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-5" value="Users Controller" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#dae8fc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="190" y="10" width="140" height="182" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-6" value="new" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-5">
<mxGeometry y="26" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-7" value="create" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-5">
<mxGeometry y="52" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-8" value="show" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-5">
<mxGeometry y="78" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-9" value="update" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-5">
<mxGeometry y="104" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-11" value="delete" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-5">
<mxGeometry y="130" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-10" value="user_params" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-5">
<mxGeometry y="156" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-12" value="Stations Controller" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#d5e8d4;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="350" y="10" width="140" height="182" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-14" value="create" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-12">
<mxGeometry y="26" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-15" value="show" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-12">
<mxGeometry y="52" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-26" value="edit" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-12">
<mxGeometry y="78" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-16" value="update" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-12">
<mxGeometry y="104" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-17" value="delete" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-12">
<mxGeometry y="130" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-18" value="station_params" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-12">
<mxGeometry y="156" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-27" value="UsersStations Controller" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#ffe6cc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="540" y="10" width="170" height="130" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-32" value="updated?
 - check if station still exists
 - call station update add flag" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-27">
<mxGeometry y="26" width="170" height="54" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-47" value="flag_for_admin
 - add flagged status
 - maybe error message" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-27">
<mxGeometry y="80" width="170" height="50" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-40" value="YES" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#ffe6cc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="500" y="160" width="100" height="78" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-52" value="Update" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-40">
<mxGeometry y="26" width="100" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-53" value="Add Update flag" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-40">
<mxGeometry y="52" width="100" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-42" value="NO" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#ffe6cc;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#d79b00;" vertex="1" parent="1">
<mxGeometry x="660" y="160" width="100" height="78" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-45" value="Do NOT update" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-42">
<mxGeometry y="26" width="100" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-46" value="Flag for ADMIN" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-42">
<mxGeometry y="52" width="100" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.868;entryY=-0.033;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="nGt0WdULXEeIFvWTgveP-32" target="nGt0WdULXEeIFvWTgveP-42">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.18;entryY=-0.037;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="nGt0WdULXEeIFvWTgveP-32" target="nGt0WdULXEeIFvWTgveP-40">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-54" value="Notes Controller" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#f5f5f5;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;strokeColor=#666666;fontColor=#333333;" vertex="1" parent="1">
<mxGeometry x="280" y="210" width="140" height="180" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-55" value="new" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-54">
<mxGeometry y="26" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-56" value="create" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-54">
<mxGeometry y="52" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-57" value="edit" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-54">
<mxGeometry y="78" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-58" value="update" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-54">
<mxGeometry y="104" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-59" value="delete" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-54">
<mxGeometry y="130" width="140" height="26" as="geometry" />
</mxCell>
<mxCell id="nGt0WdULXEeIFvWTgveP-60" value="note_params" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="nGt0WdULXEeIFvWTgveP-54">
<mxGeometry y="156" width="140" height="24" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>