Drawing Trees in MLj
Drawing Trees in MLJ
This example program generates a random tree and lays it out automatically.
It is based on the following article:
Functional Pearls: Drawing Trees.
Andrew J. Kennedy.
Journal of Functional Programming, 6(3): 527-534,
Cambridge University Press, May 1996.
You can download the article in ps format.
Click on the tree to generate a new one.