Here is my LaTeX for a commutative diagram using tikz-cd:
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[column sep=small]
& & Y & & \\
& A \arrow[ur] \arrow[to=3-1] & D \arrow[r] \arrow[l] \arrow[d] & C \arrow[ul] \arrow[to=3-5] & \\
Z & & B \arrow[to=3-1] \arrow[to=3-5] & & X
\end{tikzcd}
\end{document}
Is there a way to make the outer triangle equilateral, such that $A$, $B$, and $C$ lie in the middle of the edges, and $D$ lies in the centre of the triangle? Ideally, the arrows from $D$ to $A$, $B$, and $C$ would be perpendicular to the edges of the triangle.