The paper concerns an axiomatization of a ternary relation on the vertex set of a (finite) connected graph. This ternary relation is defined by the distance function of this graph.