Skip to content

Issue: Error in PathAttr #190

@mweberr

Description

@mweberr

I run the sample code

library(ggraph)
library(igraph)
 graph <- graph_from_data_frame(highschool)
 
# Not specifying the layout - defaults to "auto"
ggraph(graph) + 
geom_edge_link(aes(colour = factor(year))) + 
geom_node_point()

Using nicely as default layout
Error in pathAttr(data, length(unique(data$group))) :
Not compatible with requested type: [type=character; target=integer].

RV 3.6.0
ggraph LATEST from devtools githutb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions