181 lines
No EOL
16 KiB
Text
181 lines
No EOL
16 KiB
Text
<mxfile host="65bd71144e">
|
|
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
|
<mxGraphModel dx="740" dy="1005" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0"/>
|
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0"/>
|
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-8" value="No" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;edgeStyle=orthogonalEdgeStyle;" parent="WIyWlLk6GJQsqaUBKTNV-1" edge="1">
|
|
<mxGeometry x="0.3333" y="20" relative="1" as="geometry">
|
|
<mxPoint as="offset"/>
|
|
<mxPoint x="220" y="430" as="targetPoint"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="24" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="3" target="21" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="3" value="on_trigger" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="160" y="140" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="4" value="static object" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="760" y="20" width="60" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="6" value="decision" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="624" y="20" width="80" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="8" value="global memory" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="460" y="140" width="120" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="9" value="function" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="640" y="160" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="31" style="edgeStyle=none;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="11" target="29" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="11" value="if exchange with crop.name is not null it becomes the object in exchage" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="160" y="480" width="120" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="75" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="13" target="69" edge="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="80" y="800"/>
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="76" value="runs iterate function registered by crop name" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="75" connectable="0" vertex="1">
|
|
<mxGeometry x="-0.0422" y="-1" relative="1" as="geometry">
|
|
<mxPoint as="offset"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="13" value="crop callbacks" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="50" y="620" width="60" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="23" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="20" target="3" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="20" value="new crop name" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="190" y="30" width="60" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="22" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="21" target="13" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="30" style="edgeStyle=none;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="21" target="29" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="21" value="if registered" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="180" y="260" width="80" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="28" value="intermidate / exchange temporary holder between functions" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="630" y="270" width="120" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="32" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="29" target="11" edge="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="90" y="520" as="targetPoint"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="33" value="sets it to null after taken" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="32" connectable="0" vertex="1">
|
|
<mxGeometry x="-0.0277" y="3" relative="1" as="geometry">
|
|
<mxPoint as="offset"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="36" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="29" target="35" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="29" value="either run crop.init() or take from obj from exchange" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="160" y="360" width="120" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="34" value="variable" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="510" y="250" width="120" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="45" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="35" target="44" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="48" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0;entryY=0;entryDx=23;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="35" target="47" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="49" value="entity state&nbsp;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="48" connectable="0" vertex="1">
|
|
<mxGeometry x="0.7642" y="5" relative="1" as="geometry">
|
|
<mxPoint as="offset"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="55" style="edgeStyle=orthogonalEdgeStyle;html=1;fillColor=#60a917;strokeColor=#2D7600;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="35" target="44" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="62" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="35" target="61" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="35" value="if end crop" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="334" y="360" width="80" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="42" value="event" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="450" y="60" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="43" value="<div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: &quot;Droid Sans Mono&quot;, &quot;monospace&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #9cdcfe;">onDestroyRegistry</span></div>" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="590" y="460" width="66" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="57" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="44" target="43" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="44" value="<div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: &quot;Droid Sans Mono&quot;, &quot;monospace&quot;, monospace; font-size: 14px; line-height: 86%;"><span style="color: #dcdcaa;">register_on_entity_destroyed</span></div>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="500" y="370" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="47" value="<div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: &quot;Droid Sans Mono&quot;, &quot;monospace&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><span style="color: #9cdcfe;">endStageCrops</span></div></div>" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="460" y="460" width="66" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="70" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="59" target="69" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="59" value="<div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: &quot;Droid Sans Mono&quot;, &quot;monospace&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #9cdcfe;">registeredEntities</span></div>" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="314" y="630" width="120" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="63" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;fillColor=#a20025;strokeColor=#6F0000;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="61" target="35" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="64" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="61" target="59" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="61" value="if crop.iterate() exists" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="334" y="480" width="80" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="78" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="69" target="77" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="69" value="on_tick" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="314" y="770" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="79" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0;entryY=0;entryDx=120;entryDy=50;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="77" target="59" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="80" value="set to nil" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="79" connectable="0" vertex="1">
|
|
<mxGeometry x="0.5587" y="3" relative="1" as="geometry">
|
|
<mxPoint as="offset"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="83" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="77" target="82" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="77" value="if end_life and not replace" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="500" y="760" width="80" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="84" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="82" target="11" edge="1">
|
|
<mxGeometry relative="1" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="85" value="pass init object into exchange<br>with name of new crop" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="84" connectable="0" vertex="1">
|
|
<mxGeometry x="0.4012" y="1" relative="1" as="geometry">
|
|
<mxPoint as="offset"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="87" value="replaces crop" style="edgeStyle=orthogonalEdgeStyle;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="82" edge="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="670" y="590" as="targetPoint"/>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="82" value="if end_life and replace" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="500" y="550" width="80" height="80" as="geometry"/>
|
|
</mxCell>
|
|
<mxCell id="88" value="on_trigger" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
|
<mxGeometry x="670" y="560" width="120" height="60" as="geometry"/>
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile> |