Is there any way to modify this example so the line to "Hey!" stops at the edge of its node boundary? (Or at least stops drawing some distance short of its final position) I know I can use a fill but I don't want to in this case.
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}[node distance=2cm,>=latex, every node/.style={
font=\sffamily\scriptsize
},
circtext/.style={draw,circle,minimum size=8pt,inner sep=2pt},
dot/.style={draw,circle,fill=black,minimum size=0.6mm,inner sep=0pt}
]
{
\node[rectangle, fill=green!10!white!90!black, minimum width=6cm, minimum height=3cm] at (2,0){};
\node[circtext, fill=yellow](A) at (0,0) {A};
\node[circtext, fill=yellow, right=of A](B){B};
\draw[->] (A) -- node[dot, pos=0.5](C){}(B);
\draw[-] (C) --++(1,1) node[draw, inner sep=1pt]{Hey!};
}
\end{tikzpicture}
\end{document}

aboveoranchor=<something>or similar, or place the node before and then connect it. There also might be the possibility to usemark connection nodefrom thedecoration.markingslibrary, though I prefer the node placed before. – Qrrbrbirlbel May 13 '15 at 20:38\draw[-,shorten >=6pt] .... – Alenanno May 13 '15 at 20:38(1,1)) relative to another node? – Jason S May 13 '15 at 20:41pin=, that seems to sort of do what I want. – Jason S May 13 '15 at 20:41at ($(nodename)+(1,1)$), depending on the type of positioning you want to do, but if I'm not mistaken it requires thecalclibrary. – Alenanno May 13 '15 at 20:42\node at ([shift=(1,1)]C) {Hey!}(orat ($(C)+(1,1)$)with thecalclibrary) or\node[above right=1 and 1 of C]{Hey}(seepositioninglibrary) and possibily theon gridoption. – Qrrbrbirlbel May 13 '15 at 20:43