I'm drawing a line between 2 nodes and I'd like to avoid to touch the nodes, I have been able to do it with the first node but not with the second.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\tikz[baseline] \node[fill opacity=0.1,circle,label=left:2016,fill=black,inner sep=3pt] at (0,0) (n1) {};
\tikz[baseline] \node[draw=none,fill=none,align=left] {
\vbox{
bar
}
};
\tikz[baseline] \node[draw=none,align=left] {
\hspace*{20mm}\parbox{10cm}{
foo
}
};
\tikz[baseline] \node[fill opacity=0.1,circle,label=left:2016,fill=black,inner sep=3pt] at (0,0) (n2) {};
\tikz[baseline] \node[draw=none,fill=none,align=left] {
\vbox{
bar
}
};
\tikz[baseline] \node[draw=none,align=left] {
\hspace*{20mm}\parbox{10cm}{
foo
}
};
\begin{tikzpicture}[overlay]
\draw (n1)++(0, -0.25) -- (n2)++(0, 0.25);
\end{tikzpicture}
\end{document}



\draw ([yshift=-0.1cm]n1.south) -- ([yshift=0.1cm]n2.north);. (And replace\tikzstyle{every picture}+=[remember picture]by\tikzset{every picture/.append style={remember picture}}) Not sure if I would draw this picture in the way you do, why don't you just draw one picture? – Nov 29 '18 at 18:25