\usetikzlibrary{positioning}
\usepackage{array}
\begin{document}
\begin{tikzpicture}[scale=1.5, ultra thick,
every node/.style={draw=black, circle, very thick,font =\huge, minimum size=3em},
arrow/.style={-},
]
\node [below] (A) {A};
\node [below=of A] (C) {C};
\node [left=of C] (B) {B};
\node [right=of C] (D) {D};
\node [below left=of C, xshift=2em, yshift=-1em] (E) {E};
\node [below right=of C, xshift=-2em, yshift=-1em] (F) {F};
\draw[arrow] (A)--(B);
\draw[arrow] (C)--(A);
\draw[arrow] (D)--(A);
\draw[arrow] (E)--(B);
\draw[arrow] (E)--(C);
\draw[arrow] (F)--(B);
\draw[arrow] (F)--(D);
\node[below] at(10,0) (species1) [shape=rectangle, draw] {
\fontsize{32}{20}\selectfont%
\begin{tabular}{c|c|l}
& data & $*$first\\
\hline
0 & A & $\to1\to2\to3$\\
1 & B & $\to0\to4\to5$\\
2 & C & $\to0\to4$ \\
3 & D & $\to0\to5$ \\
4 & E & $\to1\to2$ \\
5 & F & $\to1\to3$ \\
\end{tabular}
};
\end{tikzpicture}
\end{document}-
矩阵:创建矩阵并引用矩阵中的元素
-
框住结点:7.12 Fitting nodes
-
批量操作:15 Create command、第7章 查找
-
xdef与def:第3章 栈和队列