reformatted graph output