I added a function allowing transitions to take a PathDataGenerator as a parameter for transitioning paths. It is demonstrated in this d3 demo: http://bl.ocks.org/mbostock/4339083