Open Eliman925 opened 10 months ago
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()
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)
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
graph
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()
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)