i'm trying to draw the snake-lemma diagram but the connective morphism is no passing under the other ones as i would like to (it IS passing under, but not with enough spacing, the second image should clarify what i mean) and i would also like to move its label, like the second figure.
\[\begin{tikzcd}
{} & \red{\ker f'} \arrow[r, "\overline{\alpha}", red] \arrow[d, hook, "i'"] & \red{\ker f} \arrow[r, "\overline{\beta}", red] \arrow[d, hook, "i"] & \red{\ker f''} \arrow[d, hook, "i''"]
\arrow[ddd, phantom, ""{coordinate, name=Z}] \arrow[dddll,
"\delta",
rounded corners,
to path={ -- ([xshift=2ex]\tikztostart.east)
|- (Z) [near end]\tikztonodes
-| ([xshift=-2ex]\tikztotarget.west)
-- (\tikztotarget)}, red] & {}\\
{} & M' \arrow[r, "\alpha"] \arrow[d, "f'"] & M \arrow[r, "\beta"] \arrow[d, "f"] & M'' \arrow[r] \arrow[d, "f''"] & 0 \\
0 \arrow[r] & N' \arrow[r, "\alpha'"] \arrow[d, two heads, "\pi'"] & N \arrow[r, "\beta'"] \arrow[d, two heads, "\pi"] & N'' \arrow[d, two heads, "\pi''"] & {} \\
{} & \red{\coker f'} \arrow[r, "\overline{\alpha'}", red] & \red{\coker f} \arrow[r, "\overline{\beta'}", red] & \red{\coker f''} & {}
\end{tikzcd}\]



