Displaying 1 result from an estimated 1 matches for "labelfontsize".
2009 Feb 10
0
Resize edge's label fontsize
...directed", values = list(weight=M))
eAttrs <- list()
ew <- as.character(unlist(edgeWeights(A)))
names(ew) <- edgeNames(A, recipEdges = "distinct")
eAttrs$label <- ew
fs2 <- rep(c(72), length(ew))
names(fs2) <- edgeNames(A, recipEdges = "distinct")
eAttrs$labelfontsize <- fs2
plot(A,
attrs = list(node = list(label = "foo", fillcolor = "lightblue"), edge
= list(color = "red")), edgeAttrs = eAttrs,recipEdges="distinct")
Thanks.