Branch-Merge junctions are twisting arrangements of track that prevent any two trains, coming from different directions and heading in different directions, from getting in each other's way if they hit the junction at the same time. They take up more space than simpler junctions, but can't deadlock as no loops are involved (notwithstanding larger loops in the network).

Simplistic junction design is thwarted by:

The challenge for all junction design is therefore to be:

Tetrathorps allow forward routes to go straight. Stars have rotational symmetry.

[Full image (711×362): Branch-Merge Junction (tetrathorp variation): 4-way; 1-track; (1×0 shear)]

This is a simple branch-merge junction which is relatively non-disruptive for through traffic.

[Full image (793×415): Branch-Merge Junction (star variation): 4-way; 1-track; 17×17 (3×3 shear)]

This star junction concentrates on getting the right-hand turns resolved nearest the centre, then worries about left and straight ahead.

[Full image (688×368): Branch-Merge Junction (star variation): 4-way; 1-track; 14×14 (2×2 shear)]

Foregoing a little smoothness compacts the junction a little.

[Full image (626×314): Branch-Merge Junction (star variation): 4-way; 1-track; 16×16]

This is probably as compact as you can get with tunnels in a star junction.

[Full image (482×248): Branch-Merge Junction (star variation): 4-way; 1-track; 10×10 (1×1 shear)]

This is very compact because of the bridges, but it also has some very sharp turns.

[Full image (702×414): A compact junction for tracks crossing at different levels]

This junction is for two tracks crossing at different levels.

It's almost inevitable that some line will be busier than the others, and the exit onto that line will become a bottleneck. Instead of merging the three tracks from the other lines onto that line's track, why not keep them separate, but allow them to cross over each other?

This increases the line's capacity, and allows it to cope with breakdowns better.

However, there is only one track from any source line to any destination line, so popular routes still risk congestion. What is really needed is a separate junction per track. (Something like this!)

[Full image (600×312): Branch-Merge Junction: 4-way; 2-track; 34×34 (2×2 shear)]

In this junction, each line has two tracks each way, and has a route to every other line. A train arriving on the left track of any line will leave on the left track if it is turning right, or the right track otherwise. Meanwhile a train arriving on the right track will leave on right track if turning right, but on the left otherwise. Effectively, this is really two independent 4-way branch-merge junctions interleaved into the same space.

[Full image (1996×1006): Branch-Merge Junction: 4-way; 2-track; 36×36]

This junction takes a different approach to achieve the same thing – two separate junctions interleaved – but it has used space more liberally, so turns should be smoother.

[Full image (1528×778): Branch-Merge Junction: 4-way; 2-track; 30×30]

This example shows that you can wrap one junction round another. It turns out to be smaller than attempting other tricks, probably because it tries to achieve right turns on the inside.

[Full image (1137×570): Branch-Merge Junction: 4-way; 2-track; 28×28]

This one saves a little space, but has some tight right turns.

[Full image (989×510): Branch-Merge Junction: 4-way; 2-track; 24×24 (2×2 shear)]

We save a little more space if we allow the two junctions to undulate over/under each other.

[Full image (1278×666): Branch-Merge Junction: 4-way; 2-track; 34×34 (2×2 shear)]

This one tries to resolve the straight and left-turn routes first for both tracks, but then requires that the right turns go out a long way around the outside of that resolution.

[Full image (1038×588): Branch-Merge Junction: 4-way; 2-track; 26×26 (2×2 shear)]

Same as before, but rather more compact. (I didn't quite get the exit cross-overs right on this one.)

[Full image (600×386): Branch-Merge Junction: 4-way; 2-track; 20×20]

This one allows resolves the inner track's right-hand turn on the inside, but leaves the outer track to take a longer route. Burger — it's got a merge before branch!


[Full image (972×490): Branch-Merge Junction: 4-way; 3-track; 52×52 (2×2 shear)]

Here we see three completely independent 4-way junctions interleaved. There aren't many tight turns, so it should be fast, but it's taken up a lot of space.

[Full image (2048×1200): Branch-Merge Junction: 4-way; 3-track; 51×51 (3×3 shear)]

This variation uses bridges in place of many tunnels, but doesn't save a lot of space.

[Full image (1716×922): Branch-Merge Junction: 4-way; 3-track; 41×41 (1×1 shear)]

Some refinements compact the junction a little further.

[Full image (1337×810): Branch-Merge Junction: 4-way; 3-track; 36×36 (1×1 shear)]

The approach of wrapping junctions around each other seems to work best.