-
-
Notifications
You must be signed in to change notification settings - Fork 206
Loops make edge label colours inconsistent #157
Copy link
Copy link
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
Loop edges are not counted when an array of colours is assigned to label colours. The colour of a loop and all following edge labels have the wrong color. other attributes seem ok.
g<-matrix(c(
1,2 #first edge
,1,1 #second edge
,2,3) #third edge
,nrow=3,ncol=2,byrow = T)
g<-graph_from_edgelist(g, directed = F)
cols<-c('red','green','blue')
plot(g
,edge.color = cols
,edge.label.color = cols
,edge.label= cols
)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
