yeah d3.svg.diagonal is quite pro it seems