
交差する線に別のレイアウトが必要です。
\documentclass[tikz]{standalone}
%\usetikzlibrary{knots} %doesn't work?
\begin{document}
\begin{tikzpicture}
\node (a) at (0,0) {a};
\node (b) at (2,0) {b};
\node (c) at (1,1) {c};
\node (d) at (1,-1) {d};
\draw (a) -- (b);
\draw (c) -- (d);
\end{tikzpicture}
\end{document}
次のような外観を実現するライブラリはありますか?