I am trying to render some graphs in my obsidan documents such as the one below

```
\documentclass{article}
\usepackage{tikz-cd}
\usetikzlibrary{graphs.standard,arrows.meta}
\begin{document}
\begin{tikzpicture}
% Define the vertices in set A (red vertices)
\foreach \i in {1,...,4} {
\node[draw, circle, fill=red] (A\i) at (0, \i) {$A_\i$};
}
% Define the vertices in set B (blue vertices)
\foreach \j in {1,...,4} {
\node[draw, circle, fill=blue] (B\j) at (4, \j) {$B_\j$};
}
% Draw the edges for the bipartite graph
\foreach \i in {1,...,4} {
\foreach \j in {1,...,4} {
\draw[-{Latex}] (A\i) -- (B\j);
}
}
\end{tikzpicture}
\end{document}
```

I have tried disabling all my other community plug ins except tikz jax, but it is still stuck rendering forever.

It seems to work without for loops in other cases but this case does not work with or without it. Has anyone run into problems like this?