generate graph data for divergence