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


<mxGraphModel dx="1200" dy="1400" grid="0" 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" />

    <!-- 1. Начало -->
    <mxCell id="start" value="Начало" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;fontStyle=1;" vertex="1" parent="1">
      <mxGeometry x="320" y="30" width="140" height="40" as="geometry" />
    </mxCell>

    <!-- 2. Ввод границ и шага -->
    <mxCell id="in_params" value="ввод x_start, x_end, dx" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="275" y="100" width="230" height="40" as="geometry" />
    </mxCell>

    <!-- 3. Заголовок цикла for (ГОСТ-шестиугольник) -->
    <mxCell id="loop_for" value="x = x_start, x_end, dx" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;size=0.15;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="270" y="175" width="240" height="45" as="geometry" />
    </mxCell>

    <!-- 4. Условие 1: x < 0 -->
    <mxCell id="cond1" value="x &lt; 0" style="rhombus;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="190" y="260" width="140" height="55" as="geometry" />
    </mxCell>

    <!-- 5. Ветка 1: y = e^(-x) -->
    <mxCell id="op1" value="y = e&lt;sup&gt;-x&lt;/sup&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="100" y="360" width="140" height="45" as="geometry" />
    </mxCell>

    <!-- 6. Условие 2: x <= 4.5 -->
    <mxCell id="cond2" value="x ≤ 4,5" style="rhombus;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="410" y="260" width="140" height="55" as="geometry" />
    </mxCell>

    <!-- 7. Ветка 2: y = 1 - ln(1 + x^2) -->
    <mxCell id="op2" value="y = 1 - ln(1 + x&lt;sup&gt;2&lt;/sup&gt;)" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="300" y="360" width="180" height="45" as="geometry" />
    </mxCell>

    <!-- 8. Ветка 3: y = 2 * x -->
    <mxCell id="op3" value="y = 2 · x" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="510" y="360" width="140" height="45" as="geometry" />
    </mxCell>

    <!-- 9. Вывод x, y на каждом шаге -->
    <mxCell id="out_xy" value="вывод x, y" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1">
      <mxGeometry x="305" y="455" width="170" height="40" as="geometry" />
    </mxCell>

    <!-- 10. Конец -->
    <mxCell id="end" value="Конец" style="rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeWidth=2;strokeColor=#1E293B;fontFamily=Times New Roman;fontSize=14;fontStyle=1;" vertex="1" parent="1">
      <mxGeometry x="320" y="555" width="140" height="40" as="geometry" />
    </mxCell>

    <!-- Линии ствола -->
    <mxCell id="e_start" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="start" target="in_params">
      <mxGeometry relative="1" as="geometry" />
    </mxCell>

    <mxCell id="e_in_loop" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="in_params" target="loop_for">
      <mxGeometry relative="1" as="geometry" />
    </mxCell>

    <!-- Вход в тело цикла: Да -> cond1 -->
    <mxCell id="e_loop_body" value="Да" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#047857;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="loop_for" target="cond1">
      <mxGeometry relative="1" as="geometry">
        <Array as="points">
          <mxPoint x="390" y="235" />
          <mxPoint x="260" y="235" />
        </Array>
      </mxGeometry>
    </mxCell>

    <!-- cond1 -> Да -> op1 -->
    <mxCell id="e_c1_yes" value="Да" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#047857;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="cond1" target="op1">
      <mxGeometry relative="1" as="geometry">
        <Array as="points">
          <mxPoint x="170" y="287.5" />
        </Array>
      </mxGeometry>
    </mxCell>

    <!-- cond1 -> Нет -> cond2 -->
    <mxCell id="e_c1_no" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="cond1" target="cond2">
      <mxGeometry relative="1" as="geometry" />
    </mxCell>

    <!-- cond2 -> Да -> op2 -->
    <mxCell id="e_c2_yes" value="Да" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#047857;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="cond2" target="op2">
      <mxGeometry relative="1" as="geometry">
        <Array as="points">
          <mxPoint x="390" y="287.5" />
        </Array>
      </mxGeometry>
    </mxCell>

    <!-- cond2 -> Нет -> op3 -->
    <mxCell id="e_c2_no" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="cond2" target="op3">
      <mxGeometry relative="1" as="geometry">
        <Array as="points">
          <mxPoint x="580" y="287.5" />
        </Array>
      </mxGeometry>
    </mxCell>

    <!-- Сведение веток op1, op2, op3 в вывод x, y -->
    <mxCell id="e_op1_bus" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=none;" edge="1" parent="1" source="op1">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="390" y="425" as="targetPoint" />
        <Array as="points">
          <mxPoint x="170" y="425" />
        </Array>
      </mxGeometry>
    </mxCell>

    <mxCell id="e_op2_bus" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=none;" edge="1" parent="1" source="op2">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="390" y="425" as="targetPoint" />
      </mxGeometry>
    </mxCell>

    <mxCell id="e_op3_bus" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=none;" edge="1" parent="1" source="op3">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="390" y="425" as="targetPoint" />
        <Array as="points">
          <mxPoint x="580" y="425" />
        </Array>
      </mxGeometry>
    </mxCell>

    <mxCell id="e_bus_out" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" target="out_xy">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="390" y="425" as="sourcePoint" />
      </mxGeometry>
    </mxCell>

    <!-- Петля цикла: возврат из вывода x, y обратно наверх в цикл -->
    <mxCell id="e_loop_back" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;" edge="1" parent="1" source="out_xy">
      <mxGeometry relative="1" as="geometry">
        <mxPoint x="390" y="160" as="targetPoint" />
        <Array as="points">
          <mxPoint x="390" y="520" />
          <mxPoint x="60" y="520" />
          <mxPoint x="60" y="160" />
        </Array>
      </mxGeometry>
    </mxCell>

    <!-- Выход из цикла: Нет -> обход в Конец -->
    <mxCell id="e_loop_exit" value="Нет" style="edgeStyle=orthogonalEdgeStyle;rounded=0;strokeWidth=2;strokeColor=#1E293B;endArrow=classic;fontColor=#B91C1C;fontStyle=1;labelBackgroundColor=#FFFFFF;" edge="1" parent="1" source="loop_for" target="end">
      <mxGeometry relative="1" as="geometry">
        <Array as="points">
          <mxPoint x="690" y="197.5" />
          <mxPoint x="690" y="575" />
        </Array>
      </mxGeometry>
    </mxCell>
  </root>
</mxGraphModel>