Open saimaparveen opened 9 years ago
Dagre doesn't do this out of the box with its ranking algorithm but there are papers on other ranking algorithms that can achieve this. If someone wants to give it a shot I'd be happy to pull it into dagre.
@cpettitt Huge +1 from us. Width limitation would be really great addition to Dagre. We can help with testing as well
I am using dagre-d3 for tree like structure. The graph width keeps on increasing if number of child node node is high. Where is the exact code for node placement algorithm where I can add condition to restrict the number of node?