adding graph data