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

46 lines
5.0 KiB
Plaintext

<mxfile host="65bd71144e">
<diagram id="x3mvl7MIxiUfgaiuTItL" name="Page-1">
<mxGraphModel dx="533" dy="574" 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="4" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#1A1A1A;" parent="1" source="2" target="3" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" 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;font color=&quot;#1a1a1a&quot; style=&quot;&quot; size=&quot;3&quot;&gt;sales = [100, 200, 100, 200, 300, 400]&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="120" width="288" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" value="True" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;fontSize=12;strokeColor=#1A1A1A;labelBackgroundColor=none;fontColor=#1A1A1A;" parent="1" source="3" target="5" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="9" value="&lt;font&gt;False&lt;/font&gt;" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;fontSize=12;strokeColor=#1A1A1A;fontColor=#1A1A1A;labelBackgroundColor=none;" parent="1" source="3" target="8" edge="1">
<mxGeometry x="-0.1748" y="-10" relative="1" as="geometry">
<Array as="points">
<mxPoint x="209" y="300"/>
</Array>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="3" value="sales[i] &amp;gt;= 0 ?" style="rhombus;whiteSpace=wrap;html=1;strokeColor=#1A1A1A;fillColor=#E6E6E6;fontColor=#1A1A1A;" parent="1" vertex="1">
<mxGeometry x="363" y="260" width="125" height="80" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontFamily=Helvetica;fontSize=12;entryX=1;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#1A1A1A;" parent="1" source="5" target="3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="710" y="450.28571428571445" as="targetPoint"/>
<Array as="points">
<mxPoint x="670" y="450"/>
<mxPoint x="670" y="300"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="5" 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;&quot;&gt;i = i + 1&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;" parent="1" vertex="1">
<mxGeometry x="326" y="420" width="198" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" value="&lt;div style=&quot;line-height: 24px;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;font style=&quot;&quot; color=&quot;#1a1a1a&quot;&gt;print inventory left&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(212, 212, 212); 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;" parent="1" vertex="1">
<mxGeometry x="110" y="420" width="198" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>