Before the development of X-ray diffraction crystallography , the study of crystals was based on their geometry . Before the development of X-ray diffraction crystallography ( see below ) , the study of crystals was based on their geometry .