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.
 \begin{tikzpicture}
\draw (0,2.5) node[minimum height=1cm,minimum width=3cm,draw] (A) {A};
\draw (5,0) node[minimum height=1cm,minimum width=3cm,draw] (B){B};
\draw (5,1.5) node[minimum height=1cm,minimum width=3cm,draw] (C) {C};
\draw (5,3) node[minimum height=1cm,minimum width=3cm,draw] (D) {D};
\draw (5,4.5) node[minimum height=1cm,minimum width=3cm,draw] (E) {E};

\draw[-latex] (A) -| (B);


\end{tikzpicture}

I managed to draw the boxed per my requirement, I want the arrow to connect to the left side of the box B. Not sure how to do it. Regards Aku

share|improve this question
    
I used @Stefan's solution it is producing results as shown in the left side attached image. I would like to produce as shown in the right side of the image. \draw[-latex] (A.east) |- (B.west); \draw[-latex] (A.east) |- (C.west); \draw[-latex] (A.east) |- (D.west); \draw[-latex] (A.east) |- (E.west); thanks ![alt text][1] [1]: i.imgur.com/wpnqe.jpg –  Aku Jan 12 '11 at 21:59
    
this would be a good new question. In this position here, it's an answer. That's not how this Question&Answer site works (it's not a web forum). It would be great if you re-post this as a separate question. Of course you may additionally link to here. –  Stefan Kottwitz Jan 12 '11 at 21:59
    
@Stefan I will ask as a new question. I am still learning. Thanks for your feedback –  Aku Jan 12 '11 at 21:59
add comment

1 Answer

up vote 2 down vote accepted

You could use anchors, for example:

\draw[-latex] (A.east) -- (B.west);

For lines going down and then right, use |-

\draw[-latex] (A.south) |- (B.west);
share|improve this answer
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.