-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drawio
101 lines (101 loc) · 6.99 KB
/
.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
<mxfile host="65bd71144e">
<diagram id="eW3sLS4Qmy9pAKeDxKra" name="Page-1">
<mxGraphModel dx="669" dy="440" 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="14" value="" style="edgeStyle=none;html=1;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="359.9655172413793" y="375" as="sourcePoint"/>
<mxPoint x="356.51724137931035" y="475" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="15" value="loop through current<br>&nbsp;array children" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="14">
<mxGeometry x="-0.4028" y="4" relative="1" as="geometry">
<mxPoint x="-1" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="current array" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="300" y="315" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="20" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="3" target="19">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="3" value="not array" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="435" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="21" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="4" target="19">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="4" value="not array" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="475" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="16" style="edgeStyle=none;html=1;entryX=0;entryY=0.808;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="650" y="431.96000000000004" as="targetPoint"/>
<Array as="points">
<mxPoint x="530" y="475"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="17" value="push to&nbsp; queue" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="16">
<mxGeometry x="-0.0645" y="1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="5" target="19">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="5" value="array" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="515" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;" edge="1" parent="1" target="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="660" y="395" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="shift first element<br>&nbsp;from queue" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="11">
<mxGeometry x="0.3232" y="-3" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;" edge="1" parent="1" source="9">
<mxGeometry relative="1" as="geometry">
<mxPoint x="650" y="357.3255813953489" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" value="push to queue" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="10">
<mxGeometry x="-0.2264" y="1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="9" value="start array" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="460" y="245" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="25" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="19" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="26" value="assign&nbsp;<br>accumulated<br>array to<br>array children<br>accumulator" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="25">
<mxGeometry x="-0.3472" y="-3" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="19" value="array children accumulator" style="whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="140" y="485" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="24" style="edgeStyle=none;html=1;" edge="1" parent="1" source="23" target="19">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="23" value="not array" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="555" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="27" value="Cycle continues as far as there's data waiting in queue" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="155" y="180" width="310" height="30" as="geometry"/>
</mxCell>
<mxCell id="28" value="queue" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1">
<mxGeometry x="650" y="340" width="80" height="105" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>