This is an extension of Collapsible Tree using Select2 to search the tree's leaf nodes.
Type the name of a leaf node in the box at the top. This should expand the tree to the depth of that node and highlight the path in red.
MIT
https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js
https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.0/select2.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.11/d3.min.js