I have the following example. How do I the get the tikzpicture to center correctly both horizontally and vertically.
\documentclass[10pt,a4paper]{report}
\usepackage{tikz}
\usepackage{tabularx}
\usetikzlibrary{graphs, graphdrawing, graphs.standard}
\usegdlibrary{circular}
\begin{document}
\begin{center}
\begin{tabularx}{\textwidth}{|X|X|X|}
\hline
\begin{tikzpicture}[simple necklace layout]
\graph[nodes={circle, n=4, inner sep=0pt, minimum size=2mm, fill, as=, grow'=up}] {
subgraph I_n[V={0,1,2,3}];
0 -- 2,
1 -- 2,
0 -- 3,
1 -- 3,
};
\end{tikzpicture}
&
\begin{tikzpicture}[simple necklace layout]
\graph[nodes={circle, n=4, inner sep=0pt, minimum size=2mm, fill, as=, grow'=up}] {
subgraph I_n[V={0,1,2,3}];
0 -- 1,
1 -- 2,
0 -- 3,
2 -- 3,
};
\end{tikzpicture}
&
\begin{tikzpicture}[simple necklace layout]
\graph[nodes={circle, n=4, inner sep=0pt, minimum size=2mm, fill, as=, grow'=up}] {
subgraph I_n[V={0,1,2,3}];
0 -- 1,
0 -- 2,
1 -- 3,
2 -- 3,
};
\end{tikzpicture}
\\
\hline
\end{tabularx}
\end{center}
\end{document}

simple necklace layoutis actually defined in the graph drawing librarycircularseepgfmanual§ 33 – BambOo May 26 '20 at 14:04