(name, source, target)
| 143071 | return tree.root && tree.root.lookup || {}; |
| 143072 | } |
| 143073 | function treePath(name, source, target) { |
| 143074 | const nodes = treeNodes(name, this), s = nodes[source], t = nodes[target]; |
| 143075 | return s && t ? s.path(t).map(datum) : undefined; |
| 143076 | } |
| 143077 | function treeAncestors(name, node) { |
| 143078 | const n = treeNodes(name, this)[node]; |
| 143079 | return n ? n.ancestors().map(datum) : undefined; |
nothing calls this directly
no test coverage detected