rbkreisberg/QED — pull request #2 by ryanbressler (2012-09-19 23:05:50+00:00)
Title: Distinguish between in and out edges with routing. 

I've added an a replacment for d3.sv.diagonal that is aware of direct edges Ie instead of placing control points half the y distance between the two points it places the first one past the source and the second before the target (where before/after means below/above, left/right depending on projection.) The distance of the controll point away from the source and target is the min of 16 and one half the distance between them to give a nice bundeling even for edges that travel perpendicular to the tree direction.