change graph files to conform to c++ style guide