formating graphs