I have following problem: double track mainline with single track branch line, mainline should have priority in both direction (including going from mainline to branch line).
It is plain one-level junction (freight trains from branch line are heavy and not going frequently).
Unfortunately, attempt with using presignals fails, because train on mainline (going up on the pict) must wait, even if train from the other direction (from left to down on the pict) is going safely trough junction, or if freight train just already passed from:
How to solve such problem safely (without these aesthetically looking "track logic")?