In class exercise - Drawing Trees with Graphviz

In this exercise we will draw trees using the Graphviz tool "dot".

To get started do the following


module UsingDot where

import Graphviz

data Tree a = ...

tree1:: Tree ?
tree1 = ...

tree2:: Tree ?
tree2 = ...

tree3:: Tree ?
tree3 = ...

main = toPng tree1


Back to the Daily Record.

Back to the class web-page.