briatte / ggnet

Network visualization with ggplot2
https://briatte.github.io/ggnet/
194 stars 33 forks source link

Set number of rows in legend #33

Closed davidvilanova closed 5 years ago

davidvilanova commented 6 years ago

Hi , to avoid cross posting i added a question on ggnet2.

https://stackoverflow.com/questions/52094754/modify-the-number-of-rows-in-the-legend-of-a-plot

briatte commented 5 years ago

Hi @davidvilanova

Thanks for posting this here, and sorry for not answering earlier.

Your issue is related to how ggplot2 handles legends: I cannot fix it by modifying ggnet.

Please let me know if you find a solution, although I agree with the comment on your StackOverflow question, you probably have too many colour groups in that graph!