Clean up graph formatting