Hi all,


i'm using the package Rgraphviz to draw graphs, and its really awesome.
there is only one thing that i cant accomplish no matter what i try: to draw
arrowhead (on edges) that are different than the normal.
i'm trying to change the arrowhead property to be "box" or "diamond" or
anything else according to the instructions here:

http://www.graphviz.org/pub/scm/graphviz2/doc/info/attrs.html

but it doesnt have any effect. i always get the normal arrowhead.

what am i missing here?
can somebody please show me a working code that produce a simple graph with
not normal arrowheads (for example box or diamonds) ?

here is a simple code that shows that i can manage to control the edge color
(red), but not the arrowhead:


nodes <- c(n1="a", n2="b", n3="c")
edges <- list(a=list(edges=c("b", "c")), b=list(edges=c("c")),
c=list(edges=c()))
g <- new("graphNEL", nodes=nodes, edgeL=edges, edgemode="directed")
plot(g, attrs=list(edge=list(color="red", arrowhead="box",
dir="forward")))


any assistance will be highly appreciated,
Yaniv

	[[alternative HTML version deleted]]

