d3 cp control graph