Home | History | Annotate | Download | only in src

Lines Matching refs:links

5405     voronoi.links = function(data) {
5961 return function(links) {
5962 var paths = [], i = -1, n = links.length;
5963 while (++i < n) paths.push(d3_layout_bundlePath(links[i]));
6114 var force = {}, event = d3.dispatch("start", "tick", "end"), size = [ 1, 1 ], drag, alpha, friction = .9, linkDistance = d3_layout_forceLinkDistance, linkStrength = d3_layout_forceLinkStrength, charge = -30, chargeDistance2 = d3_layout_forceChargeDistance2, gravity = .1, theta2 = .64, nodes = [], links = [], distances, strengths, charges;
6144 var n = nodes.length, m = links.length, q, i, o, s, t, l, k, x, y;
6146 o = links[i];
6201 force.links = function(x) {
6202 if (!arguments.length) return links;
6203 links = x;
6262 var i, n = nodes.length, m = links.length, w = size[0], h = size[1], neighbors, o;
6268 o = links[i];
6282 if (typeof linkDistance === "function") for (i = 0; i < m; ++i) distances[i] = +linkDistance.call(this, links[i], i); else for (i = 0; i < m; ++i) distances[i] = linkDistance;
6284 if (typeof linkStrength === "function") for (i = 0; i < m; ++i) strengths[i] = +linkStrength.call(this, links[i], i); else for (i = 0; i < m; ++i) strengths[i] = linkStrength;
6294 var o = links[j];
6426 object.links = d3_layout_hierarchyLinks;