A geodetic graph is a connected graph with a unique shortest path between every pair of vertices. Ore (1962) introduced the term and asked for a characterization extending the familiar property of trees.
The numbers of nonisomorphic geodetic graphs on , 2, ... vertices
are 1, 1, 2, 4, 10, 23, 66, 185, 586, 1880, 6360, 21975, 78230, 283087, 1043329,
... (OEIS A337179).
Examples of geodetic graphs include barbell graphs, connected block graphs,
cactus graphs lacking even cycles
(Gorovoy and Zmiaikou 2024), complete graphs (Gorovoy and Zmiaikou 2024), odd cycle graphs
(Gorovoy and Zmiaikou 2024), lollipop
graphs, trees (Gorovoy and Zmiaikou 2024), triangular
snake graphs, and windmill graphs.
Stober and Weiß (2026) enumerate all biconnected graphs with the geodetic property through 25 vertices,
obtaining 149 in total. Their enumeration also gives connected
counts through 22 vertices and all regular
examples through 32 vertices. Their Stober-Weißgraphs
form a new infinite family obtained from three constituent geodetic pieces by
identifying specified cliques. The smallest member of
this family,
, has 24 vertices.
A biconnected graph can be geodetic of graph diameter
without containing a cycle graph of length
. For an explicit example, start with the Petersen
graph in its usual outer-pentagon, inner-star representation. Replace each outer
or inner graph edge by a three-edge path
graph and each spoke by a six-edge path graph.
The resulting graph subdivision is a geodetic
biconnected graph with 55 vertices,
graph diameter 11, and no 23-cycle
graph (Frasser and Vostrov 2020).