d3.js: Cannot read property 'weight' of undefined when manually defining both nodes and links for force layout
d3.js: "Cannot read property 'weight' of undefined" when manually defining both nodes and links for force layout