Converted graph to numbers