Kochi: Several trains were diverted due to the flooding in low-lying areas of Ernakulam district on Tuesday. Meanwhile, water logging affected the functioning of signals at Ernakulam Town and Ernakulam Junction railway stations. As a result, changes were made made to several trains operating through these stations.