This is an example of using ReactJs to render a force directed network graph. D3 performs all the positional calculations for each node and React handles rendering.
https://cdnjs.cloudflare.com/ajax/libs/react/0.14.3/react.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js