-
Notifications
You must be signed in to change notification settings - Fork 0
/
Untitled Diagram.drawio
91 lines (91 loc) · 7.17 KB
/
Untitled Diagram.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
<mxfile host="app.diagrams.net" modified="2022-04-02T20:27:16.677Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" etag="Y5bgbybjcsqHMZOXy4-D" version="17.4.0" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1038" dy="547" 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-3" value="Get Documents from server" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="160" y="80" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-7" value="Sort out the value that would determine the order the documents would be shown on the leaderboard" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="130" y="190" width="150" height="70" as="geometry" />
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-12" value="Sort the array" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="160" y="310" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-1" value="Documents were objects inside main array" style="whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="294" y="60" width="120" height="50" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-2" value="I was sorting by highest kills, so I took all the kills out and put them all in 1 array" style="whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="294" y="190" width="126" height="60" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-3" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" target="WIyWlLk6GJQsqaUBKTNV-7">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="290" as="sourcePoint" />
<mxPoint x="440" y="240" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-4" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.603;exitY=0.997;exitDx=0;exitDy=0;entryX=0.417;entryY=0.045;entryDx=0;entryDy=0;entryPerimeter=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-7" target="WIyWlLk6GJQsqaUBKTNV-12">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="230" y="130" as="sourcePoint" />
<mxPoint x="220" y="200" as="targetPoint" />
<Array as="points">
<mxPoint x="220" y="260" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-5" value="Now I have the highest to lowest kills" style="whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="291" y="300" width="126" height="60" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-6" value="Sort the array" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="110" y="400" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-7" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.6;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" target="qmRpevJEI90KKUarYnVg-6">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="210" y="350" as="sourcePoint" />
<mxPoint x="220.03999999999996" y="321.79999999999995" as="targetPoint" />
<Array as="points">
<mxPoint x="210" y="350" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-9" value="Document" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="70" y="45" width="70" height="85" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-10" value="Document" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="230" y="460" width="80" height="100" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-15" value="Get first 10 documents according to the first 10 kills" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="100" y="490" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-16" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.6;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="174" y="440.2" as="sourcePoint" />
<mxPoint x="146" y="489.99999999999994" as="targetPoint" />
<Array as="points">
<mxPoint x="174" y="440.2" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-17" value="Stop" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="80" y="580" width="80" height="35" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-18" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.6;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="150" y="530" as="sourcePoint" />
<mxPoint x="122" y="579.8" as="targetPoint" />
<Array as="points">
<mxPoint x="150" y="530" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-19" value="User" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="580" y="270" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="qmRpevJEI90KKUarYnVg-20" value="This is really slow and duped values don't stack properly" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;size=30;position=0.63;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="550" y="185" width="120" height="80" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>