Загрузка данных


<mxfile host="app.diagrams.net">
  <diagram name="Array-Task1-Fixed" id="arr-task1-fix">
    <mxGraphModel dx="1000" dy="800" 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="0" />
        <mxCell id="1" parent="0" />

        <!-- НАЧАЛО -->
        <mxCell id="start" value="начало" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeWidth=1.5;" vertex="1" parent="1">
          <mxGeometry x="340" y="40" width="140" height="40" as="geometry" />
        </mxCell>

        <!-- 1. ЦИКЛ ВВОДА -->
        <mxCell id="loop_in" value="i := 0..9, 1" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=1.5;" vertex="1" parent="1">
          <mxGeometry x="330" y="120" width="160" height="50" as="geometry" />
        </mxCell>

        <mxCell id="in_elem" value="вв. A[i]" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=1.5;" vertex="1" parent="1">
          <mxGeometry x="340" y="210" width="140" height="45" as="geometry" />
        </mxCell>

        <!-- 2. ЦИКЛ ВЫВОДА -->
        <mxCell id="loop_out" value="i := 0..9, 1" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=1.5;" vertex="1" parent="1">
          <mxGeometry x="330" y="320" width="160" height="50" as="geometry" />
        </mxCell>

        <mxCell id="out_elem" value="выв. A[i]" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=1.5;" vertex="1" parent="1">
          <mxGeometry x="340" y="410" width="140" height="45" as="geometry" />
        </mxCell>

        <!-- КОНЕЦ -->
        <mxCell id="end" value="конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeWidth=1.5;" vertex="1" parent="1">
          <mxGeometry x="340" y="520" width="140" height="40" as="geometry" />
        </mxCell>

        <!-- ЛИНИИ ПОТОКА -->
        <!-- start -> loop_in -->
        <mxCell id="e1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;strokeWidth=1.2;" edge="1" parent="1" source="start" target="loop_in">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>

        <!-- loop_in -> in_elem (вход в тело) -->
        <mxCell id="e2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;strokeWidth=1.2;" edge="1" parent="1" source="loop_in" target="in_elem">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>

        <!-- in_elem -> loop_in (петля возврата ввода слева) -->
        <mxCell id="e3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0;entryY=0.25;strokeWidth=1.2;" edge="1" parent="1" source="in_elem" target="loop_in">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="260" y="233" />
              <mxPoint x="260" y="133" />
            </Array>
          </mxGeometry>
        </mxCell>

        <!-- loop_in -> loop_out (выход из цикла ввода справа сразу во второй цикл) -->
        <mxCell id="e4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;strokeWidth=1.2;" edge="1" parent="1" source="loop_in" target="loop_out">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="530" y="145" />
              <mxPoint x="530" y="290" />
              <mxPoint x="410" y="290" />
            </Array>
          </mxGeometry>
        </mxCell>

        <!-- loop_out -> out_elem (вход в тело вывода) -->
        <mxCell id="e5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;strokeWidth=1.2;" edge="1" parent="1" source="loop_out" target="out_elem">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>

        <!-- out_elem -> loop_out (петля возврата вывода слева) -->
        <mxCell id="e6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=0;entryY=0.25;strokeWidth=1.2;" edge="1" parent="1" source="out_elem" target="loop_out">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="260" y="433" />
              <mxPoint x="260" y="333" />
            </Array>
          </mxGeometry>
        </mxCell>

        <!-- loop_out -> end (выход из цикла вывода справа в конец) -->
        <mxCell id="e7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0.5;entryY=0;strokeWidth=1.2;" edge="1" parent="1" source="loop_out" target="end">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="530" y="345" />
              <mxPoint x="530" y="490" />
              <mxPoint x="410" y="490" />
            </Array>
          </mxGeometry>
        </mxCell>

      </root>
    </mxGraphModel>
  </diagram>
</mxfile>