add support for aggregate graphs