- Ge the string representation of the BDD using
bddToString
method and save it to a file. - Run
bal run -- <file with string repr>
to generate the code for graphviz. - You can either pipe the output to a local installation of graphviz or pass use an online graph generator such as this