SWADP/Opdracht_1/class.drawio

100 lines
8.5 KiB
Plaintext
Raw Permalink Normal View History

2023-04-25 13:15:39 +00:00
<mxfile host="65bd71144e">
<diagram id="hUXen1-xG9g13vyYE9lk" name="Page-1">
<mxGraphModel dx="802" dy="404" 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">
2023-04-25 13:15:39 +00:00
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="5" value="Positie" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="170" y="320" width="140" height="140" as="geometry"/>
2023-04-25 13:15:39 +00:00
</mxCell>
<mxCell id="6" value="- x : Int&lt;br&gt;- y : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="5" vertex="1">
2023-04-25 13:15:39 +00:00
<mxGeometry y="30" width="140" height="30" as="geometry"/>
</mxCell>
<mxCell id="7" value="+ move (int, int)&lt;br&gt;+ x : int&lt;br&gt;+ y : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="5" vertex="1">
<mxGeometry y="60" width="140" height="80" as="geometry"/>
2023-04-25 13:15:39 +00:00
</mxCell>
<mxCell id="9" value="Interface" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
2023-04-25 13:15:39 +00:00
<mxGeometry x="170" y="90" width="140" height="110" as="geometry"/>
</mxCell>
<mxCell id="10" value="+ move (int, int)&lt;br&gt;+ x : int&lt;br&gt;+ y : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="9" vertex="1">
2023-04-25 13:15:39 +00:00
<mxGeometry y="30" width="140" height="80" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="endArrow=diamondThin;endFill=0;endSize=24;html=1;" parent="1" target="10" edge="1">
2023-04-25 13:15:39 +00:00
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="240" y="320" as="sourcePoint"/>
<mxPoint x="240" y="210" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" value="Robot" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
2023-04-25 13:15:39 +00:00
<mxGeometry x="480" y="120" width="140" height="80" as="geometry"/>
</mxCell>
<mxCell id="23" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;strokeColor=default;" edge="1" parent="16">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="250" y="50" as="sourcePoint"/>
<mxPoint x="50" y="50" as="targetPoint"/>
<Array as="points">
<mxPoint x="70.24000000000001" y="50"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="17" value="+ show&lt;br&gt;+ run" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="16" vertex="1">
2023-04-25 13:15:39 +00:00
<mxGeometry y="30" width="140" height="50" as="geometry"/>
</mxCell>
<mxCell id="20" value="" style="endArrow=classic;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" target="10" edge="1">
2023-04-25 13:15:39 +00:00
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="480" y="160" as="sourcePoint"/>
<mxPoint x="425" y="120" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="1" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="435" y="125" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="22" value="P" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="320" y="125" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="24" value="X=X+dx&lt;br&gt;Y=Y+dy" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="367" y="380" width="70" height="40" as="geometry"/>
</mxCell>
<mxCell id="25" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;strokeColor=default;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="270" y="410" as="sourcePoint"/>
<mxPoint x="378" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="26" value="std::cout &amp;lt;&amp;lt; P-&amp;gt;x() &amp;lt;&amp;lt; P-&amp;gt;y();" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="720" y="155" width="180" height="30" as="geometry"/>
</mxCell>
<mxCell id="27" value="return x" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="372" y="420" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="28" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;strokeColor=default;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="270" y="435" as="sourcePoint"/>
<mxPoint x="378" y="435" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="30" value="return Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="367" y="430" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="31" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;strokeColor=default;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="270" y="445" as="sourcePoint"/>
<mxPoint x="378" y="445" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="36" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;strokeColor=default;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="690" y="185" as="sourcePoint"/>
<mxPoint x="517" y="185" as="targetPoint"/>
<Array as="points">
<mxPoint x="537.24" y="185"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="37" value="P-&amp;gt;move(x, y);" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="690" y="170" width="100" height="30" as="geometry"/>
</mxCell>
2023-04-25 13:15:39 +00:00
</root>
</mxGraphModel>
</diagram>
</mxfile>