For example (used by another thread):
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}[level distance=1.5cm, grow=down,
every node/.style={draw, circle, thin},
edge from parent/.style={-latex, thick, draw}
]
\node (P) {P}
child {node (Q) {Q}
child {node (T) {T}}
child {node (U) {U}}
}
child {node (R) {R}}
child {node (S) {S}};
\path (P) -- coordinate[midway] (PQ) (Q);
\path (P) -- coordinate[midway] (PR) (R);
\draw (PQ) to[bend right=22] (PR);
\end{tikzpicture}
\end{document}
how can I add a label, e.g., M to the line PQ?


minimalclass. It exists for very different purposes than preparing examples. – egreg Mar 19 '13 at 23:29minimaloverarticlewhen creating a standalone graphic?minimaldoesn't define everything you always wanted. It may work in this instance, but it's not always transferable to other minimal examples. – Werner Mar 19 '13 at 23:35