On similar points of a graph