MCPcopy Create free account
hub / github.com/breck7/scroll / roundNode

Function roundNode

external/.d3.js:13609–13614  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

13607}
13608
13609function roundNode(node) {
13610 node.x0 = Math.round(node.x0);
13611 node.y0 = Math.round(node.y0);
13612 node.x1 = Math.round(node.x1);
13613 node.y1 = Math.round(node.y1);
13614}
13615
13616function treemapDice(parent, x0, y0, x1, y1) {
13617 var nodes = parent.children,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected