<mxfile host="app.diagrams.net">
  <diagram name="Flowchart Tambah Data Wisata">
    <mxGraphModel dx="1180" dy="720" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169">
      <root>
        <mxCell id="0"/>
        <mxCell id="1" parent="0"/>

        <!-- START -->
        <mxCell id="2" value="Start" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
          <mxGeometry x="340" y="20" width="120" height="50" as="geometry"/>
        </mxCell>

        <!-- ID kosong -->
        <mxCell id="3" value="ID kosong?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="100" width="160" height="80" as="geometry"/>
        </mxCell>

        <!-- Redirect id kosong -->
        <mxCell id="4" value="Redirect id_kosong" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="80" y="220" width="180" height="60" as="geometry"/>
        </mxCell>

        <!-- ID duplikat -->
        <mxCell id="5" value="ID sudah ada?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="220" width="160" height="80" as="geometry"/>
        </mxCell>

        <!-- Redirect id duplikat -->
        <mxCell id="6" value="Redirect id_duplikat" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="520" y="340" width="200" height="60" as="geometry"/>
        </mxCell>

        <!-- Ada foto -->
        <mxCell id="7" value="Ada file foto?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="340" width="160" height="80" as="geometry"/>
        </mxCell>

        <!-- Format valid -->
        <mxCell id="8" value="Format foto valid?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="460" width="180" height="80" as="geometry"/>
        </mxCell>

        <!-- Redirect format salah -->
        <mxCell id="9" value="Redirect format_salah" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="80" y="460" width="200" height="60" as="geometry"/>
        </mxCell>

        <!-- Upload berhasil -->
        <mxCell id="10" value="Upload berhasil?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="580" width="180" height="80" as="geometry"/>
        </mxCell>

        <!-- Redirect gagal upload -->
        <mxCell id="11" value="Redirect gagal_upload" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="80" y="580" width="220" height="60" as="geometry"/>
        </mxCell>

        <!-- Insert wisata -->
        <mxCell id="12" value="Insert data wisata" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="700" width="180" height="60" as="geometry"/>
        </mxCell>

        <!-- Insert berhasil -->
        <mxCell id="13" value="Insert berhasil?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="800" width="180" height="80" as="geometry"/>
        </mxCell>

        <!-- Redirect gagal -->
        <mxCell id="14" value="Redirect gagal" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="80" y="800" width="180" height="60" as="geometry"/>
        </mxCell>

        <!-- Ada kategori -->
        <mxCell id="15" value="Kategori dipilih?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="920" width="180" height="80" as="geometry"/>
        </mxCell>

        <!-- Insert kategori -->
        <mxCell id="16" value="Insert wisata_kategori" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="520" y="1040" width="220" height="60" as="geometry"/>
        </mxCell>

        <!-- Redirect sukses -->
        <mxCell id="17" value="Redirect sukses" style="rectangle;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="1040" width="180" height="60" as="geometry"/>
        </mxCell>

        <!-- END -->
        <mxCell id="18" value="End" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
          <mxGeometry x="340" y="1120" width="120" height="50" as="geometry"/>
        </mxCell>

      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
