I can't seem to find an example online that adds text in between two nodes. I can find a few examples that add annotation to the left or right, but I'd like to add text along the connection between the concept and the child nodes. Example here:
\documentclass[12pt,letter,oneside]{book}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\usetikzlibrary{mindmap,backgrounds}
\begin{document}
\begin{figure}[t]
\begin{tikzpicture}[mindmap,
level 1 concept/.append style={level distance=130,sibling angle=30},
extra concept/.append style={color=blue!50,text=black}]
\begin{scope}[mindmap, concept color=orange, text=white]
\node [concept] {di}[clockwise from=-5]
child [level distance=150] {node [concept] (di3) {di3}}
child [level distance=100] {node [concept] {di4}
child [level distance=80, concept color=blue!50] {node [concept] (di1) {di1}}
child [level distance=140, concept color=blue!50] {node [concept] (di2) {di2}}};
\end{scope}
\end{tikzpicture}
\end{figure}
\end{document}
How do I add text between the concept node {di} and each child node?