## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ tikz nodes connection problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Bahurin
Posts: 5
Joined: Mon Dec 30, 2013 2:33 pm

### tikz nodes connection problem

Dear all!
I cannot to find solution of my problems.
I created short code:

\documentclass{article}\usepackage{tikz}\usetikzlibrary{shapes, snakes, arrows} \tikzset{	sum/.style={circle,draw=black,fill=white,thick, inner sep=0pt,minimum size=6mm},	gain/.style={regular polygon,regular polygon sides=3, draw = black, fill=white,thick, minimum size=6mm},	none/.style={draw=none,fill=none}} \begin{document} 	\begin{tikzpicture}[thick, >=stealth] 		\node(w) at (0,0) [gain, rotate = -90]  {};			\node(sum0) at ( 2,0) [sum] {$+$};		\draw[->] (w) -- (sum0) ;		\draw[*->] (1,0) -- (1,-1) ;  	\end{tikzpicture}  \end{document}

I created 2 nodes: triangle and circle and I want to connect nodes (see picture).

arrows.png (3.29 KiB) Viewed 3311 times

But line from triangle node likes bad. Also I want to create branch from my connection like this
\draw[*->] (1,0) -- (1,-1) ;

but beggining marker also just touch main line.

Could you tell me how can I solve these problems?
Thanks!

Tags:

Stefan Kottwitz
Posts: 9550
Joined: Mon Mar 10, 2008 9:44 pm
Hi Bahurin,

very good minimal example and picture! So it makes fun to read and to test it.

You could simply extend the lines, that is, shorten by a negative value:

     \draw[->,  shorten <=-1] (w)   -- (sum0) ;      \draw[*->, shorten <=-3] (1,0) -- (1,-1) ;

arrows.png (9.68 KiB) Viewed 3303 times

Stefan