1
0
mirror of https://github.com/chylex/Brotli-Builder.git synced 2024-11-25 07:42:56 +01:00
Brotli-Builder/Paper/Source/Figures/TikZ/huffman-tree-example.tex
2020-05-14 23:32:45 +02:00

19 lines
458 B
TeX

\begin{tikzpicture}[edge from parent/.style = { draw, -latex }]
\node [draw, circle] { \phantom{-} }
child {
node [draw, circle] { a }
edge from parent node [above left] { 0 }
}
child {
node [draw, circle] { \phantom{-} }
child {
node [draw, circle] { b }
edge from parent node [above left] { 10 }
}
child {
node [draw, circle] { c }
edge from parent node [above right] { 11 }
}
edge from parent node [above right] { 1 }
};
\end{tikzpicture}