Merge Duplication Divergence Graph Generator (#1210)

Merge #1210 with cleanup.