This is a follow-on graph to the Basic Directional Force Layout Diagram and builds on it by allowing highlighting of individual nodes by clicking on them. These then remain highlighted untill you double click on them.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js