Say a train is cancelled at CHX but actually starts from LBG. When viewing the boards for CHX show "Starts from London Bridge (HH:MM)".
We can't just however take the next non-cancelled forecast, because that may not be accessible from a station.
For example, train into CHX is cancelled as it's diverted to VIC. So at LBG we cannot then show it, even if the forecast is in the future (from LBG's point of view).
This will probably need some graph engine behind it
Say a train is cancelled at CHX but actually starts from LBG. When viewing the boards for CHX show "Starts from London Bridge (HH:MM)".
We can't just however take the next non-cancelled forecast, because that may not be accessible from a station.
For example, train into CHX is cancelled as it's diverted to VIC. So at LBG we cannot then show it, even if the forecast is in the future (from LBG's point of view).
This will probably need some graph engine behind it