Till Tantau | 8 Jan 12:10
Picon
Favicon

Re: Connecting Nodes with two parallel lines

Hello everyone,

the problem lies in the fact that shifts normally have no effect on  
anchored coordinates. If this were the case, then a scale=2 would  
make it impossible to access any nodes anchors sensibly.

Anyway, to solve this particular problem, you have to move the  
xshift=2pt into the node references like this:

\draw[color=blue,solid,<-] ([xshift=2pt]CENTER) -- ([xshift=2pt]PAR);

A bit ugly, bit it should work. The shift options given inside (...)  
*do* apply also to node anchors.

Hoping this helps,
Till

Am 08.01.2007 um 00:51 schrieb Matthias Steinbrink:

> Dear users,
>
> I need to draw a diagram in which some nodes are connected with two
> lines parallel to each other but with different style and arrow
> orientation. I tried to achieve it by the enclosed code but the two
> lines are drawn on top of each other, not next to each other. I  
> guess it
> has to do with the node naming but I cannot figure out how I can  
> get the
> two lines to appear.
>
(Continue reading)


Gmane