The set of geodesics in a graph

Abstract Nebeský [Math. Bohem. 119 (1994) 15] found a necessary and sufficient condition for a set of paths in a given connected graph G to be the set of all geodesics in G. A simple proof of an extension of that result will be outlined here.