Skip to content
Prev 95562 / 398500 Next

Rgraphviz: How to control the colours of edges in a graph

Try this:

eAttrs <- list(color = c("A~B" = "green", "B~C" = "green", "C~D" = "yellow",
   "A~C" = "yellow"))
plot(G, "neato", nodeAttrs = nAttrs, edgeAttrs = eAttrs)

More info via:
   vignette("Rgraphviz")
On 7/5/06, S?ren H?jsgaard <Soren.Hojsgaard at agrsci.dk> wrote: