I want as in the picture
Asked
Active
Viewed 2,353 times
-1
cfr
- 198,882
1 Answers
1
minimal effort question ⇒ minimal effort answer
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{graphs,graphdrawing}
\usegdlibrary{trees}
\begin{document}
\begin{tikzpicture}
\graph[tree layout,grow=right,fresh nodes] {
"" -- {
"1" -- {
"3 (1,3)",
"5 (1,5)"
},
"2" -- {
"3 (2,3)",
"5 (2,5)"
},
"4" -- {
"3 (4,3)",
"5 (4,5)"
}
}
};
\end{tikzpicture}
\end{document}
Henri Menke
- 109,596


treeslibrary.tikz-qtreeorforestare TikZ-based tree-drawing packages. Or the pstricks stuff. Most of this is in the tags you added, so you seem to know where to start. Why did you addsticky-labelsandticks, though? – cfr Jun 05 '17 at 23:51