For railways, there is a genre of "track diagrams" which are more like circuit diagrams for the railway, showing lines, crossovers, platforms, etc. The best ones for the UK are perhaps the Quail maps, which include all sorts of gory details, but are commercial:
https://www.trackmaps.co.uk/wp-content/uploads/2023/01/Book5...
There are some pretty good open ones though:
https://cartometro.com/cartes/metro-tram-london/index.php?st...