You mean, like a degree-of-interest tree?
http://prefuse.org/gallery/treeview/
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.10.6554&rep=rep1&type=pdf
There's no built-in functionality to do it, but it's certainly
possible. However, the search would be implemented in JavaScript by
iterating over the tree structure, not using selections.
Mike
I expect so but I don't recall one off the top of my head. I did
implement search for the Protovis treemap example, and it would be a
fairly small change to adapt it for D3:
http://mbostock.github.com/protovis/ex/treemap.html
Mike
:contains to get elements based on their content.I have coded a solution with a search widget based on a select2. You get found nodes with their paths expanded styled in red. https://gist.github.com/PBrockmann/0f22818096428b12ea23 Hope that will help Patrick |