Skip to content

Commit 72c9028

Browse files
brabojclaude
andauthored
docs: update drawio layout and re-export PNGs (#191)
Apply manual draw.io adjustments to before/after diagrams and re-export PNGs at 2x scale. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f1d77b1 commit 72c9028

2 files changed

Lines changed: 15 additions & 33 deletions

File tree

assets/drawio/git-bare-after.drawio

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<mxfile host="Electron">
22
<diagram id="bare-after" name="After — bare repo as hub">
3-
<mxGraphModel dx="1094" dy="700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="780" pageHeight="340" math="0" shadow="0">
3+
<mxGraphModel dx="1094" dy="969" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="780" pageHeight="340" math="0" shadow="0">
44
<root>
55
<mxCell id="0" />
66
<mxCell id="1" parent="0" />
77
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
88
<mxGeometry height="320" width="760" x="10" y="10" as="geometry" />
99
</mxCell>
10-
11-
<!-- Alice zone -->
1210
<mxCell id="zone-alice" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
1311
<mxGeometry height="270" width="200" x="30" y="30" as="geometry" />
1412
</mxCell>
@@ -21,19 +19,18 @@
2119
<mxCell id="box-alice-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/" vertex="1">
2220
<mxGeometry height="70" width="160" x="50" y="155" as="geometry" />
2321
</mxCell>
24-
25-
<!-- Shared hub zone -->
2622
<mxCell id="zone-bare" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EAF1F5;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
2723
<mxGeometry height="270" width="210" x="280" y="30" as="geometry" />
2824
</mxCell>
2925
<mxCell id="label-bare" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Shared hub (bare)" vertex="1">
3026
<mxGeometry height="20" width="160" x="290" y="35" as="geometry" />
3127
</mxCell>
28+
<mxCell id="jeRBl4K22DwUACs0EzU3-1" edge="1" parent="1" source="box-bare" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;curved=0;" target="box-alice-git">
29+
<mxGeometry relative="1" as="geometry" />
30+
</mxCell>
3231
<mxCell id="box-bare" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="objects + refs&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;no working tree&lt;/i&gt;" vertex="1">
33-
<mxGeometry height="70" width="170" x="300" y="120" as="geometry" />
32+
<mxGeometry height="70" width="170" x="300" y="155" as="geometry" />
3433
</mxCell>
35-
36-
<!-- Bob zone -->
3734
<mxCell id="zone-bob" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
3835
<mxGeometry height="270" width="200" x="540" y="30" as="geometry" />
3936
</mxCell>
@@ -43,27 +40,20 @@
4340
<mxCell id="box-bob-wt" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Working&lt;br&gt;Tree" vertex="1">
4441
<mxGeometry height="70" width="160" x="560" y="65" as="geometry" />
4542
</mxCell>
43+
<mxCell id="jeRBl4K22DwUACs0EzU3-3" edge="1" parent="1" source="box-bob-git" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;curved=0;" target="box-bare">
44+
<mxGeometry relative="1" as="geometry" />
45+
</mxCell>
4646
<mxCell id="box-bob-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/" vertex="1">
4747
<mxGeometry height="70" width="160" x="560" y="155" as="geometry" />
4848
</mxCell>
49-
50-
<!-- Push arrow (Bob → bare) -->
51-
<mxCell id="arr-bob-push" edge="1" parent="1" source="box-bob-git" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;" target="box-bare" vertex="1">
52-
<mxGeometry relative="1" as="geometry" />
53-
</mxCell>
5449
<mxCell id="label-bob-push" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;" value="push" vertex="1">
55-
<mxGeometry height="18" width="50" x="490" y="172" as="geometry" />
56-
</mxCell>
57-
58-
<!-- Pull arrow (bare → Alice) -->
59-
<mxCell id="arr-alice-pull" edge="1" parent="1" source="box-bare" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="box-alice-git" vertex="1">
60-
<mxGeometry relative="1" as="geometry" />
50+
<mxGeometry height="18" width="50" x="490" y="165" as="geometry" />
6151
</mxCell>
6252
<mxCell id="label-alice-pull" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;" value="pull" vertex="1">
63-
<mxGeometry height="18" width="50" x="240" y="140" as="geometry" />
53+
<mxGeometry height="18" width="50" x="230" y="157" as="geometry" />
6454
</mxCell>
6555
<mxCell id="label-alice-ready" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=11;fontStyle=2;fontColor=#5F5E5A;fontFamily=Helvetica;" value="(when ready)" vertex="1">
66-
<mxGeometry height="18" width="80" x="235" y="155" as="geometry" />
56+
<mxGeometry height="18" width="80" x="215" y="170" as="geometry" />
6757
</mxCell>
6858
</root>
6959
</mxGraphModel>

assets/drawio/git-bare-before.drawio

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<mxfile host="Electron">
22
<diagram id="bare-before" name="Before — direct push">
3-
<mxGraphModel dx="1094" dy="700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="700" pageHeight="360" math="0" shadow="0">
3+
<mxGraphModel dx="1094" dy="969" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="700" pageHeight="360" math="0" shadow="0">
44
<root>
55
<mxCell id="0" />
66
<mxCell id="1" parent="0" />
77
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
88
<mxGeometry height="340" width="680" x="10" y="10" as="geometry" />
99
</mxCell>
10-
11-
<!-- Alice zone -->
1210
<mxCell id="zone-alice" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
1311
<mxGeometry height="280" width="270" x="30" y="30" as="geometry" />
1412
</mxCell>
@@ -19,15 +17,11 @@
1917
<mxGeometry height="80" width="230" x="50" y="65" as="geometry" />
2018
</mxCell>
2119
<mxCell id="box-alice-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;main → commit B&lt;br&gt;(moved by push)&lt;/i&gt;" vertex="1">
22-
<mxGeometry height="80" width="230" x="50" y="165" as="geometry" />
20+
<mxGeometry height="80" width="230" x="50" y="175" as="geometry" />
2321
</mxCell>
24-
25-
<!-- Out of sync label -->
2622
<mxCell id="label-desync" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#A32D2D;fontFamily=Helvetica;" value="⚠ OUT OF SYNC" vertex="1">
2723
<mxGeometry height="20" width="140" x="95" y="152" as="geometry" />
2824
</mxCell>
29-
30-
<!-- Bob zone -->
3125
<mxCell id="zone-bob" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
3226
<mxGeometry height="280" width="270" x="390" y="30" as="geometry" />
3327
</mxCell>
@@ -38,15 +32,13 @@
3832
<mxGeometry height="80" width="230" x="410" y="65" as="geometry" />
3933
</mxCell>
4034
<mxCell id="box-bob-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;main → commit B&lt;/i&gt;" vertex="1">
41-
<mxGeometry height="80" width="230" x="410" y="165" as="geometry" />
35+
<mxGeometry height="80" width="230" x="410" y="175" as="geometry" />
4236
</mxCell>
43-
44-
<!-- Push arrow (red, from Bob's .git to Alice's .git) -->
4537
<mxCell id="arr-push" edge="1" parent="1" source="box-bob-git" style="endArrow=classic;html=1;strokeColor=#A32D2D;strokeWidth=1.5;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="box-alice-git" vertex="1">
4638
<mxGeometry relative="1" as="geometry" />
4739
</mxCell>
4840
<mxCell id="label-push" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#A32D2D;fontFamily=Courier New;" value="git push" vertex="1">
49-
<mxGeometry height="18" width="70" x="315" y="190" as="geometry" />
41+
<mxGeometry height="18" width="70" x="315" y="200" as="geometry" />
5042
</mxCell>
5143
</root>
5244
</mxGraphModel>

0 commit comments

Comments
 (0)