This repository was archived by the owner on Feb 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfetch-block.drawio
123 lines (123 loc) · 10.4 KB
/
fetch-block.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
<mxfile host="app.diagrams.net" modified="2024-01-19T14:57:58.808Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" version="22.1.17" etag="9oWsD-VoVbYulyzVyZjd" type="device">
<diagram id="Q9WjHm_RDffWRHmuRSin" name="Page-1">
<mxGraphModel dx="1306" dy="835" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="Z_8L0rbnT1YrWjRb37dX-1" value="" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="170" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-2" value="<font color="#000000">fetch(BlockId)</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#fad7ac;strokeColor=#b46504;" vertex="1" parent="1">
<mxGeometry x="160" y="80" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-3" 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;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-6" target="Z_8L0rbnT1YrWjRb37dX-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-4" value="Ok" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Z_8L0rbnT1YrWjRb37dX-3">
<mxGeometry x="-0.175" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="290" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-33" value="Err" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Z_8L0rbnT1YrWjRb37dX-5">
<mxGeometry x="0.1082" y="-1" relative="1" as="geometry">
<mxPoint x="1" y="-3" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-6" value="<font color="#000000">get from local storage</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" vertex="1" parent="1">
<mxGeometry x="160" y="170" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-7" value="<font color="#000000">return</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;gradientColor=#97d077;" vertex="1" parent="1">
<mxGeometry x="360" y="170" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-11" target="Z_8L0rbnT1YrWjRb37dX-15">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="440" as="targetPoint" />
<mxPoint x="270" y="530" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-9" value="Yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Z_8L0rbnT1YrWjRb37dX-8">
<mxGeometry x="-0.205" y="-1" relative="1" as="geometry">
<mxPoint x="1" y="6" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-10" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-11" target="Z_8L0rbnT1YrWjRb37dX-17">
<mxGeometry x="-0.1765" y="10" relative="1" as="geometry">
<mxPoint x="220" y="560" as="targetPoint" />
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-11" value="<font color="#000000">looking up by height?</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" vertex="1" parent="1">
<mxGeometry x="160" y="410" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-15" target="Z_8L0rbnT1YrWjRb37dX-17">
<mxGeometry relative="1" as="geometry">
<mxPoint x="560" y="440" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-13" value="No" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Z_8L0rbnT1YrWjRb37dX-12">
<mxGeometry x="-0.0559" y="-3" relative="1" as="geometry">
<mxPoint x="-10" y="7" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-14" value="Yes<br>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-15" target="Z_8L0rbnT1YrWjRb37dX-16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="640" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-15" value="<font color="#000000">requested height &lt; current height?</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" vertex="1" parent="1">
<mxGeometry x="160" y="530" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-30" 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;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-16" target="Z_8L0rbnT1YrWjRb37dX-24">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-16" value="<font color="#000000">fetch header from external provider</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d0cee2;strokeColor=#56517e;" vertex="1" parent="1">
<mxGeometry x="160" y="650" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-17" value="<font color="#000000">wait passively</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d0cee2;strokeColor=#56517e;" vertex="1" parent="1">
<mxGeometry x="360" y="470" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-18" value="Err" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-19">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-19" value="<font color="#000000">get header from local storage</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" vertex="1" parent="1">
<mxGeometry x="160" y="290" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="Z_8L0rbnT1YrWjRb37dX-24">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="319.5" as="sourcePoint" />
<mxPoint x="400" y="340" as="targetPoint" />
<Array as="points">
<mxPoint x="540" y="320" />
<mxPoint x="540" y="680" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-21" value="Ok" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Z_8L0rbnT1YrWjRb37dX-20">
<mxGeometry x="-0.175" y="-1" relative="1" as="geometry">
<mxPoint x="-129" y="-30" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="Z_8L0rbnT1YrWjRb37dX-24">
<mxGeometry relative="1" as="geometry">
<mxPoint x="420" y="760" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-24" value="<font color="#000000">fetch payload from provider</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d0cee2;strokeColor=#56517e;" vertex="1" parent="1">
<mxGeometry x="360" y="650" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="Z_8L0rbnT1YrWjRb37dX-32" value="<font color="#000000">return<br>(header, payload)<br></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;gradientColor=#97d077;" vertex="1" parent="1">
<mxGeometry x="360" y="760" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>