connected graph to data