Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something seems wrong with arrow specification #31

Closed
hadley opened this issue Jan 26, 2017 · 1 comment
Closed

Something seems wrong with arrow specification #31

hadley opened this issue Jan 26, 2017 · 1 comment

Comments

@hadley
Copy link

hadley commented Jan 26, 2017

This doesn't add arrows to the ends of lines:

require(igraph)
gr <- make_graph('bull')
E(gr)$class <- sample(letters[1:3], gsize(gr), replace = TRUE)
V(gr)$class <- sample(letters[1:3], gorder(gr), replace = TRUE)

ggraph(gr, 'igraph', algorithm = 'nicely') +
  geom_edge_link(arrow = grid::arrow(length = unit(0.5, "cm")))
@thomasp85
Copy link
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants