dagrejs / dagre

Directed graph layout for JavaScript
MIT License
4.62k stars 600 forks source link

Nested nodes too far apart #446

Open arsen-a opened 1 month ago

arsen-a commented 1 month ago

I'm struggling with customizing the behavior of the Dagre layout when it comes to a huge set of nodes. I'm sending you a screenshot to show what I mean. Can this be customized? Look at the very last row of nodes and how much they are separated when they should be close since there are no descendants.

Screenshot 2024-07-23 at 16 26 05

not-anasali commented 2 weeks ago

Facing the same issue. Have you had any luck solving it?

arsen-a commented 2 weeks ago

Facing the same issue. Have you had any luck solving it?

Moved to d3 🙂

not-anasali commented 2 weeks ago

@arsen-a d3-hierarchy with react flow?

arsen-a commented 2 weeks ago

@not-anasali vue-flow actually, but it comes down to the same thing