It is proved that a number d>0 can appear as the Euclidean distance between two vertices in some ‘rigid’ unit-distance graph in the plane if and only if d is an algebraic number.