Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In Tikz, I would like to bend an arrow like the one between $H_2O$ and $O_2$ in this figure:

enter image description here

I'm able to have a bended line between $H_2O$ and $O_2$, but it's not touching the photophosphorylation node…

How can I do that?

share|improve this question
    
Fow on #latex found the beginning of a solution : pastebin.tlhiv.org/DExfrO7T . The problem is that the arrow is "broken" when it touches the circle. –  Bjonnh Jan 22 '12 at 15:57
    
Hey, cool diagram. Post the code, please. –  Faheem Mitha Jan 22 '12 at 16:34
add comment

1 Answer 1

up vote 14 down vote accepted

This is most easily done by using the nodes placement, and a to command. You will then be able to achieve the desired result.

\begin{tikzpicture}
  \node at (-2,1) (H2O) {H2O};
  \node[fill=blue] at (2,0) (Photo) {Photophosphorylation};
  \node at (-2,-1) (O2) {O2};
  \draw[->] (H2O.east) to[out=0,in=90] (Photo.west) to[out=-90,in=0] (O2.east);
\end{tikzpicture}

picture

You can then always align them in ingenious ways using matrices or whatever.

share|improve this answer
    
Thanks zeroth, exactly what I was looking for ! –  Bjonnh Jan 22 '12 at 16:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.