graph formatting