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-leaf.drawio
79 lines (79 loc) · 7 KB
/
fetch-leaf.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
<mxfile host="app.diagrams.net" modified="2024-01-19T14:47:25.430Z" 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" etag="1vSKTDW76K2t1n-5RexL" version="22.1.17" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" 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="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-2" 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;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="170" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-3" value="<font color="#000000">fetch(LeafId)</font>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#fad7ac;strokeColor=#b46504;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="160" y="80" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-4" 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;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="iZGQpydUdvDNqvPbXKXa-2" target="iZGQpydUdvDNqvPbXKXa-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-5" value="Ok" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="iZGQpydUdvDNqvPbXKXa-4" vertex="1" connectable="0">
<mxGeometry x="-0.175" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="iZGQpydUdvDNqvPbXKXa-2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="290" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-2" value="<font color="#000000">get from local storage</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="160" y="170" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-3" value="<font color="#000000">return</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;gradientColor=#97d077;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="360" y="170" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="iZGQpydUdvDNqvPbXKXa-7" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-10" value="Yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="iZGQpydUdvDNqvPbXKXa-8" vertex="1" connectable="0">
<mxGeometry x="-0.205" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="iZGQpydUdvDNqvPbXKXa-7" target="iZGQpydUdvDNqvPbXKXa-16" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="440" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-7" value="<font color="#000000">looking up by height?</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="160" y="290" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="iZGQpydUdvDNqvPbXKXa-9" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="560" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-13" value="Yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="iZGQpydUdvDNqvPbXKXa-11" vertex="1" connectable="0">
<mxGeometry x="-0.0559" y="-3" relative="1" as="geometry">
<mxPoint y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="iZGQpydUdvDNqvPbXKXa-9" target="iZGQpydUdvDNqvPbXKXa-16" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="420" y="440" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-9" value="<font color="#000000">requested height &lt; current height?</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#b1ddf0;strokeColor=#10739e;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="360" y="290" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-12" value="<font color="#000000">fetch from external provider</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d0cee2;strokeColor=#56517e;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="560" y="290" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="iZGQpydUdvDNqvPbXKXa-16" value="<font color="#000000">wait passively</font>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d0cee2;strokeColor=#56517e;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="260" y="410" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>