On lines of the Fault Tree in the TiKZ example (http://www.texample.net/tikz/examples/fault-tree/), I made the following Fault tree
\node (g1) [event] {Project fails \\ E0}
child {node (e1) {No legal permit \\(E1)}
child {node (e11) {No legal permit A \\ (E11)}}
child {node (e12) {No legal permit B \\ (E12)}}
child {node (e13) {No legal permit C \\ (E13)}}
}
child {node (e2) {No financing \\(E2)}
child {node (e21) {No financing A \\ (E21)}}
child {node (e22) {No financing B \\ (E22)}}
child {node (e23) {No financing C \\ (E23)}}
}
child {node (e3) {No collaboration}
child {node (e31) {Low incentive}}
child {node (e32) {Low trust}}
};
However the nodes of the tree overlap each other. I tried reducing the distance between nodes, but that doesn't look as elegant in this case. Is there a way that the E2 subtree could be at a level lower than that of the E1 subtree?
Best Answer
Is this what you are after? It seems that your code does not reflect the image you posted. This solution has tried to generate the image you want and move the E2 subtree lower than that of E1 subtree. This is achieved by using the option
[level distance=xx]
ate2
node.Same idea applies if E3 subtree is desired to move to the left a little bit. But
[sibling distance=xx]
is used hereIf no gates are required, then remove the code at the last part.
Code