You can use tikz-cd. It is the tikz
analog to xy-matrix
, it easy to use, and it is reasonably flexible. Here is an example:
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\pgfdeclareimage[interpolate=true]{image-name}{circle}
$$
\begin{tikzcd}
\pgfuseimage{image-name} \rar[start anchor=real east] & \node[draw,circle]{A};
\end{tikzcd}
$$
\end{document}
Note that you need to modify the anchors of the arrows (where the arrows begin and end) since the anchors of the nodes in tikz-cd
are shifted for technical reasons (cf. Sec. 3.3 in the package's manual). The circle on the left is a node as defined by tikz-cd
, hence adjustment is necessary. The other is a normal node, so no adjustment is necessary.
Also, note that you can use pgf
to include your drawings from separate files (since it seems you use several). This has the advantage that each image is included just once in the PDF file and it can be used many times without increasing the size of the file a lot.
Edit: Example

Replace the polygons with fancier graphics, and you can get very nice diagrams with very simple code:
\documentclass{article}
\usepackage{tikz-cd}
\usetikzlibrary{shapes} % to draw polygons
\begin{document}
\[
\begin{tikzcd}
\node[draw,regular polygon, regular polygon sides=5]{}; \rar{\varphi}
\drar \arrow[bend right=50]{d} &
\node[draw,circle]{}; \dlar[crossing over] \\
\node[draw,regular polygon, regular polygon sides=6]{}; \arrow{r}[description]{\psi} &
\node[draw,circle]{};
\end{tikzcd}
\]
\end{document}
Also, I want to stress what I wrote in one comment, tikz-cd
changes the arrows parameters (only in diagrams of course) for the arrows to look exactly as the arrows from the amsmath
package. Very important...
matrix
library.