I'm trying to create force directed graph with D3.js, the data is loaded from Json file. My main goal right now is to create the nodes with fixed coordinates from beginning.
Right now d3 is building the graph in a random way. I want to decide on nodes locations before the graph is builded.
I'm using v2 , http://d3js.org/d3.v2.min.js?2.9.3
I tried added fx and fy attributes for nodes in the Json
some code can be found at: https://pastebin.com/VtKdvADF