Path: blob/main/paper/figures/RFF.tex
1017 views
%author : berenice delcroix-oger1%colors of rainbow trees2\documentclass[border=2pt]{standalone}3\usepackage{tikz}4\usetikzlibrary{positioning, fit, shapes, arrows, calc}56\pgfdeclarelayer{bg} % declare background layer7\pgfsetlayers{bg,main} % set the order of the layers (main is the standard layer)89\newcommand{\coula}{0785F2}10\newcommand{\coulb}{F29F05}11\newcommand{\coulc}{F21313}12\newcommand{\could}{E6F21F}13141516\definecolor{bleu}{HTML}{0000FF}17\definecolor{vert}{HTML}{39B44B}18\definecolor{rouge}{HTML}{FF0000}19202122\definecolor{part1}{HTML}{\coula}23\definecolor{part2}{HTML}{\coulb}24\definecolor{part3}{HTML}{\coulc}25\definecolor{part4}{HTML}{\could}2627\begin{document}28\begin{tikzpicture}[grow=up, inner sep=1pt, outer sep=0pt, level distance=1cm, sibling distance=15pt]29\node[draw, circle] {$1$}30child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$5$}31child{node[circle, fill=bleu, fill opacity=0.4, text opacity=1] {$3$}}32child{node[circle, fill=vert, fill opacity=0.4, text opacity=1] {$4$}}33};34\end{tikzpicture}35\begin{tikzpicture}[grow=up, inner sep=1pt, level distance=1cm, sibling distance=15pt, outer sep=0pt]36\node[draw, circle] {$2$}37child[thick]{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$6$}38child{node[circle, fill=vert, fill opacity=0.4, text opacity=1] {$9$}}39child{node[circle, fill=vert, fill opacity=0.4, text opacity=1] {$8$}}40child{node[circle, fill=rouge, fill opacity=0.4, text opacity=1] {$7$}}41}42child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$10$}}43;44\end{tikzpicture}4546\end{document}474849