dagrejs / dagre-d3

A D3-based renderer for Dagre
MIT License
2.83k stars 589 forks source link

How to get nested children details in dagre-d3. #399

Open BhanuTejP opened 4 years ago

BhanuTejP commented 4 years ago

Hi,

I'm trying to get nested children's details for a selected node. As of now, I'm only getting the 1st level children details. So is there a way to get all the nested children.

https://stackblitz.com/edit/angular-dagre

In the above example :

If I click node A I am able to get B, C which is first-level children. But how to get all the other children. Similarly, if I click on node B I'm getting its first-level child E, but how can I get nested child F also.