A long time ago I had a need for this too, so I just made one for me: https://github.com/Metaxal/bazaar/blob/master/slideshow/slideshow-tree.rkt
The behaviour is a bit different from pict/tree-layout. There's an example usage in the drracket submodule at the end of the file that produces: [image: Screenshot from 2019-02-27 13-39-22.png] On Tue, Feb 26, 2019 at 11:41 PM 'John Clements' via Racket Users < [email protected]> wrote: > I wanted to format binary search trees for a data structures exam. I spent > literally hours trawling through old source code to see how I’d done it > before… graphviz? tikzpicture? … before giving up and doing what I should > have done in the first place, looking in the racket docs. Tree-layout does > exactly what I want, renders to .pdf, and I’m done. > > My major mistake: looking elsewhere! > > John > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

