I created a small forced graph. Each node got an "parent" attribute which contains the "parent". If the user clicks on a parent node all childs collapse. I u