Line graphs and geodesic transitivity