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

Weight must be numeric while trying Circle packing #2

Open
louis-devresse opened this issue Jun 6, 2020 · 0 comments
Open

Weight must be numeric while trying Circle packing #2

louis-devresse opened this issue Jun 6, 2020 · 0 comments

Comments

@louis-devresse
Copy link

Hello, i've seen already the topic on the subjet with this issue :

library(ggraph)
library(igraph)
edges <- flare$edges
vertices <- flare$vertices
mygraph <- graph_from_data_frame(edges, vertices=vertices)

ggraph(mygraph, layout = 'circlepack', weight = 'size')
Error in tree_to_hierarchy(graph, direction, sort.by, weight) :
Weight must be numeric

Removing the quotations on size doesn't do the trick for me and it's the only solution i found so far !

Thank you for your help.

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

1 participant