I am following a d3 sample on hierarchical edge bundling - http://mbostock.github.io/d3/talk/20111116/bundle.html
What I am only interested in is, how may I incorporate tension functionality in the above sample in the simplest way possible on top of the following example (its code is here):
I've studied the code @ the 1st link but cannot determine which parts of the code attribute to the desired functionality. @ the 2nd link however, I know the following code may be involved / altered. Please guide me along.
var line = d3.svg.line.radial()
.interpolate("bundle")
.tension(.85)
.radius(function (d) {
return d.y;
})
.angle(function (d) {
return d.x / 180 * Math.PI;
});