I want to draw tree diagram with Asymptote. But have some problems.
I searched and found 2 hints on the web. http://asymptote.sourceforge.net/FAQ/section4.html http://asymptote.sourceforge.net/doc/Frames-and-pictures.html
Using theese tips, and tried to box and trees.
settings.outformat="pdf";
unitsize(5cm);
usepackage(amsmath);
frame f1;
label(f1, "$\mathbb{N} \models A(0)$", Draw);
add(f1, (0, 5))
frame f2;
label(f2, "$\mathbb{N} \models A(1)$", Draw);
add(f2, (0, 4));
draw(f1 -- f2);
But this doesn't work. Last draw(f1 -- f2); command is wrong.
draw commands need coordinate. But this method is... not smart (for me).
I want to connect 2 boxes. How Can I connect 2 objects?
I found drawtree module in the official tutorials PDF, but it looks difficult to use flexibly(is tree's shape changeable?).
If there is a way of easily using drawtree module, would you tell that?
Thanks.