-
Notifications
You must be signed in to change notification settings - Fork 0
/
flowchart-sync.drawio
211 lines (211 loc) · 24 KB
/
flowchart-sync.drawio
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<mxfile host="app.diagrams.net" modified="2024-03-08T12:01:06.544Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" etag="5UMBQojFVJHUlirtalaf" version="24.0.2" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1376" dy="713" 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="bWgWXcPsf9m89apia9PI-184" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-1" target="bWgWXcPsf9m89apia9PI-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-1" value="sync run" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_1;whiteSpace=wrap;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="10" y="30" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-2" value="is online" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="150" y="25" width="80" height="70" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-7" target="bWgWXcPsf9m89apia9PI-13" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-7" value="path has no<br>"to:" prefix" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="280" y="25" width="100" height="70" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-9" target="bWgWXcPsf9m89apia9PI-94" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-9" value="path has no<br>"from:" prefix" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="280" y="436.25" width="100" height="67.5" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-2" target="bWgWXcPsf9m89apia9PI-7" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-13" value="sync from remote" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="410" y="37.5" width="110" height="45" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-34" target="RKALuhZfDTh4fSG94_wn-25" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-34" target="RbxpP7n2QY_3z6UcwIsZ-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-34" value="deletion flag" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="737.5" y="10" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-153" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-41" target="bWgWXcPsf9m89apia9PI-34" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-41" value="remote docs which have<br>not been synchronized yet<br><br>(remote $synchronized &gt; local last sync date)<div>(read only id, $updated and $deleted from remote)</div>" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=input;isCollection=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="590" y="30" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-13" target="bWgWXcPsf9m89apia9PI-41" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-173" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-93" target="bWgWXcPsf9m89apia9PI-171" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-93" value="create<br>remote doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1230" y="595" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-94" target="bWgWXcPsf9m89apia9PI-98" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-94" value="sync to remote" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="410" y="447.5" width="110" height="45" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-95" value="Document:<br>- ...<br>- $synchronized = Date.now()" style="shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;spacing=0;verticalAlign=top;spacingTop=16;align=left;spacingLeft=22;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1000" y="585" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-164" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-98" target="bWgWXcPsf9m89apia9PI-162" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-98" value="local docs which have<br>not been synchronized yet<br><br>(local $synchronized = 0)" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=input;isCollection=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="590" y="440" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-172" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-104" target="bWgWXcPsf9m89apia9PI-171" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-104" value="update<br>remote doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1230" y="440" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-108" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-95" target="bWgWXcPsf9m89apia9PI-93" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-109" value="Document:<br>- ...<br>- $synchronized = Date.now()" style="shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;spacing=0;verticalAlign=top;spacingTop=16;align=left;spacingLeft=22;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1000" y="430" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-110" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-109" target="bWgWXcPsf9m89apia9PI-104" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-168" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-162" target="bWgWXcPsf9m89apia9PI-95" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-162" value="remote doc<br>exists" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="740" y="420" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-166" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-163" target="bWgWXcPsf9m89apia9PI-109" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fmoBwbOztXzBc1PibgEX-0" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-163" target="bWgWXcPsf9m89apia9PI-171" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-163" value="local doc<br>is newer" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="870" y="420" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-165" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-162" target="bWgWXcPsf9m89apia9PI-163" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-169" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-171" target="bWgWXcPsf9m89apia9PI-170" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1410" y="600" as="sourcePoint" />
<mxPoint x="1440" y="600" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-170" value="delete<br>local doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1560" y="525" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-0" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-171" target="bWgWXcPsf9m89apia9PI-175">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-171" value="deletion flag" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1380" y="505" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-174" value="update<br>local doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1560" y="655" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-178" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-175" target="bWgWXcPsf9m89apia9PI-174" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="bWgWXcPsf9m89apia9PI-175" value="Document:<br>- ...<br>- $updated = 'keep'<br>- $synchronized = Date.now()" style="shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;spacing=0;verticalAlign=top;spacingTop=16;align=left;spacingLeft=22;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1335" y="645" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-22" value="delete<br>local doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1400" y="30" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-25" target="RKALuhZfDTh4fSG94_wn-29" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-25" value="local doc<br>exists" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="737.5" y="130" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-29" target="RKALuhZfDTh4fSG94_wn-37" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-29" value="remote doc<br>is newer" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="860" y="130" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-33" value="update<br>local doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1400" y="150" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-34" value="Document:<br>- ...<br>- $synchronized = Date.now()" style="shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;spacing=0;verticalAlign=top;spacingTop=16;align=left;spacingLeft=22;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1110" y="140" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-34" target="RKALuhZfDTh4fSG94_wn-33" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-37" target="RKALuhZfDTh4fSG94_wn-34" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-37" value="read full doc<div>from remote</div>" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=input;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1010" y="150" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-40" value="create<br>local doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1400" y="270" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-41" value="Document:<br>- ...<br>- $synchronized = Date.now()" style="shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;spacing=0;verticalAlign=top;spacingTop=16;align=left;spacingLeft=22;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1110" y="260" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-41" target="RKALuhZfDTh4fSG94_wn-40" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-44" target="RKALuhZfDTh4fSG94_wn-41" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-44" value="read full doc<div>from remote</div>" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=input;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1010" y="270" width="40" height="60" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RKALuhZfDTh4fSG94_wn-25" target="RKALuhZfDTh4fSG94_wn-44" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="bWgWXcPsf9m89apia9PI-2" target="bWgWXcPsf9m89apia9PI-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RKALuhZfDTh4fSG94_wn-51" value="sync run" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_1;whiteSpace=wrap;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="10" y="30" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RbxpP7n2QY_3z6UcwIsZ-1" target="RbxpP7n2QY_3z6UcwIsZ-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-1" value="remote doc<br>is newer" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="980" y="10" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RbxpP7n2QY_3z6UcwIsZ-3" target="RbxpP7n2QY_3z6UcwIsZ-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-3" value="local doc<br>exists" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;fontSize=10;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="860" y="10" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RbxpP7n2QY_3z6UcwIsZ-7" target="RbxpP7n2QY_3z6UcwIsZ-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-7" value="Updates:<br>- ...<br>- $deleted = 1<div>- $updated = 'keep'</div><div>- $synchronized = Date.now()<br><div><br></div></div>" style="shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;spacing=0;verticalAlign=top;spacingTop=16;align=left;spacingLeft=22;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="1110" y="10" width="190" height="100" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="RbxpP7n2QY_3z6UcwIsZ-10" target="RKALuhZfDTh4fSG94_wn-22">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="RbxpP7n2QY_3z6UcwIsZ-10" value="update<br>local doc" style="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;size=15;html=1;bpmnTransferType=output;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="1330" y="30" width="40" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>