R interface: warning when arrow.mode is the same for all edges
Bug #591835 reported by
Tamás Nepusz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
Low
|
Gábor Csárdi |
Bug Description
This bug was originally reported by David Edwards on the mailing list. The following code reproduces the bug:
em1 <- c(0,1,1,
iG <- graph.adjacency
E(iG)$arrow.mode <- 2
E(iG)[is.
iG$layout <- layout.graphopt
plot(iG)
The bug can be resolved by replacing "code=arrow.mode" with "code=unique(
Related branches
Changed in igraph: | |
importance: | Undecided → Low |
status: | New → Confirmed |
assignee: | nobody → Gábor Csárdi (gabor.csardi) |
To post a comment you must log in.
Yes, this is a correct fix, but arrow.mod[1] is very slightly better, I have committed this into 0.6-main (revision #1967).