removed redundant data property when creating the graph.