processing of the mineral diagram