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

algorythmn is arranging circles in wrong manner #360

Open
Eliman925 opened this issue Jan 27, 2024 · 1 comment
Open

algorythmn is arranging circles in wrong manner #360

Eliman925 opened this issue Jan 27, 2024 · 1 comment

Comments

@Eliman925
Copy link

Eliman925 commented Jan 27, 2024

I am drawing ciclepack layout by encoding colours

ggraph(graph,
layout = "circlepack",
weight = size
) +
geom_node_circle(aes(fill = as.factor(color), group = size)) +
scale_fill_identity() +coord_fixed()

Screenshot 2024-01-28 at 2 01 51 AM

However, the largest value (1) in the largest subplot (A) is assigned as black dot in the middle (1) replacing a yellow circle in the middle which itself goes together with the black dots in the outer layer (2)

@thomasp85
Copy link
Owner

Can you provide a reproducible example. In the code you shared I don't know the nature of graph so I can't test it on my own computer

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