Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
GuillaumeLaplante-Anfossi
GitHub Repository: GuillaumeLaplante-Anfossi/Poissons
Path: blob/main/paper/figures/713.tex
1017 views
1
\documentclass{standalone}
2
\usepackage{tikz}
3
\usetikzlibrary{positioning, fit, shapes, arrows}
4
5
6
7
\pgfdeclarelayer{bg} % declare background layer
8
\pgfsetlayers{bg,main} % set the order of the layers (main is the standard layer)
9
10
\input{hedge.tex}
11
12
\begin{document}
13
\begin{tikzpicture}[every node/.style={draw, circle, inner sep=1pt}, grow=up]
14
\node(0) {0}
15
child{node(1){1}}
16
child{node(2){2}
17
child{node(3){3}
18
child{node(4){4}}
19
}}
20
child{node(5){5}};
21
% \begin{pgfonlayer}{bg} % select the background layer
22
\hedge[red]{0,2,1}{0.2cm}
23
\hedge[blue]{0,2,3,1}{0.3cm}
24
\hedge[green]{0,5,4,1}{0.4cm}
25
%\end{pgfonlayer}
26
\end{tikzpicture}
27
\end{document}
28
29