Hierarchical Graph

Hi all,

I'm trying to create a hierarchical graph that I can print out however GraphViz does not seem to want to format the graph for this to be possible, I've tried so many parameters to try and get GraphViz to format the graph in this way but it seems half the time it completely ignores whatever I specify, for example I have set the size and ratio of the graph to fill an A4 sheet of paper but instead of expanding the nodes and font size, all that happens is the edge length is extended resulting in a very stretched graph that is still unreadable when printed.

I tried boosting the font size to 48 and GraphViz ignored it, tried playing around with rankings and invisible nodes/edges to try and force GraphViz to expand the size of the nodes into the surrounding empty space but still remains unreadable.

Any help in regards to this?

Without seeing your input and

Without seeing your input and output, it is hard to help, but I'll make a try. There are two main parameters controlling the size of the final drawing directly: page and size. The page attribute works at the graph level, rearranging nodes but not changing their size. The size attribute contracts or expands the entire drawing to fit the space. Not that the size only shrinks the graph if necessary; you need to add a '!' sign at the end to force expansion. Also, the expansion is done uniformly in x and y.

It sounds like you are using page rather than size. Also, note that graphs, nodes and edges have their own attributes, so, for example, setting fontsize=48 in a graph has no effect on the font used by nodes. For this, you need node[fontsize=48].

If these suggestions don't solve your problem, please post your input and output and describe what is wrong with the output. Or you can file a bug report, which will also prompt you for other information that may be helpful.

I tried your suggestions but

I tried your suggestions but there was not much change in the formatting. I have split the graph into more bite size chunks that allow me to print the graph to be readable; I have attached one of these sections. It was the best I could do.

Input: https://drive.google.com/file/d/0BwSgGXhDCFjfU3U3WE1CelBJc0E/view?usp=sharing

Output: https://drive.google.com/file/d/0BwSgGXhDCFjfc3J3am1mNkg1RVU/view?usp=sharing

Recent comments