| 1 |
% Copyright 2018 by Till Tantau |
| 2 |
% |
| 3 |
% This file may be distributed and/or modified |
| 4 |
% |
| 5 |
% 1. under the LaTeX Project Public License and/or |
| 6 |
% 2. under the GNU Public License. |
| 7 |
% |
| 8 |
% See the file doc/generic/pgf/licenses/LICENSE for more details. |
| 9 |
|
| 10 |
\ProvidesFileRCS{tikzlibrarymindmap.code.tex} |
| 11 |
|
| 12 |
|
| 13 |
\usetikzlibrary{trees,decorations}% |
| 14 |
|
| 15 |
|
| 16 |
% A decoration for connecting circle nodes |
| 17 |
% |
| 18 |
% Parameters: start radius, end radius, amplitude, angle |
| 19 |
|
| 20 |
\pgfdeclaredecoration{circle connection bar}{initial} |
| 21 |
{% |
| 22 |
\state{initial}[width=0pt,next state=bar] |
| 23 |
{ |
| 24 |
{ |
| 25 |
\pgftransformxshift{-\pgfkeysvalueof{/pgf/decoration/start radius}}% |
| 26 |
\pgfpathmoveto{\pgfpointpolar{\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/start radius}}} |
| 27 |
\pgfpatharc{\pgfdecorationsegmentangle}{-\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/start radius}} |
| 28 |
\pgfutil@tempcnta=-\pgfdecorationsegmentangle\relax |
| 29 |
\advance\pgfutil@tempcnta by90\relax |
| 30 |
\pgfmathsetlength\pgfutil@tempdima{\pgfkeysvalueof{/pgf/decoration/start radius}} |
| 31 |
\pgfmathsetlength\pgfutil@tempdimb{\pgfdecorationsegmentamplitude} |
| 32 |
\pgfpathcurveto |
| 33 |
{\pgfpointadd |
| 34 |
{\pgfpointpolar{-\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/start radius}}} |
| 35 |
{\pgfpointpolar{\the\pgfutil@tempcnta}{.25\pgfutil@tempdima}}} |
| 36 |
{\pgfqpoint{1.25\pgfutil@tempdima}{-.5\pgfutil@tempdimb}} |
| 37 |
{\pgfqpoint{1.5\pgfutil@tempdima}{-.5\pgfutil@tempdimb}} |
| 38 |
\pgfpathlineto{\pgfpoint{1.5\pgfutil@tempdima}{.5\pgfutil@tempdimb}} |
| 39 |
\pgfutil@tempcnta=\pgfdecorationsegmentangle\relax |
| 40 |
\advance\pgfutil@tempcnta by-90\relax |
| 41 |
\pgfpathcurveto |
| 42 |
{\pgfpoint{1.25\pgfutil@tempdima}{.5\pgfutil@tempdimb}} |
| 43 |
{\pgfpointadd |
| 44 |
{\pgfpointpolar{\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/start radius}}} |
| 45 |
{\pgfpointpolar{\the\pgfutil@tempcnta}{.25\pgfutil@tempdima}}} |
| 46 |
{\pgfpointpolar{\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/start radius}}} |
| 47 |
\pgfpathclose |
| 48 |
} |
| 49 |
}% |
| 50 |
\state{bar}[width=0pt,next state=end] |
| 51 |
{ |
| 52 |
\pgfmathsetlength\pgfutil@tempdima{\pgfkeysvalueof{/pgf/decoration/start radius}}% |
| 53 |
\pgfmathsetlength\pgfutil@tempdimb{\pgfkeysvalueof{/pgf/decoration/end radius}}% |
| 54 |
\pgfmathsetlength\pgf@xc{\pgfdecorationsegmentamplitude}% |
| 55 |
\pgfpathrectangle |
| 56 |
{\pgfqpoint{.5\pgfutil@tempdima}{-.5\pgf@xc}} |
| 57 |
{\pgfpoint{\pgfdecoratedremainingdistance+-.5\pgfutil@tempdimb+-.5\pgfutil@tempdima}{\pgf@xc}} |
| 58 |
}% |
| 59 |
\state{end}[width=0pt,next state=final] |
| 60 |
{ |
| 61 |
{ |
| 62 |
\pgftransformxshift{\pgfdecoratedremainingdistance}% |
| 63 |
\pgftransformxscale{-1}% |
| 64 |
\pgftransformxshift{-\pgfkeysvalueof{/pgf/decoration/end radius}}% |
| 65 |
\pgfpathmoveto{\pgfpointpolar{\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/end radius}}} |
| 66 |
\pgfpatharc{\pgfdecorationsegmentangle}{-\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/end radius}} |
| 67 |
\pgfutil@tempcnta=-\pgfdecorationsegmentangle\relax |
| 68 |
\advance\pgfutil@tempcnta by90\relax |
| 69 |
\pgfmathsetlength\pgfutil@tempdima{\pgfkeysvalueof{/pgf/decoration/end radius}} |
| 70 |
\pgfmathsetlength\pgfutil@tempdimb{\pgfdecorationsegmentamplitude}% |
| 71 |
\pgfpathcurveto |
| 72 |
{\pgfpointadd |
| 73 |
{\pgfpointpolar{-\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/end radius}}} |
| 74 |
{\pgfpointpolar{\the\pgfutil@tempcnta}{.25\pgfutil@tempdima}}} |
| 75 |
{\pgfqpoint{1.25\pgfutil@tempdima}{-.5\pgfutil@tempdimb}} |
| 76 |
{\pgfqpoint{1.5\pgfutil@tempdima}{-.5\pgfutil@tempdimb}} |
| 77 |
\pgfpathlineto{\pgfpoint{1.5\pgfutil@tempdima}{.5\pgfutil@tempdimb}} |
| 78 |
\pgfutil@tempcnta=\pgfdecorationsegmentangle\relax |
| 79 |
\advance\pgfutil@tempcnta by-90\relax |
| 80 |
\pgfpathcurveto |
| 81 |
{\pgfpoint{1.25\pgfutil@tempdima}{.5\pgfutil@tempdimb}} |
| 82 |
{\pgfpointadd |
| 83 |
{\pgfpointpolar{\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/end radius}}} |
| 84 |
{\pgfpointpolar{\the\pgfutil@tempcnta}{.25\pgfutil@tempdima}}} |
| 85 |
{\pgfpointpolar{\pgfdecorationsegmentangle}{\pgfkeysvalueof{/pgf/decoration/end radius}}} |
| 86 |
\pgfpathclose |
| 87 |
} |
| 88 |
}% |
| 89 |
\state{final} |
| 90 |
{}% |
| 91 |
}% |
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
\pgfkeys{/pgf/decoration/angle=20}% |
| 96 |
|
| 97 |
% To paths for connecting circle nodes |
| 98 |
|
| 99 |
\tikzset{circle connection bar/.style= |
| 100 |
{to path={ |
| 101 |
\pgfextra{% |
| 102 |
\tikz@lib@mindmap@check{\tikztostart}% |
| 103 |
\tikz@compute@circle@radii\tikz@compute@segmentamplitude% |
| 104 |
} |
| 105 |
[every circle connection bar] |
| 106 |
decorate [decoration=circle connection bar] |
| 107 |
{ -- (\tikztotarget) \tikztonodes} |
| 108 |
}, |
| 109 |
append after command={[fill=\tikz@concept@color,draw=none]} |
| 110 |
}}% |
| 111 |
\tikzset{every circle connection bar/.style={}}% |
| 112 |
|
| 113 |
\def\tikz@compute@circle@radii{% |
| 114 |
\pgf@process{\pgfpointtransformed{\pgfpointanchor{\tikztostart}{center}}}% |
| 115 |
\pgf@xa=\pgf@x% |
| 116 |
\pgf@process{\pgfpointtransformed{\pgfpointanchor{\tikztostart}{west}}}% |
| 117 |
\advance\pgf@xa by-\pgf@x% |
| 118 |
\pgfkeys{/pgf/decoration/start radius/.expanded=\the\pgf@xa}% |
| 119 |
\pgf@process{\pgfpointtransformed{\pgfpointanchor{\tikztotarget}{center}}}% |
| 120 |
\pgf@xa=\pgf@x% |
| 121 |
\pgf@process{\pgfpointtransformed{\pgfpointanchor{\tikztotarget}{west}}}% |
| 122 |
\advance\pgf@xa by-\pgf@x% |
| 123 |
\pgfkeys{/pgf/decoration/end radius/.expanded=\the\pgf@xa}% |
| 124 |
}% |
| 125 |
\def\tikz@compute@segmentamplitude{% |
| 126 |
\pgf@x=\pgfkeysvalueof{/pgf/decoration/start radius}\relax% |
| 127 |
\ifdim\pgf@x>\pgfkeysvalueof{/pgf/decoration/end radius}\relax% |
| 128 |
\pgf@x=\pgfkeysvalueof{/pgf/decoration/end radius}\relax% |
| 129 |
\fi% |
| 130 |
\pgf@x=.175\pgf@x\relax% |
| 131 |
\edef\pgfdecorationsegmentamplitude{\the\pgf@x}% |
| 132 |
}% |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
% Check whether start and end are nodes! |
| 137 |
|
| 138 |
\def\tikz@lib@mindmap@check#1{% |
| 139 |
\pgfutil@ifundefined{pgf@sh@ns@#1}% |
| 140 |
{\tikzerror{You are attempting to connect two things by a circle |
| 141 |
connection bar where one is not a node}}{% |
| 142 |
\expandafter\ifx\csname pgf@sh@ns@#1\endcsname\tikz@lib@coordinate@text% |
| 143 |
\tikzerror{You are attempting to connect node of shape |
| 144 |
'coordinate' by a circle connection bar. The shape should be |
| 145 |
'circle' or something similar, instead.} |
| 146 |
\fi% |
| 147 |
} |
| 148 |
}% |
| 149 |
|
| 150 |
\def\tikz@lib@coordinate@text{coordinate}% |
| 151 |
|
| 152 |
|
| 153 |
% Switch color in a mindmap |
| 154 |
|
| 155 |
\tikzoption{circle connection bar switch color}{\tikz@parse@switch#1\pgf@unique}% |
| 156 |
\def\tikz@parse@switch from (#1) to (#2)\pgf@unique{% |
| 157 |
\tikzset{to path={% |
| 158 |
\pgfextra{% |
| 159 |
\tikz@lib@mindmap@check{\tikztostart}% |
| 160 |
\tikz@compute@circle@radii\tikz@compute@segmentamplitude% |
| 161 |
\global\let\tikz@lib@save@start=\tikztostart% |
| 162 |
\global\let\tikz@lib@save@target=\tikztotarget% |
| 163 |
\pgfkeysgetvalue{/pgf/decoration/start radius}\pgf@temp% |
| 164 |
\global\let\tikz@lib@saved@start@radius=\pgf@temp% |
| 165 |
\pgfkeysgetvalue{/pgf/decoration/end radius}\pgf@temp% |
| 166 |
\global\let\tikz@lib@saved@end@radius=\pgf@temp% |
| 167 |
}% |
| 168 |
[every circle connection bar] |
| 169 |
decorate [decoration=circle connection bar] |
| 170 |
{ -- (\tikztotarget) \tikztonodes} |
| 171 |
}, |
| 172 |
append after command={ |
| 173 |
[fill=none,draw=none,path picture=\tikz@lib@shade@pic] |
| 174 |
\pgfextra{ |
| 175 |
\pgfutil@colorlet{tikz@switch@from}{#1}% |
| 176 |
\pgfutil@colorlet{tikz@switch@to}{#2}% |
| 177 |
}} |
| 178 |
} |
| 179 |
}% |
| 180 |
|
| 181 |
\def\tikz@lib@shade@pic{% |
| 182 |
% We have to draw the shading... |
| 183 |
% compute start point: |
| 184 |
\pgftransformreset% |
| 185 |
\pgf@process{\pgfpointnormalised{\pgfpointdiff{\pgfpointanchor{\tikz@lib@save@start}{center}}{\pgfpointanchor{\tikz@lib@save@target}{center}}}}% |
| 186 |
\edef\tikz@lib@mm@vec{\noexpand\pgfqpoint{\the\pgf@x}{\the\pgf@y}}% |
| 187 |
\pgfmathsetlength\pgf@xc{\tikz@lib@saved@start@radius} |
| 188 |
\pgf@process{\pgfpointadd{\pgfpointtransformed{\pgfpointanchor{\tikz@lib@save@start}{center}}} |
| 189 |
{\pgfpointscale{\pgf@sys@tonumber{\pgf@xc}}{\tikz@lib@mm@vec}}} |
| 190 |
\edef\tikz@lib@mm@start{\noexpand\pgfqpoint{\the\pgf@x}{\the\pgf@y}}% |
| 191 |
\pgfmathsetlength\pgf@xc{\tikz@lib@saved@end@radius} |
| 192 |
\pgf@process{\pgfpointdiff{\tikz@lib@mm@start}{\pgfpointadd{\pgfpointtransformed{\pgfpointanchor{\tikz@lib@save@target}{center}}} |
| 193 |
{\pgfpointscale{-\pgf@sys@tonumber{\pgf@xc}}{\tikz@lib@mm@vec}}}} |
| 194 |
\edef\tikz@lib@mm@end{\noexpand\pgfqpoint{\the\pgf@x}{\the\pgf@y}}% |
| 195 |
\pgftransformshift{\tikz@lib@mm@start} |
| 196 |
\pgflowlevelsynccm |
| 197 |
\pgf@process{\tikz@lib@mm@vec} |
| 198 |
{ |
| 199 |
\pgf@xa=-\pgf@x% |
| 200 |
\pgftransformcm{\pgf@sys@tonumber{\pgf@x}}{\pgf@sys@tonumber{\pgf@y}}% |
| 201 |
{\pgf@sys@tonumber{\pgf@y}}{\pgf@sys@tonumber{\pgf@xa}}% |
| 202 |
{\pgfpointorigin}% |
| 203 |
\pgf@process{\pgfpointtransformed{\tikz@lib@mm@end}}% |
| 204 |
\expandafter |
| 205 |
} |
| 206 |
\edef\tikz@lib@mm@length{\the\pgf@x}% |
| 207 |
\pgf@process{\tikz@lib@mm@vec} |
| 208 |
\pgf@ya=-\pgf@y% |
| 209 |
\pgftransformcm{\pgf@sys@tonumber{\pgf@x}}{\pgf@sys@tonumber{\pgf@y}}% |
| 210 |
{\pgf@sys@tonumber{\pgf@ya}}{\pgf@sys@tonumber{\pgf@x}}% |
| 211 |
{\pgfpointorigin}% |
| 212 |
% Y scale: |
| 213 |
\pgfmathsetlength\pgf@y{\tikz@lib@saved@start@radius}% |
| 214 |
\pgfmathsetlength\pgf@ya{\tikz@lib@saved@end@radius}% |
| 215 |
\ifdim\pgf@y<\pgf@ya% |
| 216 |
\pgf@y=\pgf@ya% |
| 217 |
\fi% |
| 218 |
\pgf@y=0.01992528\pgf@y% |
| 219 |
\pgftransformyscale{\pgf@sys@tonumber{\pgf@y}}% |
| 220 |
\pgfpathrectanglecorners |
| 221 |
{\pgfpoint{-\tikz@lib@saved@start@radius}{-50bp}} |
| 222 |
{\pgfpoint{1pt}{50bp}} |
| 223 |
\pgfsetfillcolor{tikz@switch@from} |
| 224 |
\pgfusepath{fill} |
| 225 |
\pgfpathrectanglecorners |
| 226 |
{\pgfpoint{\tikz@lib@mm@length+\tikz@lib@saved@end@radius}{-50bp}} |
| 227 |
{\pgfpoint{\tikz@lib@mm@length-1pt}{50bp}} |
| 228 |
\pgfsetfillcolor{tikz@switch@to} |
| 229 |
\pgfusepath{fill} |
| 230 |
% X scale: |
| 231 |
\pgf@x=\tikz@lib@mm@length% |
| 232 |
\pgf@x=0.009962\pgf@x% |
| 233 |
\pgftransformxscale{\pgf@sys@tonumber{\pgf@x}}% |
| 234 |
\pgftransformxshift{50bp} |
| 235 |
\pgflowlevelsynccm% |
| 236 |
\pgfuseshading{tikz@shade@bar} |
| 237 |
}% |
| 238 |
|
| 239 |
\tikzoption{concept color}{% |
| 240 |
\let\tikz@old@concept@color=\tikz@concept@color% |
| 241 |
\def\tikz@edge@to@parent@path{ |
| 242 |
(\tikzparentnode) |
| 243 |
to[circle connection bar switch color=from (\tikz@old@concept@color) to (#1)] |
| 244 |
(\tikzchildnode)} |
| 245 |
\def\tikz@concept@color{#1}% |
| 246 |
}% |
| 247 |
|
| 248 |
\pgfdeclarehorizontalshading[tikz@switch@from,tikz@switch@to]{tikz@shade@bar}{100bp}{% |
| 249 |
color(0pt)=(tikz@switch@from); |
| 250 |
color(100bp)=(tikz@switch@to)}% |
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
% A concept node |
| 256 |
|
| 257 |
\tikzset{concept/.style= {circle,fill=\tikz@concept@color,draw=\tikz@concept@color,every concept}}% |
| 258 |
\tikzset{every concept/.style= {}}% |
| 259 |
|
| 260 |
\def\tikz@concept@color{black}% |
| 261 |
|
| 262 |
\tikzset{tikz@concept@setting/.style={edge from parent path={(\tikzparentnode) to [circle connection bar] (\tikzchildnode)}}}% |
| 263 |
\tikzset{tikz@concept@color@set/.style={}}% |
| 264 |
|
| 265 |
|
| 266 |
\tikzset{extra concept/.style= {concept color=black!50,level 2 concept,concept,every extra concept}}% |
| 267 |
\tikzset{every extra concept/.style={}}% |
| 268 |
|
| 269 |
\tikzset{concept connection/.style={line width=1mm,shorten <=2mm,shorten >=2mm,cap=round,draw=black!50}}% |
| 270 |
|
| 271 |
|
| 272 |
% A mindmap |
| 273 |
|
| 274 |
\tikzset{mindmap/.style= |
| 275 |
{fill,draw,very thick,outer sep=0pt,inner sep=1pt,% |
| 276 |
every child/.append style={style=tikz@concept@setting,style=tikz@concept@color@set},% |
| 277 |
root concept, |
| 278 |
level 1/.append style={level 1 concept}, |
| 279 |
level 2/.append style={level 2 concept}, |
| 280 |
level 3/.append style={level 3 concept}, |
| 281 |
level 4/.append style={level 4 concept}, |
| 282 |
text centered,% |
| 283 |
segment angle=20, |
| 284 |
style=every mindmap, |
| 285 |
}}% |
| 286 |
\tikzset{every mindmap/.style={}}% |
| 287 |
|
| 288 |
|
| 289 |
\tikzset{root concept/.style= {minimum size=4cm,text width=3.5cm,font=\pgfutil@font@large}}% |
| 290 |
\tikzset{level 1 concept/.style={minimum size=2.25cm, |
| 291 |
level distance=5cm, |
| 292 |
text width=2cm, |
| 293 |
sibling angle=60, |
| 294 |
font=\pgfutil@font@small}}% |
| 295 |
\tikzset{level 2 concept/.style={minimum size=1.75cm,% |
| 296 |
level distance=2.9cm,% |
| 297 |
text width=1.5cm,% |
| 298 |
sibling angle=60,% |
| 299 |
font=\pgfutil@font@footnotesize}}% |
| 300 |
\tikzset{level 3 concept/.style={minimum size=1.15cm,% |
| 301 |
text width=1cm,% |
| 302 |
level distance=2.4cm,% |
| 303 |
sibling angle=30,% |
| 304 |
font=\pgfutil@font@tiny}}% |
| 305 |
\tikzset{level 4 concept/.style={minimum size=0.9cm,% |
| 306 |
text width=0.7cm, |
| 307 |
level distance=1.85cm,% |
| 308 |
sibling angle=30,% |
| 309 |
font=\pgfutil@font@tiny}}% |
| 310 |
|
| 311 |
\tikzset{small mindmap/.style= |
| 312 |
{% |
| 313 |
root concept/.style={minimum size=2.3cm,text width=2.1cm,font=\pgfutil@font@footnotesize}, |
| 314 |
level 1 concept/.style={% |
| 315 |
minimum size=1.5cm, |
| 316 |
level distance=2.8cm, |
| 317 |
text width=1.4cm, |
| 318 |
sibling angle=75, |
| 319 |
font=\pgfutil@font@scriptsize},% |
| 320 |
level 2 concept/.style={% |
| 321 |
minimum size=1.1cm,% |
| 322 |
level distance=2.2cm,% |
| 323 |
text width=1.1cm,% |
| 324 |
sibling angle=60,% |
| 325 |
font=\pgfutil@font@tiny},% |
| 326 |
level 3 concept/.style={% |
| 327 |
level 2 concept, |
| 328 |
sibling angle=30,% |
| 329 |
font=\pgfutil@font@tiny},% |
| 330 |
level 4 concept/.style={% |
| 331 |
level 3 concept, |
| 332 |
}, |
| 333 |
mindmap,% |
| 334 |
line width=2pt, |
| 335 |
}}% |
| 336 |
|
| 337 |
\tikzset{large mindmap/.style= |
| 338 |
{% |
| 339 |
root concept/.style={minimum size=5.6cm,text width=4.5cm,font=\pgfutil@font@Large}, |
| 340 |
level 1 concept/.style={% |
| 341 |
minimum size=3.2cm, |
| 342 |
level distance=7cm, |
| 343 |
text width=2.8cm, |
| 344 |
sibling angle=60, |
| 345 |
font=},% |
| 346 |
level 2 concept/.style={% |
| 347 |
minimum size=2.45cm,% |
| 348 |
level distance=4cm,% |
| 349 |
text width=2.2cm,% |
| 350 |
sibling angle=60,% |
| 351 |
font=\pgfutil@font@small% |
| 352 |
},% |
| 353 |
level 3 concept/.style={% |
| 354 |
minimum size=1.63cm,% |
| 355 |
text width=1.4cm,% |
| 356 |
level distance=3.38cm,% |
| 357 |
sibling angle=30,% |
| 358 |
font=\pgfutil@font@scriptsize},% |
| 359 |
level 4 concept/.style={% |
| 360 |
minimum size=1.27cm,% |
| 361 |
text width=1cm, |
| 362 |
level distance=2.60cm,% |
| 363 |
sibling angle=30,% |
| 364 |
font=\pgfutil@font@tiny},% |
| 365 |
mindmap,% |
| 366 |
line width=2pt, |
| 367 |
}}% |
| 368 |
|
| 369 |
\tikzset{huge mindmap/.style= |
| 370 |
{% |
| 371 |
root concept/.style={minimum size=8cm,text width=7cm,font=\pgfutil@font@huge}, |
| 372 |
level 1 concept/.style={% |
| 373 |
minimum size=4.5cm, |
| 374 |
level distance=10cm, |
| 375 |
text width=4cm, |
| 376 |
sibling angle=60, |
| 377 |
font=\pgfutil@font@large},% |
| 378 |
level 2 concept/.style={% |
| 379 |
minimum size=3.5cm,% |
| 380 |
level distance=5.8cm,% |
| 381 |
text width=3cm,% |
| 382 |
sibling angle=60,% |
| 383 |
font=% |
| 384 |
},% |
| 385 |
level 3 concept/.style={% |
| 386 |
minimum size=2.3cm,% |
| 387 |
text width=2cm,% |
| 388 |
level distance=4.8cm,% |
| 389 |
sibling angle=30,% |
| 390 |
font=\pgfutil@font@footnotesize},% |
| 391 |
level 4 concept/.style={% |
| 392 |
minimum size=1.7cm,% |
| 393 |
text width=1.4cm, |
| 394 |
level distance=3.7cm,% |
| 395 |
sibling angle=30,% |
| 396 |
font=\pgfutil@font@scriptsize},% |
| 397 |
mindmap,% |
| 398 |
line width=3pt, |
| 399 |
}}% |
| 400 |
|
| 401 |
|
| 402 |
% Annotations |
| 403 |
|
| 404 |
\tikzset{annotation/.style={shape=rectangle, |
| 405 |
minimum size=0pt, |
| 406 |
text width=3.5cm, |
| 407 |
outer sep=1.5mm, |
| 408 |
inner sep=1mm, |
| 409 |
text badly ragged, |
| 410 |
rounded corners, |
| 411 |
font=\pgfutil@font@tiny, |
| 412 |
every annotation}}% |
| 413 |
\tikzset{every annotation/.style={}}% |
| 414 |
|
| 415 |
|
| 416 |
|
| 417 |
\endinput |