我正在尝试制作一个mindmap
,tikz
但我想在根节点和其子节点的颜色之间添加一些褪色(纯蓝色和深蓝色之间的平滑过渡)。
\begin{tikzpicture}[mindmap, grow cyclic, text width=3cm, align=flush center,
every node/.style=concept, concept color=blue!20,
level 1/.style={level distance=8cm,sibling angle=180},
level 2/.style={level distance=5cm,sibling angle=60}]
\node [concept color=blue!50]{Clasificacion de las calderas}
child{node{De acuerdo a}
child {node {Combustible empleado}}
child {node {Tipo de transferencia}}
child {node {Circulacion}}
child {node {Contenido de agua}}
child {node {Presion de horno}}
child {node {Configuracion}}
};
\end{tikzpicture}
这是我的结果:
答案1
像这样?
\documentclass[border=5]{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\begin{document}
\begin{tikzpicture}[mindmap, grow cyclic, text width=3cm, align=flush center,
every node/.style=concept, concept color=blue!90,
level 1/.style={level distance=9cm,sibling angle=180,every child/.append style={concept color=blue!35}},
level 2/.style={level distance=6cm,sibling angle=60,,every child/.append style={concept color=blue!10}}]
\node {Clasificacion de las calderas}
child{node{De acuerdo a}
child {node {Combustible empleado}}
child {node {Tipo de transferencia}}
child {node {Circulacion}}
child {node {Contenido de agua}}
child {node {Presion de horno}}
child {node {Configuracion}}
};
\end{tikzpicture}
\end{document}
这里的技巧是添加
every child/.append style={concept color=blue!35}
和风格level 1
。level 2