adding aggregation of graphs