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

Support graphlayouts #58

Open
briatte opened this issue Feb 6, 2020 · 1 comment
Open

Support graphlayouts #58

briatte opened this issue Feb 6, 2020 · 1 comment

Comments

@briatte
Copy link
Owner

briatte commented Feb 6, 2020

https://cran.r-project.org/package=graphlayouts

@briatte briatte added this to the v0.5.8 milestone Feb 6, 2020
@briatte briatte self-assigned this Feb 6, 2020
@briatte
Copy link
Owner Author

briatte commented Mar 6, 2023

Seems to work out of the box:

library(igraph)
library(graphlayouts)
g <- sample_islands(9,20,0.4,9)
g <- simplify(g)
ggplot(ggnetwork(g, layout = graphlayouts::layout_with_stress(g))) + 
  geom_edges(aes(x=x,xend=xend,y=y,yend=yend)) + 
  geom_nodes(aes(x,y))

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

No branches or pull requests

1 participant