可能有,但间接的方法是最小化 和vertex.size(如果需要)vertex.label.cex。使您的设备变得更大应该最大化节点之间的空间。
前任:
library(igraph)
my.graph <- graph.lattice(length = c(4,4), dim = 1, directed = FALSE)
plot(my.graph,
layout = layout.grid,
vertex.label=toupper(1:16),
vertex.size = 20,
vertex.shape = "square",
vertex.color="white",
vertex.frame.color= "black",
vertex.label.color = "black",
vertex.label.family = "sans",
vertex.label.cex=1,
edge.width=2,
edge.color="black")
Run Code Online (Sandbox Code Playgroud)
