Rgraphviz node size + arrowhead size
0
0
Entering edit mode
Yaniv Semel ▴ 60
@yaniv-semel-3512
Last seen 9.6 years ago
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]]
graph Rgraphviz graph Rgraphviz • 1.1k views
ADD COMMENT

Login before adding your answer.

Traffic: 513 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6