73 lines
5.7 KiB
Plaintext
73 lines
5.7 KiB
Plaintext
<mxfile host="65bd71144e">
|
|
<diagram id="IsahtfXpGEnurlJZm06P" name="Page-1">
|
|
<mxGraphModel dx="1085" dy="1014" 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="15" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="2" target="5">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="2" value="<div style="line-height: 24px;"><font><span style="font-size: 18px;">open file request.txt, assign it to file_handler input_file</span></font><br></div>" style="whiteSpace=wrap;html=1;labelBackgroundColor=default;fontColor=#000000;" parent="1" vertex="1">
|
|
<mxGeometry x="110" y="60" width="380" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="16" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="5" target="7">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="5" value="<div style="line-height: 24px;"><font><span style="font-size: 18px;">open file new_request.txt, assign it to file_handler output_file</span></font><br></div>" style="whiteSpace=wrap;html=1;fontFamily=Helvetica;strokeColor=default;fillColor=none;align=center;labelBackgroundColor=default;fontColor=#3b3535;" parent="1" vertex="1">
|
|
<mxGeometry x="110" y="190" width="380" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="17" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="7" target="9">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="23" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;fontColor=#000000;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="7" target="10">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="50" y="370.1111111111111" as="targetPoint"/>
|
|
<Array as="points">
|
|
<mxPoint x="100" y="370"/>
|
|
<mxPoint x="100" y="620"/>
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="7" value="if the line started with APPLE" style="rhombus;whiteSpace=wrap;html=1;fontSize=18;" parent="1" vertex="1">
|
|
<mxGeometry x="153.75" y="310" width="292.5" height="120" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="18" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="9" target="10">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="9" value="<font style="font-size: 18px;">print it out without new line ending&nbsp;<br>write it to the output_file<br></font>" style="whiteSpace=wrap;html=1;fontFamily=Helvetica;" parent="1" vertex="1">
|
|
<mxGeometry x="135" y="480" width="330" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="19" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="10" target="14">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="10" value="<font style="font-size: 18px;">next line</font>" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
|
<mxGeometry x="160" y="590" width="280" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="21" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="11" target="13">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="11" value="close the output_file handler" style="whiteSpace=wrap;html=1;fontSize=18;" parent="1" vertex="1">
|
|
<mxGeometry x="160" y="820" width="280" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="13" value="close the input_file handler" style="whiteSpace=wrap;html=1;fontSize=18;" parent="1" vertex="1">
|
|
<mxGeometry x="160" y="930" width="280" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="20" value="" style="edgeStyle=none;html=1;fontColor=#000000;" edge="1" parent="1" source="14" target="11">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="22" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontColor=#000000;" edge="1" parent="1" source="14">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="300" y="280" as="targetPoint"/>
|
|
<Array as="points">
|
|
<mxPoint x="560" y="740"/>
|
|
<mxPoint x="560" y="280"/>
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="14" value="reach the <br>end of file ?" style="rhombus;whiteSpace=wrap;html=1;fontSize=18;" parent="1" vertex="1">
|
|
<mxGeometry x="192.5" y="700" width="215" height="80" as="geometry"/>
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile> |