Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to automatically group nodes for visualization purposes #155

Open
lorenzoFabbri opened this issue Mar 18, 2024 · 1 comment
Open
Milestone

Comments

@lorenzoFabbri
Copy link

Most often than not, my DAGs are rather big and complex. Visualizing them becomes hard if not impossible. It is also true that some variables in the DAG might belong to the same group. For instance, I might include age, weight, height, and sex, which can be grouped to personal characteristics. I was wondering whether it makes sense to include the possibility to plot only the grouping nodes, rather than the individual variables. If in the tibble you add a group column, it should be straightforward to then tell ggplot to use that.

@malcolmbarrett
Copy link
Collaborator

I'm broadly interested in this topic, both in the sense you're talking about (reducing nodes) and in the sense of supernodes with existing nodes also visualized, e.g. something like this https://ggforce.data-imaginist.com/reference/geom_mark_rect.html

That said, I haven't taken too much time to think about it yet, so I don't think I'll get around to it very soon

@malcolmbarrett malcolmbarrett added this to the ggdag 1.0.0 milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants