(name, context)
| 143067 | } |
| 143068 | const datum = (d)=>d.data; |
| 143069 | function treeNodes(name, context) { |
| 143070 | const tree = data.call(context, name); |
| 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; |
no outgoing calls
no test coverage detected