Quantcast
Channel: Draw lines on top of tikz forest - TeX - LaTeX Stack Exchange
Browsing all 4 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by cfr for Draw lines on top of tikz forest

The answers posted so far do the job. However, they do not make full use of the way Forest works. Forest already knows how to walk a tree depth-first or breadth-first. Indeed, it knows several other...

View Article



Image may be NSFW.
Clik here to view.

Answer by gernot for Draw lines on top of tikz forest

You can name the nodes of the tree and then use the names in \draw commands, like this.\documentclass[border=10pt]{standalone}\usepackage{forest}\begin{document}\begin{forest}for...

View Article

Image may be NSFW.
Clik here to view.

Answer by Salim Bou for Draw lines on top of tikz forest

You can refer to forest node with (!r) for root and (!1),(!2) for nodes in level 1 with anticlockwise direction. For level 2 you can refer to nodes with (!11), (!12), and so on.Here an attempt with...

View Article

Draw lines on top of tikz forest

I am trying to illustrate DFS with tikz like http://www.cse.unsw.edu.au/~billw/Justsearch1.gif does.I have come up...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images