Search for an element in D3 - force layout or tree
d3.js, force-layout, highlight, tree
Solution
I wrote a tool that allows browsing biological regulatory networks, showing two SVG panels side-by-side. Each panel contains a force-layout network of transcription factors (the nodes), as drawn by the d3.js API. You can type in the name of a transcription factor and it will highlight it using the same code as is used when a `mouseover` event occurs. Exploring the code might give you some insight into how it's done.
Problem
Is there an example of searching for an element in a d3js layout (force directed or tree) and highlighting that element? I am thinking that there would be a text field where user enters values to search.