-
-
Notifications
You must be signed in to change notification settings - Fork 206
Nice to have: Plot self-loops so that they face away from other edges #556
Copy link
Copy link
Closed
Labels
wishlistFeature request that has not been chosen for implementation yet; vote or comment to prioritize it!Feature request that has not been chosen for implementation yet; vote or comment to prioritize it!
Milestone
Description
What is the feature or improvement you would like to see?
In layout_in_circle: always plot self edges outside the circle.
Use cases for the feature
Example.
# Berger/circle schedule for round robin tournaments
n <- 32
n <- max(n - !(n %%2L), 1)
r <- c(rbind((seq(from = 0, to = -(n+1)/2+1) %% n) , seq(from=0, to=(n-1)/2))) # diagonal in Zn
g <- make_graph(r+1)
for (i in seq_len(n-1)) {
r <- ((r+(n-1)/2) %% n)
g <- add_edges(g, r+1)
}
plot(g, layout=layout_in_circle)
For n = 8, the self-edges within the circle are visible.
For larger n, the edges become unrecognizable.
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wishlistFeature request that has not been chosen for implementation yet; vote or comment to prioritize it!Feature request that has not been chosen for implementation yet; vote or comment to prioritize it!
