<mxfile host="app.diagrams.net" modified="2026-05-05T00:00:00.000Z" agent="ChatGPT" version="24.7.17" type="device">
  <diagram id="scenario4-delivery" name="4. scenārijs - Pasūtījuma piegāde">
    <mxGraphModel dx="1200" dy="900" 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="title" value="4. scenārijs: Pasūtījuma piegāde Wolt aplikācijā" style="text;html=1;strokeColor=none;fillColor=none;fontSize=20;fontStyle=1;align=center;verticalAlign=middle;" vertex="1" parent="1">
          <mxGeometry x="80" y="30" width="680" height="40" as="geometry"/>
        </mxCell>

        <mxCell id="start" value="Sākums" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="325" y="90" width="160" height="60" as="geometry"/>
        </mxCell>

        <mxCell id="step1" value="Maksājums ir veiksmīgs un pasūtījums ir izveidots" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="180" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step2" value="Sistēma nosūta pasūtījumu izvēlētajam restorānam" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="290" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="decision1" value="Vai restorāns apstiprina pasūtījumu?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="295" y="400" width="220" height="120" as="geometry"/>
        </mxCell>

        <mxCell id="reject" value="Sistēma paziņo lietotājam, ka pasūtījumu nevar izpildīt" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="25" y="420" width="245" height="90" as="geometry"/>
        </mxCell>

        <mxCell id="prepare" value="Restorāns sāk gatavot ēdienu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="420" width="250" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step3" value="Sistēma atjauno statusu: “Restorāns gatavo pasūtījumu”" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="540" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="step4" value="Kurjers pieņem pasūtījumu un dodas uz restorānu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="660" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="step5" value="Sistēma rāda lietotājam piegādes statusu un aptuveno laiku" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="780" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="step6" value="Kurjers paņem ēdienu un dodas uz lietotāja adresi" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="900" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="step7" value="Lietotājs saņem pasūtījumu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="1020" width="250" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step8" value="Sistēma atzīmē pasūtījumu kā piegādātu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="1130" width="250" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="end" value="Beigas" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="600" y="1240" width="160" height="60" as="geometry"/>
        </mxCell>

        <mxCell id="end_reject" value="Beigas" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="65" y="560" width="160" height="60" as="geometry"/>
        </mxCell>

        <mxCell id="e1" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="start" target="step1">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e2" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step1" target="step2">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e3" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step2" target="decision1">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e4" value="Nē" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="decision1" target="reject">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e5" value="Jā" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="decision1" target="prepare">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e6" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="reject" target="end_reject">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e7" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="prepare" target="step3">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e8" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step3" target="step4">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e9" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step4" target="step5">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e10" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step5" target="step6">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e11" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step6" target="step7">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e12" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step7" target="step8">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e13" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step8" target="end">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>

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