node doesn't work for curved paths in pgf-2.1. The node is aways at the starting point. Does anyone know why or have a workaround?
I also met this problem. And I solved it by replacing "edge" to "to" in "\draw" command.
> replacing "edge" to "to" in "\draw" command.
I don't understand that. Here's a minimal example showing the difference between straight and curved edges:
\begin{tikzpicture} \draw (0,1) - (1,2) node {$\bullet$} ; \draw (0,0) to (1,1) node {$\bullet$} ; \end{tikzpicture}
node doesn't work for curved paths in pgf-2.1. The node is aways at the starting point. Does anyone know why or have a workaround?
I also met this problem. And I solved it by replacing "edge" to "to" in "\draw" command.
> replacing "edge" to "to" in "\draw" command.
I don't understand that. Here's a minimal example showing the difference between straight and curved edges:
\begin{tikzpicture}
\draw (0,1) - (1,2) node {$\bullet$} ;
\draw (0,0) to (1,1) node {$\bullet$} ;
\end{tikzpicture}