d3/d3-plugins — pull request #89 by chris-stone (2014-03-21 20:13:05+00:00)
Title: Source link sorting by angle

Incoming source links to a node are sorted by the angle between the
source and target nodes, rather than their difference in y. It produces
cleaner diagrams, and has a customizable weighting factor to give more
weight to the x difference between nodes. The default value of 3 seems
to work well.