@ersei Re: trees, there's the gviz and diagraph packages that let you draw graphs in general with the DOT language that graphviz uses. I made gviz, but it uses a different (and worse) backend than diagraph, so I'd recommend diagraph for now (eventually gonna rewrite the whole thing, so hopefully it'll eventually be better).