chartflow chart of mining process