4

In the following diagram, an arrow goes through vertex M. Is there a way to stop this from happening?

\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[row sep=scriptsize, column sep=scriptsize]
    & f^*(m \wedge n) \arrow[dl] \arrow[ddrr] & & f^*(m) \arrow[dl] \arrow[dd] \\
    m \wedge n  \arrow[dd] \arrow[rr] & & M \\
    & f^*(n) \arrow[dl] \arrow[rr] & & X \arrow[dl, "f"] \\
    N \arrow[rr] & & Y \arrow[from=uu, crossing over]\\
\end{tikzcd}
\end{document}
6

Bend the arrow a little bit to circumvent the M or let it pass behind it:

\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[row sep=scriptsize, column sep=scriptsize]
& f^*(m \wedge n) \arrow[dl] & & f^*(m) \arrow[dl] \arrow[dd] \\
m \wedge n  \arrow[dd] \arrow[rr] & & M \\
& f^*(n) \arrow[dl] \arrow[rr] & &  \arrow[from=uull,bend left=30,crossing over] X \arrow[dl, "f"] \\
N \arrow[rr] & & Y \arrow[from=uu, crossing over]\\
\end{tikzcd}


\begin{tikzcd}[row sep=scriptsize, column sep=scriptsize]
& f^*(m \wedge n) \arrow[dl] \arrow[ddrr,bend left=30] & & f^*(m) \arrow[dd] \\
m \wedge n  \arrow[dd] \arrow[rr] & & M \arrow[from=ur,crossing over] \\
& f^*(n) \arrow[dl] \arrow[rr] & & X \arrow[dl, "f"] \\
N \arrow[rr] & & Y \arrow[from=uu, crossing over]\\
\end{tikzcd}


\begin{tikzcd}[row sep=scriptsize, column sep=scriptsize]
& f^*(m \wedge n) \arrow[dl] \arrow[-,dr] & & f^*(m) \arrow[dl] \arrow[dd] \\
m \wedge n  \arrow[dd] \arrow[rr] & & M \arrow[dr]\\
& f^*(n) \arrow[dl] \arrow[rr] & & X \arrow[dl, "f"] \\
N \arrow[rr] & & Y \arrow[from=uu, crossing over]\\
\end{tikzcd}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.