标签: igraph ggraph
library(igraph) library(ggraph) ring <- sample_k_regular(10, 2) ggraph(ring) + geom_edge_link(aes(edge_colour='grey')) + geom_node_point(shape=21,color='black',size = 7,stroke=1,fill='white' )+ theme_graph()
我错过了什么吗?