Hi all,

i have a problem to control the node size of a graph using the Rgraphviz.
i'm creating graphs using Rgraphviz in its new interface (using
"layoutGraph" and "renderGraph" functions).

when i use the "neato" layout, i get a graph where the nodes are too big and
are not proportional. i dont know how to make them smaller.
in the previous Rgraphviz way of layout (using plot), i could give the
height and width of the node in the node's attributes, but in the in the new
interface methods there is no such option.

when i create my own (custom) function for drawing nodes and make them
smalller, the edges connecting the nodes are now too short, and dont reach
to the node center becasue the nodes bounding box havent changed, and this
also reults in a corrupted graph.

by the way, when i use the "dot" layout, the node size are OK. the problem
is only with "neato".


another (probably related) problem i encountered is concerning arrowhead
size.
for "wide" graphs in "dot" layout (i.e graphs with many nodes in a row but
few rows) the arrow size is too much big and complete not proportional.
sometimes the arrowhead is much bigger than the node itself. more than
this,different types of arrowhead have different sizes. for example, the
"odot" arrowhead is much bigger than the normal arrowhead.

what i need to do is just to make the arrowhead proportional to the node
size.

thanks for your time!

Yaniv Semel

	[[alternative HTML version deleted]]

