Fix formatting in graph