added logic to support rendering of edge groups