I'm using d3.js for a force diagram and was wondering if anyone could help me with a problem I have? I'd like to hide the parent children as the user clicks down through a branch if that makes sense... tricky to explain so I made a quick sketch:
The green node is the root, and the red nodes have children but are closed because there is an open option further down the branch.
I hope that makes sense! Is this behaviour possible?