I have many nodes on one tier. Thus I use the grow east option already. But this is not enough... I would like to save a bit more vertical space for instance through pulling two of the branches a little bit to the right. Or maybe pulling out the middle one would look even better...
Is there an option for extending the horizontal lines? Or does someone has a different idea how to save vertical space excep reducing the size? :)
Here my code:
\documentclass[ngerman]{scrreprt}
\usepackage[edges]{forest}
\usepackage{tikz}
\usetikzlibrary{trees}
%Defining tikz classes for tree diagrams
\tikzset{parent/.style={align=center,text width=3cm,rounded corners=3pt},
child/.style={align=center,text width=3cm,rounded corners=3pt}
}
\begin{document}
\begin{center}
\resizebox{.7\textwidth}{!}{%
\begin{forest}
for tree={
grow'=east,
forked edges,
draw,
rounded corners,
node options={
align=center },
text width=2.7cm,
anchor=west,
}
[LMS, fill=gray!25, parent
[Funktionale \\Anforderungen, for tree={fill=brown!25, child}
[Lerninhalte organisieren]
[Lerninhalte erstellen]
[Lerninhalte abfragen]
[Kommunikation]
[Benutzerkonten\-führung]
[Steuerungs\-funktionen]
]
[Nicht-Funktionale Anforderungen, for tree={fill=red!25,child}
[Zuverl{\"a}ssig\-keit]
[Skalierbar\-keit und Effizienz]
[Benutzer\-freundlich\-keit]
[Portierbarkeit]
[Datenschutz / Informationssicherheit]
[Erweiterbar\-keit]
[Anpassbarkeit]
]
[Technische Rahmen\-bedinungen, for tree={fill=blue!25, child}
[System\-architektur]
[Software\-kriterien]
[Schnittstellen]
[Wartung und Support
[Support\-leistungen]
[Software-Pflege]
]
]
]
\end{forest}
}
\end{center}
\end{document}







folderis rather misleading as a name for this as it makes me think it is about what the nodes look like, rather than the structure of the tree. But it makes it much easier than it was to do this in version 1. – cfr Mar 18 '16 at 21:30calign=fixed edge angles, calign primary angle=-80,calign secondary angle=80,. Please correct me if this is nonsense. – Eric Mar 19 '16 at 18:12forked edgesbut it doesn't. Is there a quick trick? – Eric Mar 19 '16 at 18:18forked edgesisn't actually doing anything, I don't think, so removing it makes no odds.... – cfr Mar 19 '16 at 23:04calign with current edge: I can't use this when I have an even number of nodes. Is there another easier way than the one I mentioned above by setting the angles? – Eric Mar 20 '16 at 12:16midpointbut then you need to set the primary and secondary children appropriately, which might have other effects. – cfr Mar 20 '16 at 13:49