simplify aggregation of graphs