briatte / ggnetwork

Geoms to plot networks with ggplot2
https://briatte.github.io/ggnetwork/
146 stars 28 forks source link

Fix missing edge labels on perfectly orthogonal edges #5

Closed briatte closed 8 years ago

briatte commented 8 years ago

Do not use

subset(data, x != xend & y != yend)

in stats; use

subset(data, !(x == xend & y == yend))

instead.