MA0301/exam/python/tex_templates/Kruskals.tex

37 lines
832 B
TeX

\begin{mgraphbox}[width=\linewidth]
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{scope}[every node/.style={shape=circle, fill=white, draw, inner sep=2pt}]
%NODES1
\end{scope}
\begin{scope}[every draw/.style={}]
%EDGES1
\end{scope}
\end{tikzpicture}
\end{center}
\end{figure}
\end{mgraphbox}
Minimal spanning tree:
\begin{mgraphbox}[width=\linewidth]
\begin{figure}[H]
\begin{center}
\begin{tikzpicture}
\begin{scope}[every node/.style={shape=circle, fill=white, draw, inner sep=2pt}]
%NODES2
\end{scope}
\begin{scope}[every draw/.style={}]
%EDGES2
\end{scope}
\end{tikzpicture}
\end{center}
\end{figure}
\end{mgraphbox}