Draw concentric circles
draw_circle(col = "#00BFFF", use = "focus", max.circle)
color of circles
one of 'focus' or 'cent'
if use = 'focus' specifies the number of circles to draw
concentric circles around origin
this function is best used with a concentric layout such as layout_with_focus and layout_with_centrality.
library(igraph)
library(ggraph)
g <- sample_gnp(10,0.4)
if (FALSE) {
ggraph(g,layout = "centrality",centrality = degree(g))+
draw_circle(use = "cent")+
geom_edge_link()+
geom_node_point(shape = 21,fill = "grey25",size = 5)+
theme_graph()+
coord_fixed()
}