<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" version="29.6.6">
  <diagram name="Inventory_Management" id="5WnA2Ht4Xn8Hmda7SVO9">
    <mxGraphModel dx="1426" dy="785" 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="9SDRwPYUHyIn1RZ8IPTU-32" parent="1" style="swimlane;whiteSpace=wrap;html=1;fontStyle=1;startSize=30;fillColor=#f5f5f5;" value="1. Actor: Quản lý" vertex="1">
          <mxGeometry height="960" width="340" x="170" y="550" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-33" parent="1" style="swimlane;whiteSpace=wrap;html=1;fontStyle=1;startSize=30;fillColor=#dae8fc;" value="2. System: Hệ thống" vertex="1">
          <mxGeometry height="960" width="540" x="510" y="550" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-39" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Lưu trữ thông tin vào&#xa;Cơ sở dữ liệu (Database)" vertex="1">
          <mxGeometry height="50" width="160" x="250" y="370" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-40" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#000000;" value="" vertex="1">
          <mxGeometry height="30" width="30" x="460" y="380" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-54" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-39" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-40">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-41" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="ellipse;html=1;align=center;verticalAlign=middle;fillColor=#d5e8d4;strokeColor=#82b366;" value="Trigger: Có đơn hàng&#xa;mới hoàn thành" vertex="1">
          <mxGeometry height="60" width="140" x="200" y="460" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-42" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Tự động trừ tồn kho&#xa;dựa trên định mức" vertex="1">
          <mxGeometry height="50" width="150" x="195" y="560" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-43" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="rhombus;whiteSpace=wrap;html=1;" value="Kiểm tra lượng&#xa;tồn kho hiện tại" vertex="1">
          <mxGeometry height="90" width="120" x="210" y="650" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-44" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;fillColor=#f8cecc;strokeColor=#b85450;" value="Gửi thông báo Đỏ: Kho ÂM!&#xa;Yêu cầu kiểm kê/kiểm tra lại" vertex="1">
          <mxGeometry height="50" width="160" x="20" y="790" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-45" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;fillColor=#ffe6cc;strokeColor=#d79b00;" value="Gửi cảnh báo Vàng:&#xa;Nguyên liệu sắp hết" vertex="1">
          <mxGeometry height="50" width="160" x="190" y="790" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-46" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;fillColor=#d5e8d4;strokeColor=#82b366;" value="Trạng thái bình thường&#xa;(Cập nhật dữ liệu ẩn)" vertex="1">
          <mxGeometry height="50" width="160" x="360" y="790" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-47" parent="9SDRwPYUHyIn1RZ8IPTU-33" style="ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#000000;" value="" vertex="1">
          <mxGeometry height="30" width="30" x="255" y="890" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-55" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-41" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-42">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-56" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-42" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-43">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-57" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-43" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-44" value="&lt; 0 (Âm kho)">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-58" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-43" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-45" value="&lt; Ngưỡng">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-59" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-43" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-46" value="&gt; Ngưỡng (An toàn)">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-60" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-44" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-47">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="100" y="860" />
              <mxPoint x="270" y="860" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-61" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-45" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-47">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-62" edge="1" parent="9SDRwPYUHyIn1RZ8IPTU-33" source="9SDRwPYUHyIn1RZ8IPTU-46" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-47">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="440" y="860" />
              <mxPoint x="270" y="860" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-34" parent="1" style="ellipse;html=1;fillColor=#000000;strokeColor=#000000;" value="" vertex="1">
          <mxGeometry height="30" width="30" x="325" y="590" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-35" parent="1" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Truy cập module&#xa;&quot;Quản lý Kho nguyên liệu&quot;" vertex="1">
          <mxGeometry height="50" width="160" x="260" y="660" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-36" parent="1" style="rhombus;whiteSpace=wrap;html=1;" value="Chọn tác vụ?" vertex="1">
          <mxGeometry height="80" width="110" x="285" y="750" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-65" edge="1" parent="1" source="9SDRwPYUHyIn1RZ8IPTU-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="9SDRwPYUHyIn1RZ8IPTU-39">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-37" parent="1" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Nhập phiếu nhập kho&#xa;(Số lượng, Giá, NCC)" vertex="1">
          <mxGeometry height="50" width="140" x="190" y="870" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-64" edge="1" parent="1" source="9SDRwPYUHyIn1RZ8IPTU-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="9SDRwPYUHyIn1RZ8IPTU-39">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-38" parent="1" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Cài đặt định mức món&#xa;&amp; Ngưỡng cảnh báo" vertex="1">
          <mxGeometry height="50" width="140" x="350" y="870" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-48" edge="1" parent="1" source="9SDRwPYUHyIn1RZ8IPTU-34" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-35">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-49" edge="1" parent="1" source="9SDRwPYUHyIn1RZ8IPTU-35" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="9SDRwPYUHyIn1RZ8IPTU-36">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-50" edge="1" parent="1" source="9SDRwPYUHyIn1RZ8IPTU-36" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" target="9SDRwPYUHyIn1RZ8IPTU-37" value="Nhập hàng">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="9SDRwPYUHyIn1RZ8IPTU-51" edge="1" parent="1" source="9SDRwPYUHyIn1RZ8IPTU-36" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" target="9SDRwPYUHyIn1RZ8IPTU-38" value="Cài định mức">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
