<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="drawio" version="26.0.0">
  <diagram name="Depot-Branch-Signals">
    <mxGraphModel dx="1600" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="700" math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />

        <mxCell id="2" value="One-way Main Line with Depot Branch — Signal Placement" style="text;html=1;align=center;verticalAlign=middle;fontSize=20;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="200" y="20" width="1200" height="40" as="geometry" />
        </mxCell>

        <mxCell id="3" value="direction of travel" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=2;fontColor=#555555;" vertex="1" parent="1">
          <mxGeometry x="700" y="70" width="200" height="20" as="geometry" />
        </mxCell>
        <mxCell id="4" style="endArrow=classic;html=1;rounded=0;strokeColor=#555555;strokeWidth=2;" edge="1" parent="1">
          <mxGeometry width="50" height="50" relative="1" as="geometry">
            <mxPoint x="650" y="80" as="sourcePoint" />
            <mxPoint x="950" y="80" as="targetPoint" />
          </mxGeometry>
        </mxCell>

        <mxCell id="10" value="" style="ellipse;whiteSpace=wrap;html=1;fillColor=#333333;strokeColor=#333333;" vertex="1" parent="1">
          <mxGeometry x="76" y="346" width="8" height="8" as="geometry" />
        </mxCell>
        <mxCell id="11" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="160" y="330" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="12" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="280" y="330" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="13" value="C" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="400" y="330" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="14" value="X" style="ellipse;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=18;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="490" y="325" width="50" height="50" as="geometry" />
        </mxCell>

        <mxCell id="15" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="620" y="180" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="16" value="DEPOT stalls" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="720" y="170" width="280" height="60" as="geometry" />
        </mxCell>
        <mxCell id="17" value="C" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="1060" y="180" width="40" height="40" as="geometry" />
        </mxCell>

        <mxCell id="18" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="620" y="480" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="19" value="main-through" style="text;html=1;align=center;verticalAlign=middle;fontSize=12;fontStyle=2;fontColor=#555555;" vertex="1" parent="1">
          <mxGeometry x="760" y="490" width="200" height="20" as="geometry" />
        </mxCell>
        <mxCell id="20" value="C" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="1060" y="480" width="40" height="40" as="geometry" />
        </mxCell>

        <mxCell id="21" value="Y" style="ellipse;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=18;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="1180" y="325" width="50" height="50" as="geometry" />
        </mxCell>
        <mxCell id="22" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="1280" y="330" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="23" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=16;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="1400" y="330" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="24" value="" style="ellipse;whiteSpace=wrap;html=1;fillColor=#333333;strokeColor=#333333;" vertex="1" parent="1">
          <mxGeometry x="1516" y="346" width="8" height="8" as="geometry" />
        </mxCell>

        <mxCell id="30" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="10" target="11">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="31" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="11" target="12">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="32" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="12" target="13">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="33" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="13" target="14">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>

        <mxCell id="34" style="endArrow=none;html=1;rounded=1;strokeColor=#333333;strokeWidth=3;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="14" target="15">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="515" y="200" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="35" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="15" target="16">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="36" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="16" target="17">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="37" style="endArrow=none;html=1;rounded=1;strokeColor=#333333;strokeWidth=3;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="17" target="21">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1205" y="200" />
            </Array>
          </mxGeometry>
        </mxCell>

        <mxCell id="40" style="endArrow=none;html=1;rounded=1;strokeColor=#333333;strokeWidth=3;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="14" target="18">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="515" y="500" />
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="41" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="18" target="20">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="42" style="endArrow=none;html=1;rounded=1;strokeColor=#333333;strokeWidth=3;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="20" target="21">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="1205" y="500" />
            </Array>
          </mxGeometry>
        </mxCell>

        <mxCell id="50" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="21" target="22">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="51" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="22" target="23">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="52" style="endArrow=none;html=1;rounded=0;strokeColor=#333333;strokeWidth=3;" edge="1" parent="1" source="23" target="24">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>

        <mxCell id="60" value="Legend" style="text;html=1;align=left;verticalAlign=middle;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="100" y="600" width="100" height="20" as="geometry" />
        </mxCell>
        <mxCell id="61" value="R" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="100" y="630" width="30" height="30" as="geometry" />
        </mxCell>
        <mxCell id="62" value="Regular signal — checks the next block only" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;" vertex="1" parent="1">
          <mxGeometry x="140" y="630" width="320" height="30" as="geometry" />
        </mxCell>
        <mxCell id="63" value="C" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="470" y="630" width="30" height="30" as="geometry" />
        </mxCell>
        <mxCell id="64" value="Chain signal — only enters if it can exit" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;" vertex="1" parent="1">
          <mxGeometry x="510" y="630" width="320" height="30" as="geometry" />
        </mxCell>
        <mxCell id="65" value="X / Y" style="ellipse;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="830" y="625" width="40" height="40" as="geometry" />
        </mxCell>
        <mxCell id="66" value="Split / merge junction" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;" vertex="1" parent="1">
          <mxGeometry x="880" y="630" width="200" height="30" as="geometry" />
        </mxCell>

      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
