I want to write diagonal arrows, with the label lay down to the arrow.
Something like this:
Here is my best attempt, but it does not work
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {$\bullet$};
\node (B) at (-2,-1) {$\bullet$};
\draw[thick,->] (A) -- (B) node[midway,sloped,rotate=270] {$\frac 34$};
\end{tikzpicture}
\end{document}
I just get this:
xshift
andyshift
per node, but it doesn't make much sense for many nodes.