added ElementMapperGraph to allow passing a graph object to mapper tasks