<mxfile host="app.diagrams.net" agent="ZFile-Demo" version="24.0.0">
  <diagram id="zfile-preview-flow" name="ZFile 预览流程">
    <mxGraphModel dx="1086" dy="652" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="600" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <mxCell id="start" value="用户点击文件" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
          <mxGeometry x="340" y="60" width="160" height="50" as="geometry" />
        </mxCell>
        <mxCell id="judge" value="判断文件类型" style="rhombus;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
          <mxGeometry x="350" y="160" width="140" height="80" as="geometry" />
        </mxCell>
        <mxCell id="native" value="原生预览器&#10;图 / 视频 / 音频 / 文本 / PDF / 3D" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
          <mxGeometry x="120" y="320" width="220" height="60" as="geometry" />
        </mxCell>
        <mxCell id="kkfile" value="kkFileView 转码&#10;Office / CAD / 压缩包 / 邮件 ..." style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
          <mxGeometry x="500" y="320" width="220" height="60" as="geometry" />
        </mxCell>
        <mxCell id="e1" style="endArrow=classic;html=1;" edge="1" parent="1" source="start" target="judge">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e2" value="可直接渲染" style="endArrow=classic;html=1;fontSize=11;" edge="1" parent="1" source="judge" target="native">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="e3" value="需转码" style="endArrow=classic;html=1;fontSize=11;" edge="1" parent="1" source="judge" target="kkfile">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
