I wonder how trams and trolleybuses switch between arrows?

 

v20240901