Closed ArtemSokolov closed 5 years ago
Dear @ArtemSokolov
Thanks for reporting this, and all apologies for answering only now.
The issue is solved in the development version of ggnetwork
, which will go on CRAN by the end of the summer. In the meantime, you can install it as follows:
# with `remotes`
remotes::install_github("briatte/ggnetwork")
# or with `devtools`
devtools::install_github("briatte/ggnetwork")
Again, all apologies for answering only now -- I have neglected the package in the past years, but remember seeing that issue a while back. It looks like it just fixed itself, perhaps through a ggplot2
update or something like that.
When an edge is perfectly horizontal,
geom_edgetext()
fails to display labels. Consider a simple graph:This is a potential problem for displaying bipartite graphs. The current workaround is to add a small amount of vertical perturbation to one of the ends: