Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Modules of software I created produce Tikz QTree diagrams for visualisation. The problem is that some trees grow quite broad...

enter image description here

Even when I try to massively shrink them by Tikz settings, I cannot fit them on the page. I use the following, which has no effect:

\begin{tikzpicture}[level/.style={sibling distance=1mm/#1}]
\tikzstyle{every node}=[font=\tiny]
  \tikzstyle{level 1}=[sibling distance=2mm]
  \tikzstyle{level 2}=[sibling distance=2mm]
  \tikzstyle{level 3}=[sibling distance=2mm]

Is there a way to further size them down or/ and another way to visualize Tikz output (like an applet or something?).

share|improve this question
2  
Perhaps exporting to TikZ is not your best option for displaying these kinds of graphs. In my experience the node placement algorithms are not that great. I have had good experiences with prefuse in the past for visualizing very large graphs. If you are looking at applets then I assume you are not interested in printing and perhaps just increasing the size of the page is a possibility as well. – Roelof Spijker Jan 3 '12 at 14:59
3  
You should consider rotating the graph by -90 degress. I would rather use a non-tikz solution such as dirtree, which provides more like a directory structure. – Yiannis Lazarides Jan 3 '12 at 16:04
3  
tikz-qtree doesn't use the levels of the standard tikz trees so setting the level distances like you have has no effect. You could try adding [grow'=right] to the tikzpicture and have the trees displayed vertically. – Alan Munn Jan 3 '12 at 16:21
2  
Wouldn't just enclosing the tikzpicture into \resizebox{\textwidth} or suchlike solve the problem? – Stephan Lehmke Dec 1 '12 at 22:17

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.