An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse. From http://bl.ocks.org/mbostock/4339083
Added search, expand and styling of results and its ancestors. Visible from http://bl.ocks.org/PBrockmann/0f22818096428b12ea23
Not so trivial. You need to expand the all tree before searching ancestors.
A test with a tree layout with 50000 nodes (https://gist.github.com/robschmuecker/7926762) shows the problem of this approach. But it works nicelly with 300 nodes.
I would be thrilled to see better solutions contributed.