This function governs the appearance of the pipe direction markers, i.e., arrows showing which direction the water is running in the different pipes. You also have to decide what kind of direction marker the different pipe types should have.
The function is run from the following locations: