Graphitization is the term used to describe: