Drawing Trees in MLj

Drawing Trees in MLJ


The article

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.

The applet

Click on the tree to generate a new one.

Applet should appear here but you don't have Java enabled in your browser.


MLj home Comments to: mlj@dcs.ed.ac.uk