a diagram of rocks and minerals