Added attributes of edges in build_data_graph