background preloader

Tree Diagrams

Facebook Twitter

TikZ tree sibling distance. Bringing the nodes of a TikZ decision tree closer to each other vertically. Scenario tree. A scenario tree from the field of economics.

Scenario tree

The figure is a replication of a figure 4 from Barry Eichengreen’s NBER paper on “Hegemonic Stability Theories of the International Monetary System” from 1987 (PDF). Download as: [PDF] [TEX] • [Open in writeLaTeX] Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.Oder frag auf Deutsch auf TeXwelt.de. % Scenario tree% Author: Rasmus Pank Roulund\documentclass{minimal}\usepackage{tikz}\usetikzlibrary{shapes}\usepackage{amsmath}\usepackage{xspace}\newcommand{\A}{\ensuremath{\mathcal{A}}\xspace}\newcommand{\B}{\ensuremath{\mathcal{B}}\xspace}\newcommand\pa[1]{\ensuremath{\left(#1\right)}}\begin{document}\begin{tikzpicture}[ grow=right, level 1/.style={sibling distance=3.5cm,level distance=5.2cm}, level 2/.style={sibling distance=3.5cm, level distance=6.7cm}, edge from parent/.style={very thick,draw=blue!

Work breakdown structures aka WBS diagrams. A work breakdown structure (WBS) diagram, is for decomposing a task into smaller parts, which helps organizing and performing.

Work breakdown structures aka WBS diagrams

This example diagram shows possible tasks for designing a TikZ diagram. The basis is a tree, nodes were addes below its child nodes. It was originally posted by Gonzalo Medina at TeX.SE, modified by Stefan Kottwitz. Download as: [PDF] [TEX] • [Open in writeLaTeX] Do you have a question regarding this example, TikZ or LaTeX in general? \documentclass{article}\usepackage{tikz}\usetikzlibrary{arrows,shapes,positioning,shadows,trees} \tikzset{ basic/.style = {draw, text width=2cm, drop shadow, font=\sffamily, rectangle}, root/.style = {basic, rounded corners=2pt, thin, align=center, fill=green! Graphs - qtree items do not have the same baseline.

Technical drawing - How to draw a hierarchical structure with edges. Tikz-qtree-manual. Filesystem tree. Download as: [PDF] [TEX] • [Open in writeLaTeX] Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum. % Author: Frantisek Burian\documentclass{minimal}\usepackage{tikz}\usetikzlibrary{trees}\begin{document}\tikzstyle{every node}=[draw=black,thick,anchor=west] \tikzstyle{selected}=[draw=red,fill=red!

30] \tikzstyle{optional}=[dashed,fill=gray! 50] \begin{tikzpicture}[% grow via three points={one child at (0.5,-0.7) and two children at (0.5,-0.7) and (0.5,-1.4)}, edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] \node {texmf} child { node {doc}} child { node {fonts}} child { node {source}} child { node [selected] {tex} child { node {generic}} child { node [optional] {latex}} child { node {plain}} } child [missing] {} child [missing] {} child [missing] {} child { node {texdoc}}; \end{tikzpicture}\end{document}