-
Notifications
You must be signed in to change notification settings - Fork 1
/
Mindmap_tikz.tex
72 lines (65 loc) · 3.53 KB
/
Mindmap_tikz.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
\documentclass{standalone}
\usepackage{color}
\usepackage{tikz}
\usepackage{comment}
\usepackage{graphicx}
\usetikzlibrary{mindmap,trees, backgrounds}
\tikzset{level 1 concept/.append style={font=\sf, sibling angle=90,level distance = 27mm}}
\tikzset{level 2 concept/.append style={font=\sf, sibling angle=45,level distance = 17mm}}
\tikzset{every node/.append style={scale=0.6}}
\begin{document}
\begin{tikzpicture}
%%%%%%%%%%%%%%% CANOPY STRUCTURE
\path[mindmap,concept color=green!50!black, text=white]
node[concept](struct) at (0,0){Canopy Structure}
child[grow = -45, concept color = orange]{
node[concept](light){Light Interception}
[clockwise from = 20]
child{node[concept](alb) {Shortwave albedo}}
child{node[concept](lw){Longwave Emissivity}}
child{node[concept](shade){Shading}}
}
%----------------------------------------------------------
child[grow = 45, concept color = green!50!yellow!70!black]{
node[concept](func){Ecosystem Function}
[counterclockwise from = -20]
child{node[concept](massflu) {Mass Fluxes}}
child{node[concept](biom) {Biomass}}
child{node[concept](prod){Production}}
child{node[concept](comp) {Competition}}
}
%----------------------------------------------------------
child[grow = 0, concept color = blue!60!white]{
node[concept](rough) at (0.5,0){Turbolence}
child[grow = 20]{node[concept](lh){Latent Heat}}
child[grow = -20]{node[concept](sh){Sensible Heat}}};
%----------------------------------------------------------
%%%%%%%%%%%% ATMOSPHERE
\path[mindmap,concept color=blue!80!white!60!green, text=white]
node[concept](atmos) at (8,2){Atmospheric Exchanges};
%%%%%%%%%%%% ENERGY
\path[mindmap,concept color=red!50!black, text=white]
node[concept](energy) at (8,-2){Surface Energy};
%%%%%%%%%%%%% MAKING SECONDARY CONNECTIONS
\newcommand{\conngreentoorange}{to[circle connection bar switch color=from (green!50!yellow!70!black) to (orange)]}
\newcommand{\connredtoorange}{to[circle connection bar switch color=from (red!50!black) to (orange)]}
\newcommand{\connredtoblu}{to[circle connection bar switch color=from (red!50!black) to (blue!60!white)]}
\newcommand{\connazuretoblu}{to[circle connection bar switch color=from (blue!80!white!60!green) to (blue!60!white)]}
\newcommand{\connazuretogreen}{to[circle connection bar switch color=from (blue!80!white!60!green) to (green!50!yellow!70!black)]}
\newcommand{\connazuretored}{to[circle connection bar switch color=from (blue!80!white!60!green) to (red!50!black)]}
\newcommand{\connblutogreen}{to[circle connection bar switch color=from (blue!60!white) to (green!50!yellow!70!black)]}
\begin{pgfonlayer}{background}
%\draw [circle connection bar ]
\path (func) \conngreentoorange (light);
\path (energy)\connredtoorange (alb);
\path (energy)\connredtoorange (lw);
\path (energy)\connredtoblu (sh);
\path (energy)\connredtoblu (lh);
\path (atmos) \connazuretoblu (lh);
\path (atmos) \connazuretoblu (sh);
\path (atmos) \connazuretored (energy);
\path (atmos) \connazuretogreen (massflu);
\path (lh) \connblutogreen (massflu);
\end{pgfonlayer}
\end{tikzpicture}
\end{document}