Added comments on the graph creation