Skip to content

Instantly share code, notes, and snippets.

\begin{figure}[H]
\centering
\begin{tikzpicture}[
MyStyle/.style={draw, minimum width=2em, minimum height=2em, outer sep=0pt, node distance = 0.01cm },
]
\matrix (A) [matrix of math nodes, nodes = {draw,align=center}, nodes={MyStyle, anchor=center, }, column sep=-\pgflinewidth]
{10\\ 10 & 20\\ 20 & 33\\ 15 \\};
\begin{scope}[-{Stealth[length = 5.0pt]}]
\end{scope}
\end{tikzpicture}