Now uses a custom d3 layout for drawing and makes the IDs of links truly unique