Files
004_comission/max015/T05/3b.drawio
louiscklaw acf9d862ff update,
2025-01-31 21:15:04 +08:00

73 lines
7.0 KiB
Plaintext

<mxfile host="65bd71144e">
<diagram id="x3mvl7MIxiUfgaiuTItL" name="Page-1">
<mxGraphModel dx="1900" dy="2464" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="42" value="" style="edgeStyle=none;html=1;strokeColor=#1A1A1A;" edge="1" parent="1" source="10" target="33">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="10" value="&lt;div style=&quot;line-height: 24px;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;font color=&quot;#1a1a1a&quot;&gt;loop through every sale in sales list,&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;&quot;&gt;&lt;font color=&quot;#1a1a1a&quot;&gt;get item &quot;sale&quot;&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(30, 30, 30); font-size: 18px; font-family: &amp;quot;Monaco for Powerline&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace, Consolas, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;/div&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#E6E6E6;fontColor=#050505;strokeColor=#1A1A1A;" parent="1" vertex="1">
<mxGeometry x="281" y="-450" width="288" height="90" as="geometry"/>
</mxCell>
<mxCell id="43" value="" style="edgeStyle=none;html=1;strokeColor=#1A1A1A;" edge="1" parent="1" source="32" target="10">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="32" value="&lt;div style=&quot;line-height: 24px;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;font color=&quot;#1a1a1a&quot; style=&quot;font-size: 12px;&quot;&gt;initialize&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;&quot;&gt;&lt;div&gt;sales = [100, 200, 100, 200, 300, 400, -1]&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;inventory = 1000&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: rgb(30, 30, 30); font-size: 18px; font-family: &amp;quot;Monaco for Powerline&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace, Consolas, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;/div&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#E6E6E6;fontColor=#050505;strokeColor=#1A1A1A;" vertex="1" parent="1">
<mxGeometry x="281" y="-620" width="288" height="90" as="geometry"/>
</mxCell>
<mxCell id="41" value="False" style="edgeStyle=none;html=1;strokeColor=#1A1A1A;labelBackgroundColor=none;fontColor=#1A1A1A;" edge="1" parent="1" source="33" target="34">
<mxGeometry x="-0.3343" y="25" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="45" value="True" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;strokeColor=#1A1A1A;labelBackgroundColor=none;fontColor=#1A1A1A;" edge="1" parent="1" source="33" target="37">
<mxGeometry x="-0.003" y="20" relative="1" as="geometry">
<Array as="points">
<mxPoint x="580" y="-260"/>
<mxPoint x="580" y="170"/>
<mxPoint x="456" y="170"/>
</Array>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="33" value="end of list" style="rhombus;whiteSpace=wrap;html=1;strokeColor=#1A1A1A;fillColor=#E6E6E6;fontColor=#1A1A1A;" vertex="1" parent="1">
<mxGeometry x="363" y="-300" width="125" height="80" as="geometry"/>
</mxCell>
<mxCell id="40" value="" style="edgeStyle=none;html=1;strokeColor=#1A1A1A;" edge="1" parent="1" source="34" target="35">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="34" value="&lt;div style=&quot;line-height: 24px;&quot;&gt;&lt;div style=&quot;&quot;&gt;inventory = inventory - sales[i]&lt;/div&gt;&lt;div style=&quot;background-color: rgb(30, 30, 30); font-size: 18px; font-family: &amp;quot;Monaco for Powerline&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace, Consolas, &amp;quot;Courier New&amp;quot;, monospace;&quot;&gt;&lt;/div&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#1A1A1A;fillColor=#E6E6E6;fontColor=#1A1A1A;" vertex="1" parent="1">
<mxGeometry x="326" y="-160" width="198" height="60" as="geometry"/>
</mxCell>
<mxCell id="38" value="True" style="edgeStyle=none;html=1;strokeColor=#1A1A1A;fontColor=#1A1A1A;labelBackgroundColor=none;" edge="1" parent="1" source="35" target="36">
<mxGeometry x="0.2" y="14" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="44" value="False" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#1A1A1A;labelBackgroundColor=none;fontColor=#1A1A1A;" edge="1" parent="1" source="35" target="10">
<mxGeometry x="-0.0049" y="-20" relative="1" as="geometry">
<Array as="points">
<mxPoint x="220"/>
<mxPoint x="220" y="-405"/>
</Array>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="35" value="inventory &amp;lt; 0" style="rhombus;whiteSpace=wrap;html=1;strokeColor=#1A1A1A;fillColor=#E6E6E6;fontColor=#1A1A1A;" vertex="1" parent="1">
<mxGeometry x="363" y="-40" width="125" height="80" as="geometry"/>
</mxCell>
<mxCell id="39" value="" style="edgeStyle=none;html=1;strokeColor=#1A1A1A;" edge="1" parent="1" source="36" target="37">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="36" value="print out of stock" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#1A1A1A;fillColor=#E6E6E6;fontColor=#1A1A1A;" vertex="1" parent="1">
<mxGeometry x="363.75" y="90" width="123.5" height="50" as="geometry"/>
</mxCell>
<mxCell id="37" value="end" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#1A1A1A;fillColor=#E6E6E6;fontColor=#1A1A1A;" vertex="1" parent="1">
<mxGeometry x="363.75" y="190" width="123.5" height="50" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>