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

circle packing is disordered, when data has a larger hierarchy. #305

Closed
Mpaperlee opened this issue Feb 28, 2022 · 2 comments
Closed

circle packing is disordered, when data has a larger hierarchy. #305

Mpaperlee opened this issue Feb 28, 2022 · 2 comments

Comments

@Mpaperlee
Copy link

I have use ggraph and ggsubplot create circle packing plots with my phylogenetic data. It works great when my phylogenetic tree is small. However, it doesn't work when my tree is larger.
when my tree is small
image
when larger
image

the Circles in lower hierarchies are too big.

please could you tell me how to fix it
thanks

@Mpaperlee
Copy link
Author

I have saw an issue in d3/d3-hierarchy#74 . it fixed in D3.js. But my javascript is poor. How can I fix it in ggraph

@JGippet
Copy link

JGippet commented Sep 9, 2022

Hi @thomasp85,
I have the same problem with ggraph.
This issue has also been reported 2 ya on stackoverflow (https://stackoverflow.com/questions/65151687/circle-packing-with-ggraph-circles-in-lower-hierarchies-are-too-big).

I tried to find a way around it but I couldn't... please help!!!

All the best

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