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

Function defaultSeparation

external/.d3.js:13822–13824  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

13820}
13821
13822function defaultSeparation(a, b) {
13823 return a.parent === b.parent ? 1 : 2;
13824}
13825
13826// function radialSeparation(a, b) {
13827// return (a.parent === b.parent ? 1 : 2) / a.depth;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected