Skip to content

Commit 6752ad8

Browse files
authored
fix: loops not plotted on canvas (#1800)
1 parent 435b41d commit 6752ad8

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

R/plot.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ plot.igraph <- function(x,
211211
graph,
212212
list(vertex.size = 1 / 200 * vertex.size, vertex.size2 = 1 / 200 * params("vertex", "size2"))
213213
)
214+
vertex.size <- 1 / 200 * vertex.size
214215
}
215216
################################################################
216217
## Mark vertex groups

tests/testthat/_snaps/plot/basic-graph-layout-1.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/testthat/_snaps/plot/basic-graph-layout-2.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/testthat/_snaps/plot/basic-graph-spheres.svg

Lines changed: 1 addition & 0 deletions
Loading

tests/testthat/_snaps/plot/loop-graph.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)