-
-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
- Consider the code below.
## bug / undesired / unexpected behaviour.
g <- make_ring(10)
g$layout <- layout_in_circle(g)
sg <- subgraph(g, c(1,2))
## delete_graph_attr(sg, "layout")
plot(sg)
Note that vertices 1 and 2 are plotted multiple times.
This is because the layout vector of the original graph is copied to the sub graph.
Version information
- R/igraph version: [1] igraph_1.4.1
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior