This is the code for Chapter 11, Figure 10 from D3.js in Action which uses mixed mode rendering to improve network performance via drawing nodes with SVG while drawing edges with HTML5 Canvas. This allows you to maintain mouse events on your nodes while dramatically improving animation performance.