I am trying to draw a tikz diagram with nodes and lines. I would like to control the point where lines meet nodes. That is, for some node whose coordinates are (x,y), I want to be able to draw lines that start at (x,y+0.2) and terminates at (x,y-0.2). That is, I want a shortcut for the following commands:
Code: Select all
\node(a) at (0,0);
\node(b) at (1,1);
\draw(0,.2) -- (1,.8);
Thanks!