briatte / ggnet

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

Self-loop in ggnet #41

Closed Melkiades closed 5 years ago

Melkiades commented 5 years ago

Hi! thank you for the amazing work. I was wondering if there is or there will be a plan for plotting self-loops!

Best, D.

briatte commented 5 years ago

Thanks for your question, @Melkiades.

Unfortunately, there is no easy way to add support for self-loops in ggnet (or its successor, ggnetwork). I would recommend instead having a look at @thomasp85's ggraph, and in case ggraph does not support them either, to igraph.

Hope this helps!