|
| 1 | +<mxfile host="app.diagrams.net"> |
| 2 | + <diagram name="SoA Layout" id="soa-layout"> |
| 3 | + <mxGraphModel dx="1000" dy="600" 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"> |
| 4 | + <root> |
| 5 | + <mxCell id="0" /> |
| 6 | + <mxCell id="1" parent="0" /> |
| 7 | + |
| 8 | + <mxCell id="title" value="SoA 布局:所有 x 连续,所有 y 连续,以此类推" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=16;fontStyle=1;" vertex="1" parent="1"> |
| 9 | + <mxGeometry x="100" y="20" width="460" height="30" as="geometry" /> |
| 10 | + </mxCell> |
| 11 | + |
| 12 | + <!-- x array --> |
| 13 | + <mxCell id="xl" value="x[]" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=2;fillColor=#E8F5E9;fontSize=14;fontStyle=1;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 14 | + <mxGeometry x="80" y="70" width="50" height="35" as="geometry" /> |
| 15 | + </mxCell> |
| 16 | + <mxCell id="x0" value="x₀" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 17 | + <mxGeometry x="130" y="70" width="50" height="35" as="geometry" /> |
| 18 | + </mxCell> |
| 19 | + <mxCell id="x1" value="x₁" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 20 | + <mxGeometry x="180" y="70" width="50" height="35" as="geometry" /> |
| 21 | + </mxCell> |
| 22 | + <mxCell id="x2" value="x₂" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 23 | + <mxGeometry x="230" y="70" width="50" height="35" as="geometry" /> |
| 24 | + </mxCell> |
| 25 | + <mxCell id="xd" value="x₃ x₄ ..." style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=12;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"> |
| 26 | + <mxGeometry x="280" y="70" width="100" height="35" as="geometry" /> |
| 27 | + </mxCell> |
| 28 | + |
| 29 | + <!-- y array --> |
| 30 | + <mxCell id="yl" value="y[]" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=2;fillColor=#E8F5E9;fontSize=14;fontStyle=1;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 31 | + <mxGeometry x="80" y="115" width="50" height="35" as="geometry" /> |
| 32 | + </mxCell> |
| 33 | + <mxCell id="y0" value="y₀" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 34 | + <mxGeometry x="130" y="115" width="50" height="35" as="geometry" /> |
| 35 | + </mxCell> |
| 36 | + <mxCell id="y1" value="y₁" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 37 | + <mxGeometry x="180" y="115" width="50" height="35" as="geometry" /> |
| 38 | + </mxCell> |
| 39 | + <mxCell id="y2" value="y₂" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 40 | + <mxGeometry x="230" y="115" width="50" height="35" as="geometry" /> |
| 41 | + </mxCell> |
| 42 | + <mxCell id="yd" value="y₃ y₄ ..." style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=12;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"> |
| 43 | + <mxGeometry x="280" y="115" width="100" height="35" as="geometry" /> |
| 44 | + </mxCell> |
| 45 | + |
| 46 | + <!-- z array --> |
| 47 | + <mxCell id="zl" value="z[]" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=2;fillColor=#E8F5E9;fontSize=14;fontStyle=1;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 48 | + <mxGeometry x="80" y="160" width="50" height="35" as="geometry" /> |
| 49 | + </mxCell> |
| 50 | + <mxCell id="z0" value="z₀" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 51 | + <mxGeometry x="130" y="160" width="50" height="35" as="geometry" /> |
| 52 | + </mxCell> |
| 53 | + <mxCell id="z1" value="z₁" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 54 | + <mxGeometry x="180" y="160" width="50" height="35" as="geometry" /> |
| 55 | + </mxCell> |
| 56 | + <mxCell id="z2" value="z₂" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=13;align=center;verticalAlign=middle;" vertex="1" parent="1"> |
| 57 | + <mxGeometry x="230" y="160" width="50" height="35" as="geometry" /> |
| 58 | + </mxCell> |
| 59 | + <mxCell id="zd" value="z₃ z₄ ..." style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#2E7D32;strokeWidth=1;fillColor=#C8E6C9;fontSize=12;align=center;verticalAlign=middle;dashed=1;" vertex="1" parent="1"> |
| 60 | + <mxGeometry x="280" y="160" width="100" height="35" as="geometry" /> |
| 61 | + </mxCell> |
| 62 | + |
| 63 | + </root> |
| 64 | + </mxGraphModel> |
| 65 | + </diagram> |
| 66 | +</mxfile> |
0 commit comments