Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #385.

It set the size of the arrow to the absolute size.

devtools::load_all("~/packages/test/ggraph/")
#> ℹ Loading ggraph
#> Loading required package: ggplot2

gr <- tidygraph::as_tbl_graph(highschool)
ggraph(gr, layout = 'kk') +
  geom_edge_fan(aes(alpha = after_stat(index))) +
  guides(edge_alpha = guide_edge_direction())

Created on 2025-10-08 with reprex v2.1.1

Compared to the current pkgdown image:

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

Successfully merging this pull request may close these issues.

Arrow sizes in guide_edge_direction are broken

1 participant