MCPcopy Index your code
hub / github.com/microsoft/SandDance / initializeStrength

Function initializeStrength

docs/app/js/sanddance-app.js:136289–136292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136287 distances = new Array(m), initializeDistance();
136288 }
136289 function initializeStrength() {
136290 if (!nodes) return;
136291 for(var i = 0, n = links.length; i < n; ++i)strengths[i] = +strength(links[i], i, links);
136292 }
136293 function initializeDistance() {
136294 if (!nodes) return;
136295 for(var i = 0, n = links.length; i < n; ++i)distances[i] = +distance(links[i], i, links);

Callers 2

initializeFunction · 0.70
sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected