dagrejs / dagre-d3

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

Collapse/minimize subgraphs? #374

Open greencat3 opened 4 years ago

greencat3 commented 4 years ago

Does dagre-d3 have any in-build functionality to be able to minimize/collapse subgraphs?

I saw this demo of collapsible trees on d3: https://observablehq.com/@d3/collapsible-tree

Is it possible to do something like this with dagre-d3?

arkajyotiMukherjee commented 4 years ago

This would be a very good feature if not already implemented. Can anyone shed some light of it?

nikhildurgam commented 3 years ago

I'm looking for the same thing, did anyone figure out a solution to make nodes collapsible? Any help is appreciated.