<mxfile host="app.diagrams.net" modified="2026-05-05T00:00:00.000Z" agent="ChatGPT" version="24.7.17" type="device">
  <diagram id="scenario3-successful-payment" name="3. scenārijs - Veiksmīgs maksājums">
    <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="3. scenārijs: Veiksmīgs maksājums 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="Lietotājs atver grozu ar izvēlētajiem ēdieniem" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="180" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step2" value="Sistēma parāda pasūtījuma kopsavilkumu: ēdieni, cena, piegādes maksa un adrese" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="280" width="300" height="90" as="geometry"/>
        </mxCell>

        <mxCell id="step3" value="Lietotājs nospiež pogu “Pasūtīt”" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="410" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step4" value="Sistēma atver maksājuma izvēles logu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="520" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step5" value="Lietotājs izvēlas maksājuma metodi: saglabāta karte vai jauna karte" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="630" width="300" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="step6" value="Sistēma nosūta maksājuma pieprasījumu bankai / maksājumu servisam" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="750" width="300" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="decision" value="Vai maksājums apstiprināts?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="295" y="870" width="220" height="120" as="geometry"/>
        </mxCell>

        <mxCell id="success1" value="Sistēma saņem apstiprinājumu par veiksmīgu maksājumu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="890" width="260" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="success2" value="Sistēma izveido pasūtījumu un nosūta to restorānam" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="1020" width="260" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="success3" value="Lietotājs redz ziņojumu: “Pasūtījums veiksmīgi veikts”" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="555" y="1140" width="260" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="error_note" value="Nē → kļūdas gadījums tiek aprakstīts 5. scenārijā" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="20" y="895" width="245" 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="605" y="1260" 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="step3">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e4" 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="e5" 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="e6" 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="e7" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step6" target="decision">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e8" value="Jā" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="decision" target="success1">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e9" value="Nē" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="decision" target="error_note">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e10" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="success1" target="success2">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e11" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="success2" target="success3">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e12" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="success3" target="end">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>

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